-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bench sound additions and adjustments
Adjusted all bench sound sound distance values Added missing sound code for: - Vehicle bench - Engine bench - Propeller bench - Wheel bench
- Loading branch information
1 parent
be2beba
commit d220760
Showing
10 changed files
with
406 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 96 additions & 7 deletions
103
mccore/src/main/resources/assets/mts/jsondefs/decors/enginebench.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,99 @@ | ||
{ | ||
"general": { | ||
"name": "Engine Bench", | ||
"materials": [], | ||
"width": 1.0, | ||
"height": 1.0, | ||
"depth": 1.0, | ||
"itemTypes": ["part"], "partTypes": ["engine_"] | ||
"decor": { | ||
"type": "generic", | ||
"width": 1.0, | ||
"height": 1.0, | ||
"depth": 1.0, | ||
"crafting": { | ||
"itemTypes": [ | ||
"part" | ||
], | ||
"partTypes": [ | ||
"engine_" | ||
] | ||
} | ||
}, | ||
"definitions": [ | ||
{ | ||
"subName": "", | ||
"name": "Engine Bench", | ||
"extraMaterialLists": [ | ||
[] | ||
] | ||
} | ||
], | ||
"rendering": { | ||
"lightObjects": [], | ||
"sounds": [ | ||
{ | ||
"name": "mts:bench/enginebench_open0", | ||
"soundVariations": [ | ||
"mts:bench/enginebench_open0", | ||
"mts:bench/enginebench_open1", | ||
"mts:bench/enginebench_open2" | ||
], | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_interacting", | ||
"clampMin": 1.0, | ||
"clampMax": 1.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 10.0, | ||
"maxDistanceVolume": 0.0 | ||
}, | ||
{ | ||
"name": "mts:bench/enginebench_craft0", | ||
"soundVariations": [ | ||
"mts:bench/enginebench_craft0", | ||
"mts:bench/enginebench_craft1", | ||
"mts:bench/enginebench_craft2" | ||
], | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_crafteditem", | ||
"clampMin": 1.0, | ||
"clampMax": 1.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 13.0, | ||
"maxDistanceVolume": 0.0 | ||
}, | ||
{ | ||
"name": "mts:bench/enginebench_close0", | ||
"soundVariations": [ | ||
"mts:bench/enginebench_close0", | ||
"mts:bench/enginebench_close1", | ||
"mts:bench/enginebench_close2" | ||
], | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_interacting", | ||
"clampMin": 0.0, | ||
"clampMax": 0.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 10.0, | ||
"maxDistanceVolume": 0.0 | ||
} | ||
], | ||
"modelType": "obj" | ||
}, | ||
"general": { | ||
"name": "Engine Bench", | ||
"materialLists": [ | ||
[] | ||
], | ||
"radarWidth": 0.0, | ||
"radarRange": 0.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 104 additions & 8 deletions
112
mccore/src/main/resources/assets/mts/jsondefs/decors/propellerbench.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,107 @@ | ||
{ | ||
"general": { | ||
"name": "Propeller Bench", | ||
"materials": [], | ||
"width": 1.0, | ||
"height": 1.0, | ||
"depth": 1.0, | ||
"itemTypes": ["part"], | ||
"partTypes": ["propeller"] | ||
"decor": { | ||
"type": "generic", | ||
"width": 1.0, | ||
"height": 1.0, | ||
"depth": 1.0, | ||
"crafting": { | ||
"itemTypes": [ | ||
"part" | ||
], | ||
"partTypes": [ | ||
"propeller" | ||
] | ||
} | ||
}, | ||
"definitions": [ | ||
{ | ||
"subName": "", | ||
"name": "Propeller Bench", | ||
"extraMaterialLists": [ | ||
[] | ||
] | ||
} | ||
], | ||
"rendering": { | ||
"lightObjects": [], | ||
"sounds": [ | ||
{ | ||
"name": "mts:bench/propellerbench_start", | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_interacting", | ||
"clampMin": 1.0, | ||
"clampMax": 1.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 15.0, | ||
"maxDistanceVolume": 0.0 | ||
}, | ||
{ | ||
"name": "mts:bench/propellerbench_loop", | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_interacting", | ||
"forwardsDelay": 15, | ||
"reverseDelay": 15, | ||
"clampMin": 1.0, | ||
"clampMax": 1.0 | ||
} | ||
], | ||
"looping": true, | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 0.8, | ||
"maxDistance": 20.0, | ||
"maxDistanceVolume": 0.0 | ||
}, | ||
{ | ||
"name": "mts:bench/propellerbench_craft0", | ||
"soundVariations": [ | ||
"mts:bench/propellerbench_craft0", | ||
"mts:bench/propellerbench_craft1", | ||
"mts:bench/propellerbench_craft2" | ||
], | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_crafteditem", | ||
"clampMin": 1.0, | ||
"clampMax": 1.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 20.0, | ||
"maxDistanceVolume": 0.0 | ||
}, | ||
{ | ||
"name": "mts:bench/propellerbench_stop", | ||
"activeAnimations": [ | ||
{ | ||
"animationType": "visibility", | ||
"variable": "player_interacting", | ||
"clampMin": 0.0, | ||
"clampMax": 0.0 | ||
} | ||
], | ||
"minDistance": 0.0, | ||
"minDistanceVolume": 1.0, | ||
"maxDistance": 15.0, | ||
"maxDistanceVolume": 0.0 | ||
} | ||
], | ||
"modelType": "obj" | ||
}, | ||
"general": { | ||
"name": "Propeller Bench", | ||
"materialLists": [ | ||
[] | ||
], | ||
"radarWidth": 0.0, | ||
"radarRange": 0.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.