Play specific music during character selection

ryzomclassic-develop
kaetemi 5 years ago
parent 90e1297c1d
commit 3da77ce061

@ -1037,10 +1037,11 @@
<!-- Music playing -->
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="name=Character Creation Fyros.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="name=Character Creation Matis.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="name=Character Creation Trykers.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="name=Character Creation Zorai.ogg|async=1" />
<!-- Play character creation music -->
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="name=character creation fyros.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="name=character creation matis.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="name=character creation trykers.ogg|async=1" />
<action handler="play_music_outgame" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="name=character creation zorai.ogg|async=1" />
</proc>

@ -611,7 +611,8 @@
<!-- Continue or Restart Default Outgame Music
MUST PLAY IT NOT ASYNCLY, else it don't works well during loading
-->
<action handler="play_music_outgame" params="async=0" />
<!-- Play character selection music -->
<!-- <action handler="play_music_outgame" params="async=0" /> -->
</proc>
<proc id="proc_location_finish2">

@ -76,7 +76,8 @@
<!-- Continue or Restart Default Outgame Music
MUST PLAY IT NOT ASYNCLY, else it don't works well during loading
-->
<action handler="play_music_outgame" params="async=0" />
<!-- Play character selection music -->
<!-- <action handler="play_music_outgame" params="async=0" /> -->
</proc>
@ -187,6 +188,13 @@
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
value=switch(@0, 0, -153, -306, -459, -612)" />
<!-- Play character selection music -->
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),not(isCharSelSlotEmpty(@0)))" params="name=character creation fyros.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),not(isCharSelSlotEmpty(@0)))" params="name=character creation matis.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),not(isCharSelSlotEmpty(@0)))" params="name=character creation trykers.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),not(isCharSelSlotEmpty(@0)))" params="name=character creation zorai.ogg|async=1" />
<action handler="play_music_outgame" cond="isCharSelSlotEmpty(@0)" params="async=1" />
<action handler="proc" params="proc_charsel_infos2" />
</proc>

Loading…
Cancel
Save