-
Notifications
You must be signed in to change notification settings - Fork 3
Custom SFX and Victory song
To load custom SFX you need to add the tag in the archerData.xml:
<CustomSFX>
<Name></Name>
</CustomSFX> When you put this tag, Archer Loader will look for the sounds inside the SFX folder from your custom archer folder
ie: (CustomArchers\Madaline\SFX\_{action}.wav) PLEASE MIND THE UNDERLINE
Alternately you can also use
<CustomSFX></CustomSFX> When you put this tag with out the , Archer Loader will look for the sounds in the SFX folder using the Folder name as prefix.
So if your custom archer folder is named "Madeline", it will look for this path
(CustomArchers\Madaline\SFX\Alt\MADELINE_{action}.wav) PLEASE MIND THE UPPERCASE
ie, if the folder is called "Madeline" it will use "MADELINE" as prefix (yeah all caps) for looking the sounds. so the files need to be named "MADELINE_{action}.wav"
In case you want to use a different prefix, ie the case of "Badeline" alt you can use
<CustomSFX>
<Name>BADELINE</Name>
</CustomSFX> so archer loader will look for files be named "BADELINE_{action}.wav"
You can also put the files of the alt and secret archer in a inner folder inside SFX:
<CustomSFX>
<Name>Alt/BADELINE</Name>
</CustomSFX> it will look for the "Alt" folder inside SFX and the the files need to be named "BADELINE_{action}.wav"
(CustomArchers\Madaline\SFX\Alt\BADELINE_{action}.wav)
You don't have to set ALL the sounds for the custom. you can put a "Fallback" to use the sounds of another Archer. for instance: let say that you put only "MADALINE_READY_01.wav", "MADALINE_READY_02.wav" in the SFX folder and wants to use all the other sounds of Purple.
<CustomSFX>
<Fallback>PURPLE</Fallback>
</CustomSFX>This tag will do exactly that if you want to use an alternative archer sounds just add a "_ALT" in the end. ie:
<Fallback>PURPLE_ALT</Fallback>All the available SFX actions:
READY
DESELECT
AIM
AIM_CANCEL
AIM_DIR
ARROW_GRAB
ARROW_RECOVER
DIE
DIE_BOMB
DIE_ENV
DIE_LASER
DIE_STOMP
DUCK
FIRE_ARROW
GRAB
JUMP
LAND
NOFIRE
WALLSLIDE_LOOP
ARROW_STEAL
SLEEP_LOOP
REVIVE
And
VICTORY
(you don't need to add all those sounds, remember the )
READY expect to be Varied, this means, more than one sound ({PREFIX}_READY_01.wav, {PREFIX}_READY_02.wav)
in that format, _01, _02, _03...
DUCK and REVIVE seems to be able to Varied, but is not required. So you can make sounds like CYAN
ie. you can have only one DUCK sound {PREFIX}_DUCK.wav or many ({PREFIX}_DUCK_01.wav, {PREFIX}_DUCK_02.wav)
For the custom Victory song, you have to have the tag <CustomSFX></CustomSFX> and have a "{PREFIX}_VICTORY.wav" inside SFX. the value at <VictoryMusic> will be used as a Fallback in case the character doesn't have a custom Victory song.
ie <VictoryMusic>CYAN</VictoryMusic>, will play CYAN song in case the custom archers doesn't have Victory song ``