Change sounds?

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
El_Condoro
Posts: 597
Joined: Sat Aug 03, 2019 4:35 am

Change sounds?

Post by El_Condoro »

Is it possible to change the sounds of unit movement? #SOUND= can be used for scripts, the sound file .ogg is referenced but can unit movement sounds be changed? My mod does not have any vehicle movement, for example, can an orc horde sound be attached to the #UNIT_ID= of an orc horde?
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
BillRunacre
Posts: 6514
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Change sounds?

Post by BillRunacre »

Yes, it is, and the best place to start is on page 144 (154 of 216) of the Manual, with the section 3.3.2. Customize Your Campaign.

Customizing the sound is included on the following page.

Hopefully you can get it working ok, but if not then please let us know.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
El_Condoro
Posts: 597
Joined: Sat Aug 03, 2019 4:35 am

RE: Change sounds?

Post by El_Condoro »

Thanks for that, Bill. I'll have a play around and post any questions I have here. Cheers
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
El_Condoro
Posts: 597
Joined: Sat Aug 03, 2019 4:35 am

RE: Change sounds?

Post by El_Condoro »

As an example,

#UNIT_ID_26= Tanks in localization.txt uses tank_movement1.ogg from the Sound folder. Does it also use tank_movement2 for variation or is that assigned to heavy tanks?

In my mod, I am using ID_26 for mounted knights, so I assume I would create a tank_movement1.ogg of horses galloping (or whatever) and call it tank_movement1.ogg and put that in the custom campaign Sound folder. The connection between the new sound file and the UNIT_ID is made in the coding? Is that correct?
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
El_Condoro
Posts: 597
Joined: Sat Aug 03, 2019 4:35 am

RE: Change sounds?

Post by El_Condoro »

Unfortunately, unless I have got this wrong, my mod will need to be played without sound. There can be 3 or more UNIT_IDs that use the same ogg e.g. cavalry bde, div and corps use cavalry_movement#.ogg. If the mod has very different units occupying those UNIT_IDs with very different sounds, only one sound can be used. What I would need is to be able to specify a specific file, preferrably one that can use any name, with a UNIT_ID.
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
BillRunacre
Posts: 6514
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Change sounds?

Post by BillRunacre »

You're right, some sound files are used by more than one unit type so it might be better played without sound if it isn't possible to group them easily according to their associated sound files.

On the plus side it will save you some time in making the mod, which sounds rather intriguing.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Scenario Design and Modding”