Marching Music - use road order - allocating music to a specific army?
Marching Music - use road order - allocating music to a specific army?
Is it possible to allocate specific marching music (when the use road order is activated) to a specific army? If so what gui.csv entry needs to be amended?
Welcome some advice. B)
Welcome some advice. B)
- Little Powell
- Reactions:
- Posts: 4884
- Joined: Thu Sep 18, 2008 10:25 am
Re: Marching Music - use road order - allocating music to a specific army?
Unfortunately I don't think this is possible. The marching music is a unique section in the sfx.csv. Whenever any unit uses roads, it randomly chooses one of the marching music files to play/loop.
-
- Reactions:
- Posts: 2171
- Joined: Sat Dec 24, 2011 4:49 am
Re: Marching Music - use road order - allocating music to a specific army?
Crikey - I hope MTG sees this thread and comments since he has got this to work. It's in the 1.710 ver of the KS Nap mod but I don't know how he did it. It seems there is specific music for specific unit classes as the highlander units play bagpipes 

HITS & Couriers - a different and realistic way to play SoW MP.
- Little Powell
- Reactions:
- Posts: 4884
- Joined: Thu Sep 18, 2008 10:25 am
Re: Marching Music - use road order - allocating music to a specific army?
Well it'll be news to me. I'm by no means an expert on the Classes etc., but know a thing or two about how the sounds work. I'd be curious to check out that mod.
-
- Reactions:
- Posts: 1896
- Joined: Mon Apr 28, 2008 10:49 pm
Re: Marching Music - use road order - allocating music to a specific army?
All,
Yes, it can be done. Alesillo did it for his WSS Mod. The British, French/Bavarian and Imperial Infantry all have their own music, (ie: Drums), while on the march. I have added Drums to all the Allied Infantry, also. Here are the relevant files that were changed (in a Mod of the Mod, of course). Take a look.
Jack B)
Yes, it can be done. Alesillo did it for his WSS Mod. The British, French/Bavarian and Imperial Infantry all have their own music, (ie: Drums), while on the march. I have added Drums to all the Allied Infantry, also. Here are the relevant files that were changed (in a Mod of the Mod, of course). Take a look.
Jack B)
- Attachments
-
[The extension csv has been deactivated and can no longer be displayed.]
-
[The extension csv has been deactivated and can no longer be displayed.]
American by birth, Californian by geography, Southerner by the Grace of God.
"Molon Labe"
"Molon Labe"
Re: Marching Music - use road order - allocating music to a specific army?
All - thanks for the help but I'm still not sure I can do what I want.
I'll provide some more detail to try and clarify as I may be missing something.
Yep, I spotted that I can allocate a music file (for example FR_Inf_1 as per the sfx.csv Jack attached). This is triggered when a unit begins to walk (whether it uses roads or not). However, this seems to trigger every time a unit to which it is allocated moves. So if FR_Inf_1 is allocated to a uniform type, the sound repeats every time a sprite with that uniform type moves. I seem to end up with multiple loops of the same sound as I tend to use regts with mixed unis. Does that ring true?
I'm looking to allocate some Mexican marching music that will only trigger when a unit in a particular army is forced to use roads.
The forced use of roads seems to trigger randomly a set of marching music files (see the stock sfx.csv)
MARCH SOUNDS
SFX_March_1 Mm_NSDMarch1.wav 25 500 0 0 1
SFX_March_2 Mm_NSDMarch2.wav 25 500 0 0 1
SFX_March_3 Mm_NSDMarch3.wav 25 500 0 0 1
SFX_March_4 Mm_NSDMarch4.wav 25 500 0 0 1
SFX_March_5 Mm_NSDMarch5.wav 25 500 0 0 1
SFX_March_6 Mm_NSDMarch6.wav 25 500 0 0 1
SFX_March_7 Mm_NSDMarch7.wav 25 500 0 0 1
SFX_March_8 Mm_NSDMarch8.wav 25 500 0 0 1
If LP is right, these can't be allocated to an army of choice.
Happy to be proved wrong. B)
I'll provide some more detail to try and clarify as I may be missing something.

Yep, I spotted that I can allocate a music file (for example FR_Inf_1 as per the sfx.csv Jack attached). This is triggered when a unit begins to walk (whether it uses roads or not). However, this seems to trigger every time a unit to which it is allocated moves. So if FR_Inf_1 is allocated to a uniform type, the sound repeats every time a sprite with that uniform type moves. I seem to end up with multiple loops of the same sound as I tend to use regts with mixed unis. Does that ring true?
I'm looking to allocate some Mexican marching music that will only trigger when a unit in a particular army is forced to use roads.
The forced use of roads seems to trigger randomly a set of marching music files (see the stock sfx.csv)
MARCH SOUNDS
SFX_March_1 Mm_NSDMarch1.wav 25 500 0 0 1
SFX_March_2 Mm_NSDMarch2.wav 25 500 0 0 1
SFX_March_3 Mm_NSDMarch3.wav 25 500 0 0 1
SFX_March_4 Mm_NSDMarch4.wav 25 500 0 0 1
SFX_March_5 Mm_NSDMarch5.wav 25 500 0 0 1
SFX_March_6 Mm_NSDMarch6.wav 25 500 0 0 1
SFX_March_7 Mm_NSDMarch7.wav 25 500 0 0 1
SFX_March_8 Mm_NSDMarch8.wav 25 500 0 0 1
If LP is right, these can't be allocated to an army of choice.
Happy to be proved wrong. B)
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: Marching Music - use road order - allocating music to a specific army?
Put the sound names in unitglobals. Then an entire class, (regiment), regardless of uniform types will only use a particular sound. Of course the sound will play whenever the unit marches, not just on the roads.
I can make this march and I will make Georgia howl.
Re: Marching Music - use road order - allocating music to a specific army?
Thanks MtG and others
I've gone down the SR1 route. Regts are companies etc. I'll experiment to see what works best.
No worries.
Thanks for the advice.
Put the sound names in unitglobals. Then an entire class, (regiment), regardless of uniform types will only use a particular sound. Of course the sound will play whenever the unit marches, not just on the roads.
I've gone down the SR1 route. Regts are companies etc. I'll experiment to see what works best.
Yeah, I was hoping to separate them out.Of course the sound will play whenever the unit marches, not just on the roads.
No worries.
Thanks for the advice.
-
- Reactions:
- Posts: 569
- Joined: Mon Apr 11, 2011 9:23 pm
Re: Marching Music - use road order - allocating music to a specific army?
But in the stock game, the march music only plays when a unit is ordered to use roads. How can we change that tune to something else, please?Put the sound names in unitglobals. Then an entire class, (regiment), regardless of uniform types will only use a particular sound. Of course the sound will play whenever the unit marches, not just on the roads.
Martin
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: Marching Music - use road order - allocating music to a specific army?
Change the Mm_NSDMarchX.wav, (where X is 1 to 8), tunes in the \base\sounds folder to the music of your choice.
I can make this march and I will make Georgia howl.