mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-09 00:39:04 +00:00
1156 lines
No EOL
62 KiB
XML
1156 lines
No EOL
62 KiB
XML
<interface_config>
|
|
|
|
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
|
|
|
|
<variable entry="UI:TEMP:SPECIECLICKRACE" type="sint64" value="-1"/>
|
|
<variable entry="UI:TEMP:SPECIECLICKINFO" type="sint64" value="-1"/>
|
|
<variable entry="UI:TEMP:SPECIECLICKNEWRACE" type="sint64" value="-1"/>
|
|
<variable entry="UI:TEMP:SPECIECLICKNEWINFO" type="sint64" value="-1"/>
|
|
|
|
|
|
<proc id="specie_start">
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:logos_species:h|value=mul(256.0,div(getprop('ui:outgame:specie:h'),600.0))" />
|
|
|
|
<action handler="reset_pushed" params="dblink=ui:outgame:specie" />
|
|
<action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
|
|
<action handler="proc" params="proc_create_persos_specie" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=mul(100.0,div(getprop('ui:outgame:specie:w'),800.0))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=mul(300.0,div(getprop('ui:outgame:specie:w'),800.0))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=mul(500.0,div(getprop('ui:outgame:specie:w'),800.0))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=mul(700.0,div(getprop('ui:outgame:specie:w'),800.0))" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
|
|
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie.tga'" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:y|value=-104" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posx|value=0.0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posy|value=20.0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posz|value=2.2" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=0.0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgty|value=26.5" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtz|value=1.8" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=50.0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-2" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-2" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-1" />
|
|
<action handler="anim_start" params="anim=anim_specie_intro" />
|
|
</proc>
|
|
|
|
<proc id="specie_finish">
|
|
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
|
|
|
|
<action handler="proc" params="proc_specie_close_help2" />
|
|
|
|
<action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKRACE,-1)" params="anim=undisplay_infos" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:PEOPLE|dbsrc=UI:TEMP:SPECIECLICKRACE" />
|
|
<action handler="anim_start" params="anim=anim_specie_outro" />
|
|
</proc>
|
|
|
|
|
|
|
|
<proc id="proc_specie_big_buttons_on" >
|
|
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=1" />
|
|
</proc>
|
|
|
|
|
|
<!-- PROC CREATE PERSOS 3D SPECIE -->
|
|
|
|
<proc id="proc_create_persos_specie">
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:FY_MALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:FY_FEMALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:MA_MALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:MA_FEMALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:TR_MALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:TR_FEMALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:ZO_MALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
<action handler="proc" params="proc_random" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:ZO_FEMALE|dbsrc=UI:TEMP:RANDOM" />
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:PEOPLE|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:SEX|value=0" />
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium01.sitem','HEAD')" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATCOLOR|value=3" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:PEOPLE|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:SEX|value=1" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_long01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETCOLOR|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATCOLOR|value=4" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:PEOPLE|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:SEX|value=0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATCOLOR|value=2" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:PEOPLE|value=1" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:SEX|value=1" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_medium01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETCOLOR|value=7" />
|
|
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATCOLOR|value=3" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:PEOPLE|value=2" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:SEX|value=0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_medium01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATCOLOR|value=4" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:PEOPLE|value=2" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:SEX|value=1" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_long01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETCOLOR|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATCOLOR|value=2" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:PEOPLE|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:SEX|value=0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET1|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET2|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET3|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET4|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET5|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET6|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET7|value=rand(0,7)" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:TATTOO|value=rand(0,15)" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_shave01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATCOLOR|value=3" />
|
|
|
|
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:PEOPLE|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:SEX|value=1" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET1|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET2|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET3|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET4|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET5|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET6|value=rand(0,7)" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET7|value=rand(0,7)" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:TATTOO|value=rand(0,15)" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSMODEL|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_short01.sitem','HEAD')" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETCOLOR|value=3" />
|
|
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATCOLOR|value=4" />
|
|
|
|
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:fy_m:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:fy_f:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:ma_m:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:ma_f:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:tr_m:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:tr_f:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:zo_m:anim|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:zo_f:anim|value=0" />
|
|
|
|
</proc>
|
|
|
|
|
|
<proc id="proc_random">
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET1|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET2|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET3|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET4|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET5|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET6|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET7|value=0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:EYESCOLOR|value=rand(0,6)" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:HATCOLOR|value=rand(0,5)" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TATTOO|value=0" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:CHARACTERHEIGHT|value=rand(0,14)" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TORSOWIDTH|value=rand(4,10)" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:ARMSWIDTH|value=rand(4,10)" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:LEGSWIDTH|value=rand(4,10)" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONRIGHTHAND|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONLEFTHAND|value=0" />
|
|
</proc>
|
|
|
|
<!-- Warning people not active on server -->
|
|
<proc id="proc_warning_people">
|
|
<action handler="set" params="target_property=ui:outgame:warning_box:text:hardtext|value='uiWarningPeople'" />
|
|
<action handler="enter_modal" params="group=ui:outgame:warning_box" />
|
|
<action handler="set" params="target='ui:outgame:warning_box:x'|value=div(sub(getprop('ui:outgame:w'),getprop('ui:outgame:warning_box:w')),2)" />
|
|
<action handler="set" params="target='ui:outgame:warning_box:y'|value=div(sub(getprop('ui:outgame:h'),getprop('ui:outgame:warning_box:h')),2)" />
|
|
</proc>
|
|
|
|
<!-- PROC SELECT SPECIE -->
|
|
<proc id="proc_specie_click_race">
|
|
<action handler="play_sound" params="name=specie_but_click" />
|
|
<!-- if People NOT active on server -->
|
|
<action handler="proc" cond="not(isPeopleActive(@0))" params="proc_warning_people" />
|
|
<!-- if People active on server -->
|
|
<action handler="proc" params="proc_specie_click_race_bis|value=@0" />
|
|
</proc>
|
|
|
|
<!-- Ok People active on server -->
|
|
<proc id="proc_specie_click_race_bis">
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
|
|
<action handler="anim_start" params="anim=anim_specie_logo_fade_out" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_click_race2">
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=0" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
|
|
<!--
|
|
<action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,1)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
|
|
<action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
|
|
-->
|
|
|
|
<action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
|
|
|
|
<action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=display_infos" />
|
|
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,0)" params="specie_fyros_selected" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="specie_matis_selected" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="specie_tryker_selected" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="specie_zorai_selected" />
|
|
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=1" />
|
|
<!--
|
|
<action handler="set" params="target_property=ui:outgame:specie:options:culture:pushed|value=1" />
|
|
-->
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,0)" params="proc_specie_back_select_fy" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="proc_specie_back_select_ma" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="proc_specie_back_select_tr" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="proc_specie_back_select_zo" />
|
|
|
|
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
|
|
<action handler="anim_start" params="anim=anim_specie_logo_fade_in" />
|
|
</proc>
|
|
|
|
|
|
|
|
<proc id="specie_fyros_selected">
|
|
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=100" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultFy'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoFy'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_fy.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_fyros_culture.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-2.25" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
|
|
</proc>
|
|
|
|
|
|
<proc id="specie_matis_selected">
|
|
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=100" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultMa'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoMa'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_ma.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_matis_culture.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-0.75" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
|
|
</proc>
|
|
|
|
|
|
<proc id="specie_tryker_selected">
|
|
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=100" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultTr'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoTr'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_tr.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_tryker_culture.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=0.75" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
|
|
</proc>
|
|
|
|
|
|
<proc id="specie_zorai_selected">
|
|
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=100" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultZo'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoZo'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_zo.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_zorai_culture.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=2.25" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
|
|
</proc>
|
|
|
|
<!--
|
|
<proc id="proc_specie_click_race">
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
|
|
<action handler="anim_start" cond="and(ne(@UI:TEMP:SPECIECLICKRACE,-1),eq(@UI:TEMP:SPECIECLICKINFO,-1))" params="anim=anim_specie_logo_fade_out" />
|
|
<action handler="proc" cond="or(eq(@UI:TEMP:SPECIECLICKRACE,-1),ne(@UI:TEMP:SPECIECLICKINFO,-1))" params="proc_specie_click_race2" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_click_race2">
|
|
<action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKRACE,-1)" params="anim=display_infos" />
|
|
|
|
<action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,0),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_fyros_selected" />
|
|
<action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,1),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_matis_selected" />
|
|
<action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,2),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_tryker_selected" />
|
|
<action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,3),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_zorai_selected" />
|
|
|
|
<action handler="copy" cond="eq(@UI:TEMP:SPECIECLICKINFO,-1)" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
|
|
<action handler="anim_start" cond="and(ne(@UI:TEMP:SPECIECLICKRACE,-1),eq(@UI:TEMP:SPECIECLICKINFO,-1))" params="anim=anim_specie_logo_fade_in" />
|
|
|
|
<action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=anim_specie_back_fade_out" />
|
|
</proc>
|
|
-->
|
|
|
|
<!-- called at the end of the anim_specie_back_fade_out -->
|
|
|
|
<proc id="proc_specie_back_select" >
|
|
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKINFO|dbsrc=UI:TEMP:SPECIECLICKNEWINFO" />
|
|
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,0)" params="proc_specie_back_select_fy" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,1)" params="proc_specie_back_select_ma" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,2)" params="proc_specie_back_select_tr" />
|
|
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,3)" params="proc_specie_back_select_zo" />
|
|
<action handler="anim_start" params="anim=anim_specie_back_fade_in" />
|
|
</proc>
|
|
|
|
<!--
|
|
<proc id="proc_specie_back_select_fy" >
|
|
<! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_fyros_people.tga'" />- >
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_fyros_culture.tga'" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_fyros_eco_1.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_fyros_eco_2.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_fyros_eco_3.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_fyros_eco_4.tga'" />
|
|
</proc>
|
|
-->
|
|
<!--
|
|
<proc id="proc_specie_back_select_ma" >
|
|
<! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_matis_people.tga'" />- >
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_matis_culture.tga'" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_matis_eco_1.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_matis_eco_2.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_matis_eco_3.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_matis_eco_4.tga'" />
|
|
</proc>
|
|
-->
|
|
<!--
|
|
<proc id="proc_specie_back_select_tr" >
|
|
<! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_tryker_people.tga'" />- >
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_tryker_culture.tga'" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_tryker_eco_1.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_tryker_eco_2.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_tryker_eco_3.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_tryker_eco_4.tga'" />
|
|
</proc>
|
|
-->
|
|
<!--
|
|
<proc id="proc_specie_back_select_zo" >
|
|
<! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_zorai_people.tga'" />- >
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_zorai_culture.tga'" />
|
|
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_zorai_eco_1.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_zorai_eco_2.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_zorai_eco_3.tga'" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_zorai_eco_4.tga'" />
|
|
</proc>
|
|
-->
|
|
<!-- PROC INFOS KIND -->
|
|
|
|
<proc id="proc_specie_click_info" >
|
|
<action handler="play_sound" params="name=generic_bb_click" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWINFO|@0" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=-200" />
|
|
<action handler="anim_start" params="anim=anim_specie_back_fade_out" />
|
|
</proc>
|
|
|
|
<!-- restart anim of the background if we are in ecosystem mode (loop through 4 images) -->
|
|
<!--
|
|
<proc id="proc_restart_anim_bk_loop">
|
|
<action handler="anim_stop" params="anim=anim_bk_loop" />
|
|
<action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="anim=anim_bk_loop" />
|
|
</proc>
|
|
-->
|
|
|
|
<proc id="proc_specie_click_help">
|
|
<action handler="play_sound" params="name=generic_help_click" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=1" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_close_click_help">
|
|
<action handler="play_sound" params="name=generic_help_close_click" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_close_help2">
|
|
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
|
|
</proc>
|
|
|
|
|
|
<!-- BACK -->
|
|
<proc id="proc_specie_home_screen">
|
|
<action handler="play_sound" params="name=generic_home_click" />
|
|
<action handler="proc" params="proc_specie_prev_screen" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_back_screen">
|
|
<action handler="play_sound" params="name=generic_prev_click" />
|
|
<action handler="proc" params="proc_specie_prev_screen" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_prev_screen">
|
|
<action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_select" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
|
|
<action handler="anim_start" params="anim=undisplay_back" />
|
|
<action handler="proc" params="specie_finish" />
|
|
</proc>
|
|
|
|
<!-- NEXT -->
|
|
<proc id="proc_specie_next_screen">
|
|
<action handler="play_sound" params="name=generic_next_click" />
|
|
<action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_appear" />
|
|
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
|
|
<action handler="proc" params="specie_finish" />
|
|
</proc>
|
|
|
|
<!-- called when anim_specie_outro is finished -->
|
|
<proc id="proc_specie_when_outro_finished">
|
|
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:alpha|value=0" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-1" />
|
|
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
|
|
<action handler="anim_start" params="anim=anim_specie_outro2" />
|
|
</proc>
|
|
|
|
<proc id="proc_specie_when_outro_finished2">
|
|
<action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
|
|
</proc>
|
|
|
|
<proc id="proc_big_fyros">
|
|
<action handler="set" params="target_property=ui:outgame:specie:fyros:pushed|value=1" />
|
|
<action handler="proc" params="proc_specie_click_race|0" />
|
|
</proc>
|
|
|
|
<proc id="proc_big_matis">
|
|
<action handler="set" params="target_property=ui:outgame:specie:matis:pushed|value=1" />
|
|
<action handler="proc" params="proc_specie_click_race|1" />
|
|
</proc>
|
|
|
|
<proc id="proc_big_tryker">
|
|
<action handler="set" params="target_property=ui:outgame:specie:tryker:pushed|value=1" />
|
|
<action handler="proc" params="proc_specie_click_race|2" />
|
|
</proc>
|
|
|
|
<proc id="proc_big_zorai">
|
|
<action handler="set" params="target_property=ui:outgame:specie:zorai:pushed|value=1" />
|
|
<action handler="proc" params="proc_specie_click_race|3" />
|
|
</proc>
|
|
|
|
|
|
|
|
<!-- ***************** -->
|
|
<!-- * Select Specie * -->
|
|
<!-- ***************** -->
|
|
|
|
<group id="specie" w="800" h="600" posref="MM MM"
|
|
on_active="proc" on_active_params="specie_start">
|
|
|
|
|
|
<!-- BLACK BACK -->
|
|
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-3" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
|
|
|
|
|
|
<!-- SPECIE BACK -->
|
|
<view type="bitmap" id="specie_bg" render_layer="-2" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
|
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="bk_specie.tga" sizeref="wh" w="0" h="-112" scale="true" />
|
|
|
|
|
|
<!-- CULTURE -->
|
|
<group id="culture_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL" render_layer="0" active="false" >
|
|
|
|
<view type="bitmap" id="bk_culture" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
|
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_culture.tga" sizeref="wh" w="0" h="0" scale="true" />
|
|
|
|
</group>
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="culture_bg:active" />
|
|
|
|
|
|
<!-- ECOSYSTEM -->
|
|
<!--
|
|
<group id="ecosys_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL" render_layer="0"
|
|
on_active="anim_start" on_active_params="anim=anim_bk_loop"
|
|
on_deactive="anim_stop" on_deactive_params="anim=anim_bk_loop" active="false" >
|
|
|
|
<view type="bitmap" id="bk_spring" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
|
|
global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_1.tga" sizeref="wh" w="0" h="0" scale="true" />
|
|
|
|
<view type="bitmap" id="bk_summer" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
|
|
global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_2.tga" sizeref="wh" w="0" h="0" scale="true" />
|
|
|
|
<view type="bitmap" id="bk_fall" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
|
|
global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_3.tga" sizeref="wh" w="0" h="0" scale="true" />
|
|
|
|
<view type="bitmap" id="bk_winter" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
|
|
global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_4.tga" sizeref="wh" w="0" h="0" scale="true" />
|
|
|
|
</group>
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="ecosys_bg:active" />
|
|
-->
|
|
|
|
|
|
<!-- BIG BUTTONS -->
|
|
|
|
<ctrl type="button" id="fyros2" button_type="push_button" posref="TL TL" x="0" y="-32" sizeref="w4h" w="0" h="-112" scale="true"
|
|
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
onclick_l="proc" params_l="proc_big_fyros" />
|
|
|
|
<ctrl type="button" id="matis2" button_type="push_button" posparent="fyros2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true"
|
|
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
onclick_l="proc" params_l="proc_big_matis" />
|
|
|
|
<ctrl type="button" id="tryker2" button_type="push_button" posparent="matis2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true"
|
|
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
onclick_l="proc" params_l="proc_big_tryker" />
|
|
|
|
<ctrl type="button" id="zorai2" button_type="push_button" posparent="tryker2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true"
|
|
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
onclick_l="proc" params_l="proc_big_zorai" />
|
|
|
|
|
|
<!-- TITLE SPECIES -->
|
|
|
|
<view type="text" id="fy_txt" render_layer="0" posref="BL MM" x="100" y="104" hardtext="uiFyName" fontsize="26" color="255 255 255 255" active="false" />
|
|
<view type="text" id="ma_txt" render_layer="0" posref="BL MM" x="300" y="104" hardtext="uiMaName" fontsize="26" color="255 255 255 255" active="false" />
|
|
<view type="text" id="tr_txt" render_layer="0" posref="BL MM" x="500" y="104" hardtext="uiTrName" fontsize="26" color="255 255 255 255" active="false" />
|
|
<view type="text" id="zo_txt" render_layer="0" posref="BL MM" x="700" y="104" hardtext="uiZoName" fontsize="26" color="255 255 255 255" active="false" />
|
|
|
|
|
|
<!-- LOGOS -->
|
|
|
|
<view type="bitmap" id="logos_species" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="256"
|
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="logo_species.tga" active="false"
|
|
sizeref="w" w="0" h="256" scale="true" />
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,-1)" target="logos_species:active" />
|
|
|
|
<!-- vue 3D du perso -->
|
|
|
|
<scene3d id="char3d" x="0" y="-62" sizeref="wh" w="0" h="-112" posref="TL TL" curcam="cam" render_layer="-2"
|
|
user_interaction="false" rotz_factor="0.017"
|
|
roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
|
|
dist_factor="0.005" dist_limit_min="2.0" dist_limit_max="3.0"
|
|
ambient="0 0 0" sun_ambient="96 96 96" sun_diffuse="255 255 255" sun_specular="255 255 255" sun_direction="-1.0 1.0 -1.0" >
|
|
|
|
<character3d id="fy_m" dblink="UI:TEMP:FY_MALE" pos="-2.6 26.5 0.0" rot="0.0 0.0 45.0" />
|
|
<character3d id="fy_f" dblink="UI:TEMP:FY_FEMALE" pos="-2.0 26.5 0.1" rot="0.0 0.0 30.0" />
|
|
|
|
<character3d id="ma_m" dblink="UI:TEMP:MA_MALE" pos="-1.0 26.5 0.0" rot="0.0 0.0 15.0" />
|
|
<character3d id="ma_f" dblink="UI:TEMP:MA_FEMALE" pos="-0.4 26.5 0.1" rot="0.0 0.0 0.0" />
|
|
|
|
<character3d id="tr_m" dblink="UI:TEMP:TR_MALE" pos="0.5 26.5 0.0" rot="0.0 0.0 0.0" />
|
|
<character3d id="tr_f" dblink="UI:TEMP:TR_FEMALE" pos="1.1 26.5 0.1" rot="0.0 0.0 -15.0" />
|
|
|
|
<character3d id="zo_m" dblink="UI:TEMP:ZO_MALE" pos="2.0 26.5 0.0" rot="0.0 0.0 -30.0" />
|
|
<character3d id="zo_f" dblink="UI:TEMP:ZO_FEMALE" pos="2.6 26.5 0.1" rot="0.0 0.0 -45.0" />
|
|
|
|
<camera id="cam" fov="120" pos="0.0 -10.0 2.2" target="0.0 26.5 2.2" roll="0" />
|
|
|
|
</scene3d>
|
|
|
|
|
|
|
|
|
|
<!-- PEOPLE -->
|
|
<!-- <group id="people_bg" w="800" h="488" x="0" y="-32" posref="TL TL" active="false" >
|
|
|
|
<view type="bitmap" id="bk_people" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
|
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_people.tga" />
|
|
|
|
</group>
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,0)" target="people_bg:active" />
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!-- BLACK BACK -->
|
|
|
|
<view type="bitmap" id="over_black" render_layer="-2" posref="TL TL" x="0" y="-32" texture="blank.tga" color="0 0 0 0" scale="true" w="290" h="488" global_color="false" />
|
|
|
|
|
|
<!-- TEXTS CULTURE -->
|
|
<!--
|
|
<view type="text" id="fy_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiFyCulture" fontsize="14" color="255 255 255 255" active="false" />
|
|
<view type="text" id="ma_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiMaCulture" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<view type="text" id="tr_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiTrCulture" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<view type="text" id="zo_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiZoCulture" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,0),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="fy_culture_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,1),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="ma_culture_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,2),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="tr_culture_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,3),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="zo_culture_txt:active" />
|
|
-->
|
|
<!-- TEXTS ECOSYSTEMS -->
|
|
<!--
|
|
<view type="text" id="fy_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiFyEco" fontsize="14" color="255 255 255 255" active="false" />
|
|
<view type="text" id="ma_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiMaEco" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<view type="text" id="tr_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiTrEco" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<view type="text" id="zo_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiZoEco" fontsize="14" color="255 255 255 255" active="false"/>
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,0),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="fy_eco_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,1),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="ma_eco_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,2),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="tr_eco_txt:active" />
|
|
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,3),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="zo_eco_txt:active" />
|
|
-->
|
|
|
|
<!-- TEXTS CULTURE -->
|
|
<group type="scroll_text" id="txt_culture" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true" >
|
|
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
|
|
<view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
|
|
|
|
<group type="list" id="text_list" hardtext="uiCultFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3"
|
|
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
|
|
</group>
|
|
<view type="bitmap" id="cult_line" posparent="txt_culture" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="txt_culture:active" />
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="cult_line:active" />
|
|
|
|
<!-- TEXTS ECOSYSTEM -->
|
|
<group type="scroll_text" id="txt_ecosystem" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true" >
|
|
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
|
|
<view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
|
|
<group type="list" id="text_list" hardtext="uiEcoFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3"
|
|
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
|
|
</group>
|
|
<view type="bitmap" id="eco_line" posparent="txt_ecosystem" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="txt_ecosystem:active" />
|
|
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="eco_line:active" />
|
|
|
|
|
|
<!-- BLACK BOX (sert a faire les transition...) -->
|
|
<view type="bitmap" id="blackbox" posref="TR TR" x="0" y="-32" render_layer="1" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 0" scale="true" global_color="false" />
|
|
|
|
|
|
<!-- Title -->
|
|
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiSelCiv" fontsize="20"/>
|
|
|
|
|
|
|
|
<!-- TIMELINE -->
|
|
<group id="timeline" sizeref="w" w="-16" h="32" posref="BL BL" x="8" y="16" >
|
|
<view type="bitmap" id="b1" posref="TL TL" x="364" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b2" posparent="b1" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b3" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b4" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b5" posparent="b1" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b6" posparent="b5" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="b7" posparent="b6" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
|
|
<view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
|
|
<view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
|
|
<view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="132" h="4" global_color="false" />
|
|
<view type="bitmap" id="line" posref="MR MR" x="-64" y="0" texture="time_line.tga" scale="true" sizeref="w" w="-652" h="4" global_color="false" />
|
|
</group>
|
|
|
|
|
|
<!-- Buttons species -->
|
|
<ctrl type="button" button_type="radio_button" id="fyros" posref="BL MM" x="232" y="32"
|
|
tx_normal="logo_fy.tga" tx_over="button_blank_over.tga" tx_pushed="logo_fy_pushed.tga"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|0" tooltip="uiFyName"/>
|
|
|
|
<ctrl type="button" button_type="radio_button" id="matis" posref="BL MM" x="288" y="32"
|
|
tx_normal="logo_ma.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ma_pushed.tga"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|1" tooltip="uiMaName"/>
|
|
|
|
<ctrl type="button" button_type="radio_button" id="tryker" posref="BL MM" x="344" y="32"
|
|
tx_normal="logo_tr.tga" tx_over="button_blank_over.tga" tx_pushed="logo_tr_pushed.tga"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|2" tooltip="uiTrName"/>
|
|
|
|
<ctrl type="button" button_type="radio_button" id="zorai" posref="BL MM" x="400" y="32"
|
|
tx_normal="logo_zo.tga" tx_over="button_blank_over.tga" tx_pushed="logo_zo_pushed.tga"
|
|
onover="play_sound" params_over="name=specie_but_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|3" tooltip="uiZoName"/>
|
|
|
|
|
|
<!-- Home & Help -->
|
|
<!-- Removed for Beta 1
|
|
<ctrl type="button" id="help" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
|
tx_normal="button_help.tga" tx_pushed="button_help.tga" tx_over="button_help_over.tga"
|
|
onover="play_sound" params_over="name=generic_help_over"
|
|
onclick_l="launch_help" params_l="url=help_outgame.html" tooltip="uiHelp" />
|
|
-->
|
|
|
|
<ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
|
tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga"
|
|
onover="play_sound" params_over="name=generic_home_over"
|
|
onclick_l="proc" params_l="proc_specie_home_screen" tooltip="uiReturnCharSel" />
|
|
|
|
<!-- BORDERS -->
|
|
<view type="bitmap" id="top_line" posref="TL TL" posparent="bg" x="0" y="1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
|
|
<view type="bitmap" id="bot_line" posref="BL BL" posparent="bg" x="0" y="-1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
|
|
<view type="bitmap" id="vertical_line" posref="TL TL" x="-1" y="-32" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="-112" global_color="false" />
|
|
|
|
|
|
<!-- Buttons timeline -->
|
|
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
|
|
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga"
|
|
onover="play_sound" params_over="name=generic_prev_over"
|
|
onclick_l="proc" params_l="proc_specie_back_screen" tooltip="uiPrevStep"/>
|
|
|
|
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
|
|
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga"
|
|
onover="play_sound" params_over="name=generic_next_over"
|
|
onclick_l="proc" params_l="proc_specie_next_screen" tooltip="uiNextStep"/>
|
|
<link expr="ne(@UI:TEMP:SPECIECLICKRACE,-1)" target="next:active" />
|
|
|
|
|
|
<group id="options" posref="BL TL" x="800" y="96" w="800" h="40" render_layer="2" >
|
|
<!--
|
|
<ctrl type="button" id="culture" button_type="radio_button" posref="TL TL" x="224" render_layer="2"
|
|
tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
|
|
onover="play_sound" params_over="name=generic_bb_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_info|value=1" />
|
|
|
|
<ctrl type="button" id="ecosystem" button_type="radio_button" posref="TL TL" x="448" render_layer="2"
|
|
tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
|
|
onover="play_sound" params_over="name=generic_bb_over"
|
|
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_info|value=2" />
|
|
|
|
<view type="text" id="title1" posparent="culture" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiCulture" color="255 255 255 255" fontsize="12"/>
|
|
<view type="text" id="title2" posparent="ecosystem" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiEcosystem" color="255 255 255 255" fontsize="12"/>
|
|
-->
|
|
</group>
|
|
|
|
|
|
<!-- HELP -->
|
|
<group id="help_box" w="320" h="240" posref="MM MM" active="false" group_onclick_l="proc" group_params_l="proc_nothing" >
|
|
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
|
|
<instance template="window_border" id="bord" posref="MM MM" />
|
|
<view type="text" id="title_help" posref="TL TL" x="8" y="-8" hardtext="uiHelpTitle" fontsize="12" />
|
|
<ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8"
|
|
tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga"
|
|
onover="play_sound" params_over="name=generic_help_close_over"
|
|
onclick_l="proc" params_l="proc_specie_close_click_help" tooltip="uiClose" />
|
|
|
|
</group>
|
|
|
|
|
|
</group>
|
|
|
|
<link expr="eq(@UI:CURRENT_SCREEN, %screen_specie)" target="specie:active" />
|
|
|
|
|
|
|
|
<!-- ANIMATION -->
|
|
<!-- Intro -->
|
|
<anim id="anim_specie_intro" duration="3.0" on_finish="proc" on_finish_params="proc_specie_big_buttons_on" >
|
|
|
|
|
|
<track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true" >
|
|
<key time="0.1" value="0" />
|
|
<key time="0.35" value="sub(getprop('ui:outgame:specie:h'),112)" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true" >
|
|
<key time="0.1" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
|
|
<key time="0.35" value="-32" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:title:y">
|
|
<key time="0.0" value="20" />
|
|
<key time="1.0" value="-6" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:timeline:alpha">
|
|
<key time="0.0" value="0" />
|
|
<key time="1.0" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
|
|
<key time="0.5" value="0" />
|
|
<key time="1.5" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:specie_bg:alpha">
|
|
<key time="0.5" value="0" />
|
|
<key time="1.5" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:back:alpha">
|
|
<key time="1.5" value="0" />
|
|
<key time="2.5" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
|
|
<key time="2.0" value="0" />
|
|
<key time="2.5" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true" >
|
|
<key time="2.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
|
|
<key time="2.5" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:blackbox:alpha">
|
|
<key time="2.5" value="255" />
|
|
<key time="3.0" value="0" />
|
|
</track>
|
|
|
|
|
|
</anim>
|
|
|
|
|
|
<!-- intro : called when the people/culture/ecosys must arrive -->
|
|
<anim id="display_infos" duration="1.0" >
|
|
|
|
<track type="linear" target="specie:options:x">
|
|
<key time="0.0" value="800" />
|
|
<key time="1.0" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:next:alpha">
|
|
<key time="0.0" value="0" />
|
|
<key time="1.0" value="255" />
|
|
</track>
|
|
<!--
|
|
<track type="linear" target="specie:over_black:alpha">
|
|
<key time="0.5" value="0" />
|
|
<key time="1.0" value="128" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:vertical_line:x">
|
|
<key time="0.0" value="-1" />
|
|
<key time="0.5" value="290" />
|
|
</track>
|
|
-->
|
|
</anim>
|
|
|
|
|
|
<!-- outro : called when the people/culture/ecosys must leave -->
|
|
<anim id="undisplay_infos" duration="1.0" >
|
|
|
|
|
|
<track type="linear" target="specie:specie_bg:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="0.5" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:options:x" dynamic="true" >
|
|
<key time="0.0" value="0" />
|
|
<key time="1.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:back:alpha,specie:next:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="1.0" value="0" />
|
|
</track>
|
|
<!--
|
|
<track type="linear" target="specie:over_black:alpha">
|
|
<key time="0.0" value="128" />
|
|
<key time="0.5" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:vertical_line:x">
|
|
<key time="0.0" value="290" />
|
|
<key time="0.5" value="-1" />
|
|
</track>
|
|
-->
|
|
</anim>
|
|
|
|
<!-- Outro called when BACK or NEXT buttons pressed -->
|
|
<anim id="anim_specie_outro" duration="2.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished" >
|
|
|
|
|
|
<track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="1.0" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:title:y">
|
|
<key time="1.0" value="-6" />
|
|
<key time="2.0" value="20" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:timeline:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="1.5" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true" >
|
|
<key time="1.5" value="0" />
|
|
<key time="1.8" value="sub(0,getprop('ui:outgame:specie:w'))" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
|
|
<key time="1.5" value="255" />
|
|
<key time="1.8" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:blackbox:alpha">
|
|
<key time="0.0" value="0" />
|
|
<key time="0.5" value="255" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
<anim id="anim_specie_outro2" duration="0.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished2" >
|
|
|
|
<track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true" >
|
|
<key time="0.0" value="sub(getprop('ui:outgame:specie:h'),112)" />
|
|
<key time="0.35" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true" >
|
|
<key time="0.0" value="-32" />
|
|
<key time="0.35" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
<!-- global ecosystem background loop -->
|
|
<!--
|
|
<anim id="anim_bk_loop" duration="8.0" disable_buttons="false"
|
|
on_finish="proc" on_finish_params="proc_restart_anim_bk_loop" >
|
|
<track type="linear" target="specie:ecosys_bg:bk_spring:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="1.0" value="255" />
|
|
<key time="2.0" value="0" />
|
|
<key time="7.0" value="0" />
|
|
<key time="8.0" value="255" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:ecosys_bg:bk_summer:alpha">
|
|
<key time="1.0" value="0" />
|
|
<key time="2.0" value="255" />
|
|
<key time="3.0" value="255" />
|
|
<key time="4.0" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:ecosys_bg:bk_fall:alpha">
|
|
<key time="3.0" value="0" />
|
|
<key time="4.0" value="255" />
|
|
<key time="5.0" value="255" />
|
|
<key time="6.0" value="0" />
|
|
</track>
|
|
|
|
<track type="linear" target="specie:ecosys_bg:bk_winter:alpha">
|
|
<key time="5.0" value="0" />
|
|
<key time="6.0" value="255" />
|
|
<key time="7.0" value="255" />
|
|
<key time="8.0" value="0" />
|
|
</track>
|
|
</anim>
|
|
-->
|
|
|
|
<!-- Background Fade -->
|
|
|
|
<anim id="anim_specie_back_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_back_select">
|
|
|
|
<track type="linear" target="specie:blackbox:alpha">
|
|
<key time="0.0" value="0" />
|
|
<key time="0.5" value="255" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
<anim id="anim_specie_back_fade_in" duration="0.5" >
|
|
|
|
<track type="linear" target="specie:blackbox:alpha" >
|
|
<key time="0.0" value="255" />
|
|
<key time="0.5" value="0" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
<!-- Logo Fade -->
|
|
|
|
<anim id="anim_specie_logo_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_click_race2" >
|
|
|
|
<track type="linear" target="specie:blackbox:alpha">
|
|
<key time="0.0" value="0" />
|
|
<key time="0.5" value="255" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
<anim id="anim_specie_logo_fade_in" duration="0.5" >
|
|
|
|
<track type="linear" target="specie:blackbox:alpha" >
|
|
<key time="0.0" value="255" />
|
|
<key time="0.5" value="0" />
|
|
</track>
|
|
|
|
</anim>
|
|
|
|
|
|
<anim id="undisplay_back" duration="0.5" >
|
|
<track type="linear" target="specie:back:alpha">
|
|
<key time="0.0" value="255" />
|
|
<key time="0.5" value="0" />
|
|
</track>
|
|
</anim>
|
|
|
|
</interface_config> |