Page 1 of 2

Marching Music - use road order - allocating music to a specific army?

Posted: Tue Jan 13, 2015 9:04 pm
by Crikey
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)

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Tue Jan 13, 2015 9:15 pm
by Little Powell
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.

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Tue Jan 13, 2015 10:42 pm
by Saddletank
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 ;)

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Tue Jan 13, 2015 10:48 pm
by Little Powell
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.

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Tue Jan 13, 2015 11:19 pm
by Jack ONeill
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)
The attachment unitglobal_2015-01-13.csv is no longer available
The attachment sfx.csv is no longer available

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Wed Jan 14, 2015 12:04 am
by Crikey
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)

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Wed Jan 14, 2015 12:15 am
by Marching Thru Georgia
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.

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Wed Jan 14, 2015 12:42 am
by Crikey
Thanks MtG and others
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.
Of course the sound will play whenever the unit marches, not just on the roads.
Yeah, I was hoping to separate them out.

No worries.

Thanks for the advice.

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Wed Jan 14, 2015 4:19 am
by Martin James
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.
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?

Martin

Re: Marching Music - use road order - allocating music to a specific army?

Posted: Wed Jan 14, 2015 5:17 am
by Marching Thru Georgia
Change the Mm_NSDMarchX.wav, (where X is 1 to 8), tunes in the \base\sounds folder to the music of your choice.