How do I add custom sound to a mount?

Users who are viewing this thread

Hello M&B players recently I am trying to make my own mod...

I added some Elephants in my mod as a mount and I used horse animation and sound for it... but I want to change its sound and animation if it is possible...

Have anyone know how to do that?
 
Sounds
You need to replace the default sounds with silence, then write a custom mission trigger that plays the "correct" sound for each horse agent based on what item the horse actually is.

You can also add the flag itp_disable_agent_sounds to the non-horses, so that you need the custom sound only for those ones.

At TLD they have different sounds, custom_warg_sounds is the mission template you need to look for here: https://github.com/tldmod/tldmod/blob/master/ModuleSystem/module_mission_templates_TLD.py Not sure about the place at module_sounds.py at which you need to look at but now you have already a good start to find the rest.

Animations
You can't have a new set of animations for them. All mounts are using the same animations.
 
Upvote 0
Sounds
You need to replace the default sounds with silence, then write a custom mission trigger that plays the "correct" sound for each horse agent based on what item the horse actually is.

You can also add the flag itp_disable_agent_sounds to the non-horses, so that you need the custom sound only for those ones.

At TLD they have different sounds, custom_warg_sounds is the mission template you need to look for here: https://github.com/tldmod/tldmod/blob/master/ModuleSystem/module_mission_templates_TLD.py Not sure about the place at module_sounds.py at which you need to look at but now you have already a good start to find the rest.

Animations
You can't have a new set of animations for them. All mounts are using the same animations.
Ohhh! Thank you. I feel like finally found a door to get it lol.
 
Upvote 0
Upvote 0
Back
Top Bottom