OpenXcom Forum
Modding => Help => Topic started by: Wolfstarr on November 24, 2018, 04:39:17 am
-
Hello everyone,
Was wondering if it is possible to assign different move sounds to a unit in OXCE which can change depending on if it is floating or whether it is walking? E.g. if a unit used a jet pack for example you wouldn’t want the normal walking sound to play.
If not is this something I could request somewhere?
Thanks in advance! :)
SQ
-
It's already in the base game. I can't find where in the ruleset the movement sounds are declared, however.
-
I’m sure it was too reaver but I’m stumped :(
Thought there was a floatSound tag or something in the ruleset but can’t see anything obvious.
I have a cool unit I want to showcase later hopefully if I can sort this issue out.
-
In OXC, the footstep sounds are defined on the map tiles.
The flying sound is a global parameter "flyingSound"... see for example vars.rul in TFTD
There's also "moveSound" on unit level.
In OXCE, there is an additional parameter "moveSound" on armor level: https://openxcom.org/forum/index.php/topic,4187.msg75980.html#msg75980
-
Thanks All :)
You may have seen what I’m trying to achieve on the WIP thread, I have a HWP robot that changes into a plane when it is flying so want a servo sound to play when walking and a jet style sound to play when airborne. I tried using flyingSound in vars.rul but doesn’t seem to be working :S
Is there a way to run a unit script or something for the actual unit to change the sound?
-
Perhaps there should be an attribute called "flySound" for unit or armor.
-
That would be ideal reaver! :)