khanat-code-old/code/ryzom/client/data/gamedev/interfaces_v3/outgame_career.xml
2017-03-15 17:43:49 +02:00

1813 lines
No EOL
103 KiB
XML

<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:CAREERCLICKJOB" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CAREERCLICKINFO" type="sint64" value="-1"/>
<variable entry="UI:TEMP:POINTS" type="sint64" value="0" />
<variable entry="UI:TEMP:CAREERBACKHOME" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:HPMAX" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:HPREG" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STAMAX" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STAREG" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:SAPMAX" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:SAPREG" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:WISHMAX" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:WISHREG" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CHAR3D:CAREER" type="sint64" value="0"/>
<!-- CARACS PART -->
<!-- BASE CARACS PART -->
<proc id="proc_set_base_caracs_fy">
<action handler="set" params="dblink=UI:TEMP:CARACS:HPMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:HPREG|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAREG|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPREG|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHMAX|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHREG|value=30" />
</proc>
<proc id="proc_set_base_caracs_ma">
<action handler="set" params="dblink=UI:TEMP:CARACS:HPMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:HPREG|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAREG|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPMAX|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPREG|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHMAX|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHREG|value=30" />
</proc>
<proc id="proc_set_base_caracs_tr">
<action handler="set" params="dblink=UI:TEMP:CARACS:HPMAX|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:HPREG|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAMAX|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAREG|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPREG|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHREG|value=35" />
</proc>
<proc id="proc_set_base_caracs_zo">
<action handler="set" params="dblink=UI:TEMP:CARACS:HPMAX|value=20" />
<action handler="set" params="dblink=UI:TEMP:CARACS:HPREG|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:STAREG|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:SAPREG|value=35" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHMAX|value=30" />
<action handler="set" params="dblink=UI:TEMP:CARACS:WISHREG|value=30" />
</proc>
<!-- ADD CARACS PART -->
<proc id="proc_set_add_caracs_fy">
<!--Fighter-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Magician-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Craftsman-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
</proc>
<proc id="proc_set_add_caracs_ma">
<!--Fighter-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Magician-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Craftsman-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
</proc>
<proc id="proc_set_add_caracs_tr">
<!--Fighter-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Magician-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Craftsman-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
</proc>
<proc id="proc_set_add_caracs_zo">
<!--Fighter-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Magician-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
<!--Craftsman-->
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPMAX|value=add(@@UI:TEMP:CARACS:HPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:HPREG|value=add(@@UI:TEMP:CARACS:HPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAMAX|value=add(@@UI:TEMP:CARACS:STAMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:STAREG|value=add(@@UI:TEMP:CARACS:STAREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPMAX|value=add(@@UI:TEMP:CARACS:SAPMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:SAPREG|value=add(@@UI:TEMP:CARACS:SAPREG,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHMAX|value=add(@@UI:TEMP:CARACS:WISHMAX,5)" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="dblink=UI:TEMP:CARACS:WISHREG|value=add(@@UI:TEMP:CARACS:WISHREG,5)" />
</proc>
<!-- *********************** -->
<!-- *********************** -->
<!-- When career is launched -->
<!-- *********************** -->
<proc id="career_start">
<action handler="reset_pushed" params="dblink=ui:outgame:career" />
<action handler="reset_pushed" params="dblink=ui:outgame:career:options" />
<action handler="reset_camera" params="target=ui:outgame:career:char3d:cam" />
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:next:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:next:alpha|value=255" />
<action handler="set" params="target_property=ui:outgame:career:vertical_line:alpha|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKJOB|value=-2" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKJOB|value=-1" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=-1" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERBACKHOME|value=-2" />
<action handler="set" params="dblink=UI:TEMP:CAREERBACKHOME|value=-1" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="proc_set_base_caracs_fy" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="proc_set_base_caracs_ma" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="proc_set_base_caracs_tr" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="proc_set_base_caracs_zo" />
<action handler="set" params="target_property=ui:outgame:career:all3d:w|value=800" />
<action handler="set" params="target_property=ui:outgame:career:all3d:x|value=0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:posy|value=-8.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:posz|value=1.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:tgty|value=0.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:tgtz|value=0.15" />
<action handler="set" params="target_property=ui:outgame:career:all3d:cam:fov|value=40.0" />
<action handler="set" params="target_property=ui:outgame:career:all3d:char_f:anim|value=12" />
<action handler="set" params="target_property=ui:outgame:career:all3d:char_m:anim|value=9" />
<action handler="set" params="target_property=ui:outgame:career:all3d:char_c:anim|value=5" />
<action handler="set" params="target_property=ui:outgame:career:all3d:fx1:started|value=1" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-3.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.4" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.15" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.1" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.3" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=17" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<!-- CREATION DES 3 PERSOS DE CARRIERES -->
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:career:all3d:fx1:posz|value=-0.7" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:career:all3d:fx1:posz|value=-0.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:career:all3d:fx1:posz|value=-0.8" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:career:all3d:fx1:posz|value=-0.2" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="proc_create_all_fy" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="proc_create_all_ma" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="proc_create_all_tr" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="proc_create_all_zo" />
<action handler="anim_start" params="anim=anim_career_intro" />
</proc>
<!-- When career is stopped -->
<!-- *********************** -->
<proc id="career_finish">
<action handler="set" params="target_property=ui:outgame:career:logo_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:logo_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:logo_c:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=0" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:CARACS|dbsrc=UI:TEMP:CARACS" />
<action handler="proc" params="convert_careerclickjob_to_char3dcareer" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3DFYROS:CAREER| dbsrc=UI:TEMP:CHAR3D:CAREER" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3DMATIS:CAREER| dbsrc=UI:TEMP:CHAR3D:CAREER" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3DTRYKER:CAREER| dbsrc=UI:TEMP:CHAR3D:CAREER" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3DZORAI:CAREER| dbsrc=UI:TEMP:CHAR3D:CAREER" />
<action handler="set" params="target_property=ui:outgame:career:all3d:fx1:started|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=0" />
<action handler="proc" params="proc_career_close_help2" />
<action handler="set" params="target_property=ui:outgame:career:more:active|value=0" />
<action handler="anim_start" cond="ne(@UI:TEMP:CAREERCLICKJOB,-1)" params="anim=undisplay_infos_career" />
</proc>
<!-- CREATION DE TOUS LES PERSOS -->
<proc id="proc_create_all_fy" >
<action handler="proc" params="proc_fy_f" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_F|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_fy_m" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_M|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_fy_c" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_C|dbsrc=UI:TEMP:CHAR3D" />
</proc>
<proc id="proc_create_all_ma" >
<action handler="proc" params="proc_ma_f" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_F|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_ma_m" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_M|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_ma_c" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_C|dbsrc=UI:TEMP:CHAR3D" />
</proc>
<proc id="proc_create_all_tr" >
<action handler="proc" params="proc_tr_f" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_F|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_tr_m" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_M|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_tr_c" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_C|dbsrc=UI:TEMP:CHAR3D" />
</proc>
<proc id="proc_create_all_zo" >
<action handler="proc" params="proc_zo_f" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_F|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_zo_m" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_M|dbsrc=UI:TEMP:CHAR3D" />
<action handler="proc" params="proc_zo_c" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D_C|dbsrc=UI:TEMP:CHAR3D" />
</proc>
<!-- Proc called when carreer not valid on server -->
<!--
<proc id="proc_warning_career">
<action handler="set" params="target_property=ui:outgame:warning_box:text:hardtext|value='uiWarningCareer'" />
<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 CAREER -->
<proc id="proc_choice_career">
<action handler="play_sound" params="name=career_but_click" />
<!--
<action handler="proc" cond="and(eq(@0,1),not(isCareerActive(getRoleId('MeleeFighter'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,2),not(isCareerActive(getRoleId('RangeFighter'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,3),not(isCareerActive(getRoleId('AttackCaster'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,4),not(isCareerActive(getRoleId('HealerCaster'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,5),not(isCareerActive(getRoleId('BufferCaster'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,6),not(isCareerActive(getRoleId('Harvester'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,7),not(isCareerActive(getRoleId('Faber'))))" params="proc_warning_career" />
<action handler="proc" cond="and(eq(@0,8),not(isCareerActive(getRoleId('Shopkeeper'))))" params="proc_warning_career" />
-->
<action handler="set" params="target_property=ui:outgame:career:next:active|value=1"/>
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,-1)" params="anim=display_infos_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKJOB|value=@0" />
<action handler="reset_pushed" params="dblink=ui:outgame:career:options" />
<action handler="set" params="target_property=ui:outgame:career:options:description:pushed|value=1" />
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=0" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="anim=intro_f_caracs" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="anim=intro_m_caracs" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="anim=intro_c_caracs" />
</proc>
<!-- PROC SELECT INFOS -->
<proc id="description_selected" >
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="anim=intro_f_description" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="anim=intro_m_description" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="anim=intro_c_description" />
</proc>
<proc id="caracs_selected" >
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="anim=intro_f_caracs" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="anim=intro_m_caracs" />
<action handler="anim_start" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="anim=intro_c_caracs" />
</proc>
<!-- PROC change CARAC -->
<proc id="proc_change_charac" >
<!--
<action handler="set" params="dblink=UI:TEMP:POINTS|value=20" />
<action handler="anim_start" params="anim=undisplay_next" />-->
<action handler="reset_camera" params="target=ui:outgame:career:char3d:cam" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-3.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:career:char3d:cam:posy|value=-4.4" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.15" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.1" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.3" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.15" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.2" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.1" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.3" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.10" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.15" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.05" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="target_property=ui:outgame:career:char3d:char:posz|value=-1.25" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colg|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colb|value=255" />
<action handler="set" params="target_property=ui:outgame:career:more:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=0" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="proc_fy_f" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="proc_fy_m" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="proc_fy_c" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="proc_ma_f" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="proc_ma_m" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="proc_ma_c" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="proc_tr_f" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="proc_tr_m" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="proc_tr_c" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="proc_zo_f" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="proc_zo_m" />
<action handler="proc" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="proc_zo_c" />
<action handler="set" params="target_property=ui:outgame:career:logo_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:logo_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:logo_c:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="target_property=ui:outgame:career:logo_f:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="target_property=ui:outgame:career:logo_m:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="target_property=ui:outgame:career:logo_c:active|value=1" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="proc_set_base_caracs_fy" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="proc_set_base_caracs_ma" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="proc_set_base_caracs_tr" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="proc_set_base_caracs_zo" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="proc_set_add_caracs_fy" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="proc_set_add_caracs_ma" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="proc_set_add_caracs_tr" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="proc_set_add_caracs_zo" />
<!--
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:STR|value=sub(@@UI:TEMP:CARACS:BASE:STR,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:CON|value=sub(@@UI:TEMP:CARACS:BASE:CON,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:AGI|value=sub(@@UI:TEMP:CARACS:BASE:AGI,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:WIL|value=sub(@@UI:TEMP:CARACS:BASE:WIL,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:WEL|value=sub(@@UI:TEMP:CARACS:BASE:WEL,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:INT|value=sub(@@UI:TEMP:CARACS:BASE:INT,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:CHA|value=sub(@@UI:TEMP:CARACS:BASE:CHA,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:EMP|value=sub(@@UI:TEMP:CARACS:BASE:EMP,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MIN:PER|value=sub(@@UI:TEMP:CARACS:BASE:PER,5)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:STR|value=add(@@UI:TEMP:CARACS:BASE:STR,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:CON|value=add(@@UI:TEMP:CARACS:BASE:CON,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:AGI|value=add(@@UI:TEMP:CARACS:BASE:AGI,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:WIL|value=add(@@UI:TEMP:CARACS:BASE:WIL,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:WEL|value=add(@@UI:TEMP:CARACS:BASE:WEL,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:INT|value=add(@@UI:TEMP:CARACS:BASE:INT,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:CHA|value=add(@@UI:TEMP:CARACS:BASE:CHA,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:EMP|value=add(@@UI:TEMP:CARACS:BASE:EMP,10)" />
<action handler="set" params="dblink=UI:TEMP:CARACS:MAX:PER|value=add(@@UI:TEMP:CARACS:BASE:PER,10)" />
-->
</proc>
<!-- PROC change BK -->
<proc id="proc_change_bk">
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,1)" params="target_property=ui:outgame:career:job_bg:bk_job:texture|value='bk_f.tga'" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,2)" params="target_property=ui:outgame:career:job_bg:bk_job:texture|value='bk_m.tga'" />
<action handler="set" cond="eq(@UI:TEMP:CAREERCLICKJOB,3)" params="target_property=ui:outgame:career:job_bg:bk_job:texture|value='bk_c.tga'" />
</proc>
<!-- PROC change CHAR3D -->
<!-- FYROS -->
<proc id="proc_fy_f" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('fyros_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('fyros_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('fyros_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('fyros_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('fyros_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fyros_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=getVSIndex('fyros_2h_sword.sitem','RIGHT_HAND')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=12" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<proc id="proc_fy_m" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=9"/>
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=1" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:posz|value=-0.3" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colg|value=64" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colb|value=0" />
</proc>
<proc id="proc_fy_c" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('fyros_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('fyros_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('fyros_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('fyros_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('fyros_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fyros_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=5" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<!-- MATIS -->
<proc id="proc_ma_f" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('matis_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('matis_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('matis_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('matis_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('matis_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('matis_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=getVSIndex('matis_2h_sword.sitem','RIGHT_HAND')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=12" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<proc id="proc_ma_m" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long01.sitem','HEAD')" /> />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=9" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=1" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:posz|value=-0.25" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colg|value=64" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colb|value=0" />
</proc>
<proc id="proc_ma_c" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('matis_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('matis_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('matis_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('matis_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('matis_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('matis_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=5" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<!-- TRYKER -->
<proc id="proc_tr_f" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('tryker_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('tryker_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('tryker_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('tryker_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('tryker_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tryker_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=getVSIndex('tryker_2h_sword.sitem','RIGHT_HAND')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=12" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<proc id="proc_tr_m" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_shave01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=9" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=1" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:posz|value=-0.40" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colg|value=64" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colb|value=0" />
</proc>
<proc id="proc_tr_c" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('tryker_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('tryker_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('tryker_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('tryker_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('tryker_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tryker_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=5" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<!-- ZORAI -->
<proc id="proc_zo_f" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('zorai_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('zorai_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('zorai_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('zorai_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('zorai_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zorai_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=getVSIndex('zorai_2h_sword.sitem','RIGHT_HAND')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=12" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<proc id="proc_zo_m" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_shave01.sitem','HEAD')"/>
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=9" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:started|value=1" />
<action handler="set" params="target_property=ui:outgame:career:char3d:fx1:posz|value=-0.25" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colg|value=64" />
<action handler="set" params="target_property=ui:outgame:career:char3d:lfx:colb|value=0" />
</proc>
<proc id="proc_zo_c" >
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=getVSIndex('zorai_heavy_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=getVSIndex('zorai_heavy_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=getVSIndex('zorai_heavy_gloves.sitem','HANDS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=getVSIndex('zorai_heavy_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=getVSIndex('zorai_heavy_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zorai_heavy_helmet.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:anim|value=5" />
<action handler="set" params="target_property=ui:outgame:career:char3d:char:rotz|value=30.0" />
</proc>
<!-- PROC DESCRIPTION -->
<proc id="proc_f_description">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=290" />
<action handler="proc" params="proc_change_bk" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=1" />
</proc>
<proc id="proc_m_description">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=290" />
<action handler="proc" params="proc_change_bk" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=1" />
</proc>
<proc id="proc_c_description">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=290" />
<action handler="proc" params="proc_change_bk" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=1" />
</proc>
<!-- PROC CARACS -->
<proc id="proc_f_caracs">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=800" />
<action handler="proc" params="proc_change_bk" />
<action handler="proc" params="proc_change_charac" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=2" />
</proc>
<proc id="proc_m_caracs">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=800" />
<action handler="proc" params="proc_change_bk" />
<action handler="proc" params="proc_change_charac" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=2" />
</proc>
<proc id="proc_c_caracs">
<action handler="set" params="target_property=ui:outgame:career:over_black:w|value=800" />
<action handler="proc" params="proc_change_bk" />
<action handler="proc" params="proc_change_charac" />
<action handler="anim_start" params="anim=end_fade_career" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=2" />
</proc>
<!-- BACK -->
<proc id="proc_choice_back_screen_career">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="proc" params="career_finish" />
<action handler="anim_start" params="anim=anim_career_back" />
<action handler="set" params="dblink=UI:TEMP:CAREERBACKHOME|value=0" />
</proc>
<!-- HOME -->
<proc id="proc_choice_home_screen_career">
<action handler="play_sound" params="name=generic_home_click" />
<action handler="proc" params="career_finish" />
<action handler="anim_start" params="anim=anim_career_back" />
<action handler="set" params="dblink=UI:TEMP:CAREERBACKHOME|value=1" />
</proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_career">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="proc" params="career_finish" />
<action handler="anim_start" params="anim=anim_career_outro" />
</proc>
<proc id="career_when_outro_finished">
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:career_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKJOB|value=-1" />
<action handler="anim_start" params="anim=anim_career_outro2" />
</proc>
<proc id="career_when_outro_finished2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_summary" />
</proc>
<proc id="career_when_back_finished">
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=0" />
<action handler="set" params="target_property=ui:outgame:career:career_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:CAREERCLICKJOB|value=-1" />
<action handler="anim_start" params="anim=anim_career_back2" />
</proc>
<proc id="career_when_back_finished2">
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:WEAPONLEFTHAND|value=0" />
<action handler="set" cond="eq(@UI:TEMP:CAREERBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
<action handler="set" cond="eq(@UI:TEMP:CAREERBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_career_close_help">
<action handler="play_sound" params="name=generic_help_close_click" />
<action handler="set" params="target_property=ui:outgame:career:help_box:active|value=0" />
</proc>
<proc id="proc_career_close_help2">
<action handler="set" params="target_property=ui:outgame:career:help_box:active|value=0" />
</proc>
<proc id="proc_career_open_help">
<action handler="play_sound" params="name=generic_help_click" />
<action handler="set" params="target_property=ui:outgame:career:help_box:active|value=1" />
</proc>
<proc id="proc_less">
<action handler="play_sound" params="name=generic_bb_click" />
<action handler="set" params="target_property=ui:outgame:career:more:active|value=0" />
</proc>
<proc id="proc_more">
<action handler="play_sound" params="name=generic_bb_click" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreFFy'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreFMa'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreFTr'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,1))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreFZo'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreMFy'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreMMa'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreMTr'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,2))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreMZo'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreRFy'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreRMa'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreRTr'" />
<action handler="set" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),eq(@UI:TEMP:CAREERCLICKJOB,3))" params="target_property=ui:outgame:career:more:infos:text_list:el0:hardtext|value='uiMoreRZo'" />
<action handler="set" params="target_property=ui:outgame:career:more:active|value=1" />
</proc>
<proc id="proc_career_big_buttons_on" >
<action handler="set" params="target_property=ui:outgame:career:c_big_f:active|value=1" />
<action handler="set" params="target_property=ui:outgame:career:c_big_m:active|value=1" />
<action handler="set" params="target_property=ui:outgame:career:c_big_c:active|value=1" />
</proc>
<proc id="proc_big_f">
<action handler="set" params="target_property=ui:outgame:career:c_f:pushed|value=1" />
<action handler="proc" params="proc_choice_career|1" />
</proc>
<proc id="proc_big_m">
<action handler="set" params="target_property=ui:outgame:career:c_m:pushed|value=1" />
<action handler="proc" params="proc_choice_career|2" />
</proc>
<proc id="proc_big_c">
<action handler="set" params="target_property=ui:outgame:career:c_c:pushed|value=1" />
<action handler="proc" params="proc_choice_career|3" />
</proc>
<!--
<template name="caracs_proc" id="" value="" base="" >
<proc id="caracs_sub_#id">
<action handler="play_sound" params="name=career_moins_click" />
<action handler="set" params="dblink=#value|value=sub(@@#value,1)" />
<action handler="set" params="dblink=UI:TEMP:POINTS|value=add(@@UI:TEMP:POINTS,1)" />
<action handler="set" cond="lt(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='255 123 28 255' " />
<action handler="set" cond="gt(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='146 255 32 255' " />
<action handler="set" cond="eq(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='255 255 255 255' " />
<action handler="set" cond="ne(@UI:TEMP:POINTS,0)" params="target_property=ui:outgame:career:next:active|value=0" />
</proc>
<proc id="caracs_add_#id">
<action handler="play_sound" params="name=career_plus_click" />
<action handler="set" params="dblink=#value|value=add(@@#value,1)" />
<action handler="set" params="dblink=UI:TEMP:POINTS|value=sub(@@UI:TEMP:POINTS,1)" />
<action handler="set" cond="lt(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='255 123 28 255' " />
<action handler="set" cond="gt(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='146 255 32 255' " />
<action handler="set" cond="eq(@#value,@#base)" params="target_property=ui:outgame:career:table:#id:car:color|value='255 255 255 255' " />
<action handler="set" cond="eq(@UI:TEMP:POINTS,0)" params="target_property=ui:outgame:career:next:active|value=1" />
</proc>
</template>
<instance template="caracs_proc" id="c_str" value="UI:TEMP:CARACS:STR" base="UI:TEMP:CARACS:BASE:STR" />
<instance template="caracs_proc" id="c_con" value="UI:TEMP:CARACS:CON" base="UI:TEMP:CARACS:BASE:CON" />
<instance template="caracs_proc" id="c_agi" value="UI:TEMP:CARACS:AGI" base="UI:TEMP:CARACS:BASE:AGI" />
<instance template="caracs_proc" id="c_wil" value="UI:TEMP:CARACS:WIL" base="UI:TEMP:CARACS:BASE:WIL" />
<instance template="caracs_proc" id="c_wel" value="UI:TEMP:CARACS:WEL" base="UI:TEMP:CARACS:BASE:WEL" />
<instance template="caracs_proc" id="c_int" value="UI:TEMP:CARACS:INT" base="UI:TEMP:CARACS:BASE:INT" />
<instance template="caracs_proc" id="c_cha" value="UI:TEMP:CARACS:CHA" base="UI:TEMP:CARACS:BASE:CHA" />
<instance template="caracs_proc" id="c_emp" value="UI:TEMP:CARACS:EMP" base="UI:TEMP:CARACS:BASE:EMP" />
<instance template="caracs_proc" id="c_per" value="UI:TEMP:CARACS:PER" base="UI:TEMP:CARACS:BASE:PER" />
<template name="caracs" posparent="parent" x="0" y="0" w="196" h="24" posref="TL TL" id="" txtitle="" value="" >
<group id="#id" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" >
<view type="bitmap" id="background" w="88" h="24" posref="TR TR" x="0" y="0" texture="caracs_back.tga" global_color="false" render_layer="-1" />
<view type="text" id="title" posref="ML ML" x="0" y="0" hardtext="#txtitle" shadow="true" fontsize="12" color="255 255 255 255" render_layer="-1"/>
<view type="text_number" id="car" posref="MR MM" x="-64" y="0" value="#value" fontsize="14" color="255 255 255 255" render_layer="-1" />
<ctrl type="button" id="plus" button_type="push_button" posref="TR TR" x="-8" y="-4" render_layer="-1"
tx_normal="caracs_more.tga" tx_pushed="caracs_more.tga" tx_over="caracs_over.tga"
onover="play_sound" params_over="name=career_plus_over"
onclick_l="proc" params_l="caracs_add_#id" tooltip="uiMore" />
<ctrl type="button" id="moins" button_type="push_button" posref="TR TR" x="-28" y="-4" render_layer="-1"
tx_normal="caracs_less.tga" tx_pushed="caracs_less.tga" tx_over="caracs_over.tga"
onover="play_sound" params_over="name=career_moins_over"
onclick_l="proc" params_l="caracs_sub_#id" tooltip="uiLess" />
</group>
</template>
-->
<template name="caracs_max" posparent="parent" x="0" y="0" w="290" h="24" posref="TL TL" id="" carac="" score="" value_carac="" value_score="" color="" >
<group id="#id" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" >
<view type="bitmap" id="background" w="104" h="24" posref="MM MM" x="0" y="0" texture="back_max.tga" global_color="false" render_layer="-1" />
<view type="text" id="carac" posparent="background" posref="ML MR" x="-4" y="-1" hardtext="#carac" shadow="true" fontsize="14" color="170 200 150 255" render_layer="-1"/>
<view type="text_number" id="car" posparent="background" posref="ML MR" x="34" y="-1" value="#value_carac" fontsize="14" color="170 200 150 255" render_layer="-1" />
<view type="text" id="score" posparent="background" posref="MR ML" x="4" y="-1" hardtext="#score" shadow="true" fontsize="14" color="170 200 150 255" render_layer="-1"/>
<view type="text" id="sco" posparent="background" posref="MR MR" x="-6" y="-1" value="#value_score" fontsize="14" color="#color" render_layer="-1" />
<link expr="#value_score" target="sco:hardtext" />
</group>
</template>
<template name="caracs_reg" posparent="parent" x="0" y="0" w="290" h="24" posref="TL TL" id="" carac="" score="" value_carac="" value_score="" color="" >
<group id="#id" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" >
<view type="bitmap" id="background" w="104" h="24" posref="MM MM" x="0" y="0" texture="back_regen.tga" global_color="false" render_layer="-1" />
<view type="text" id="carac" posparent="background" posref="ML MR" x="-4" y="-1" hardtext="#carac" shadow="true" fontsize="14" color="170 200 150 255" render_layer="-1"/>
<view type="text_number" id="car" posparent="background" posref="ML MR" x="34" y="-1" value="#value_carac" fontsize="14" color="170 200 150 255" render_layer="-1" />
<view type="text" id="score" posparent="background" posref="MR ML" x="4" y="-1" hardtext="#score" shadow="true" fontsize="14" color="170 200 150 255" render_layer="-1"/>
<view type="text" id="sco" posparent="background" posref="MR MR" x="-6" y="-1" value="#value_score" fontsize="14" color="#color" render_layer="-1" />
<link expr="#value_score" target="sco:hardtext" />
</group>
</template>
<!-- ***************** -->
<!-- * Select Career * -->
<!-- ***************** -->
<group id="career" w="800" h="600" posref="MM MM"
on_active="proc" on_active_params="career_start">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-4" texture="blank.tga" color="0 0 0 255" scale="true" w="800" h="488" global_color="false" active="false" />
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="bg:active" />
<!-- CAREER BACK -->
<view type="bitmap" id="career_bg" 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="-32" texture="bk_career.tga" active="false" />
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="career_bg:active" />
<!-- DESCRIPTION -->
<group id="job_bg" w="800" h="488" x="0" y="-32" posref="TL TL" active="false" >
<view type="bitmap" id="bk_job" 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_f.tga" />
</group>
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="job_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" />
<!-- CARACS VALUES -->
<group id="table2" posref="BR BR" w="306" h="117" x="-102" y="102" active="false" >
<view type="bitmap" id="bgtable" posref="TL TL" x="0" y="0" texture="blank.tga" color="45 57 38 128" scale="true" sizeref="wh" global_color="false" render_layer="-2" />
<instance template="window_border" id="bordure" posref="MM MM" />
<instance template="caracs_reg" id="c_hpreg" posref="TM TM" x="0" y="-8" color="%hp_color" carac="uiCarac_HpReg" value_carac="UI:TEMP:CARACS:HPREG" score="uiHpReg" value_score="div(@UI:TEMP:CARACS:HPREG,10)" />
<instance template="caracs_reg" id="c_stareg" posref="BL TL" posparent="c_hpreg" x="0" y="-2" color="%sta_color" carac="uiCarac_StaReg" value_carac="UI:TEMP:CARACS:STAREG" score="uiStaReg" value_score="div(@UI:TEMP:CARACS:STAREG,10)" />
<instance template="caracs_reg" id="c_sapreg" posref="BL TL" posparent="c_stareg" x="0" y="-2" color="%sap_color" carac="uiCarac_SapReg" value_carac="UI:TEMP:CARACS:SAPREG" score="uiSapReg" value_score="div(@UI:TEMP:CARACS:SAPREG,10)" />
<instance template="caracs_reg" id="c_wishreg" posref="BL TL" posparent="c_sapreg" x="0" y="-2" color="%focus_color" carac="uiCarac_WishReg" value_carac="UI:TEMP:CARACS:WISHREG" score="uiWishReg" value_score="div(@UI:TEMP:CARACS:WISHREG,10)" />
</group>
<group id="table1" posparent="table2" posref="TR BR" w="306" h="117" x="0" y="24" active="false" >
<view type="bitmap" id="bgtable" posref="TL TL" x="0" y="0" texture="blank.tga" color="45 57 38 128" scale="true" sizeref="wh" global_color="false" render_layer="-2" />
<instance template="window_border" id="bordure" posref="MM MM" />
<instance template="caracs_max" id="c_hpmax" posref="TM TM" x="0" y="-8" color="%hp_color" carac="uiCarac_HpMax" value_carac="UI:TEMP:CARACS:HPMAX" score="uiHpMax" value_score="mul(@UI:TEMP:CARACS:HPMAX,10)" />
<instance template="caracs_max" id="c_stamax" posref="BL TL" posparent="c_hpmax" x="0" y="-2" color="%sta_color" carac="uiCarac_StaMax" value_carac="UI:TEMP:CARACS:STAMAX" score="uiStaMax" value_score="mul(@UI:TEMP:CARACS:STAMAX,10)" />
<instance template="caracs_max" id="c_sapmax" posref="BL TL" posparent="c_stamax" x="0" y="-2" color="%sap_color" carac="uiCarac_SapMax" value_carac="UI:TEMP:CARACS:SAPMAX" score="uiSapMax" value_score="mul(@UI:TEMP:CARACS:SAPMAX,10)" />
<instance template="caracs_max" id="c_wishmax" posref="BL TL" posparent="c_sapmax" x="0" y="-2" color="%focus_color" carac="uiCarac_WishMax" value_carac="UI:TEMP:CARACS:WISHMAX" score="uiWishMax" value_score="mul(@UI:TEMP:CARACS:WISHMAX,10)" />
</group>
<view type="text" id="table2_txt" posparent="table2" posref="TL BL" x="0" y="2" hardtext="uiScoreRegen" fontsize="16" color="255 255 255 255" render_layer="-1" />
<view type="text" id="table1_txt" posparent="table1" posref="TL BL" x="0" y="2" hardtext="uiScoreMax" fontsize="16" color="255 255 255 255" render_layer="-1" />
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="table1:active" />
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="table2:active" />
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="table2_txt:active" />
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="table1_txt:active" />
<!--
<group type="scroll_text" id="expl_caracs" w="260" h="262" posparent="table" posref="ML MR" x="-8" y="0" min_height="262" max_height="262" active="false" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiExplcarac" shadow="true" fontsize="10" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="4" y="-4" sizeref="hw" w="-8" h="-8" render_layer="-1" />
<ctrl type="scroll" id="scroll_bar" render_layer="-1" posref="BR BR" x="2" y="2" w="18" tx_topright="scroll_top.tga" tx_middle="scroll_mid.tga" tx_bottomleft="scroll_bot.tga"/>
</group>
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="expl_caracs:active" />
-->
<!--
<link expr="and(ne(@UI:TEMP:CARACS:STR,20),ne(@UI:TEMP:CARACS:STR,@UI:TEMP:CARACS:MIN:STR))" target="table:c_str:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:CON,20),ne(@UI:TEMP:CARACS:CON,@UI:TEMP:CARACS:MIN:CON))" target="table:c_con:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:AGI,20),ne(@UI:TEMP:CARACS:AGI,@UI:TEMP:CARACS:MIN:AGI))" target="table:c_agi:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:WIL,20),ne(@UI:TEMP:CARACS:WIL,@UI:TEMP:CARACS:MIN:WIL))" target="table:c_wil:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:WEL,20),ne(@UI:TEMP:CARACS:WEL,@UI:TEMP:CARACS:MIN:WEL))" target="table:c_wel:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:INT,20),ne(@UI:TEMP:CARACS:INT,@UI:TEMP:CARACS:MIN:INT))" target="table:c_int:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:CHA,20),ne(@UI:TEMP:CARACS:CHA,@UI:TEMP:CARACS:MIN:CHA))" target="table:c_cha:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:EMP,20),ne(@UI:TEMP:CARACS:EMP,@UI:TEMP:CARACS:MIN:EMP))" target="table:c_emp:moins:active" />
<link expr="and(ne(@UI:TEMP:CARACS:PER,20),ne(@UI:TEMP:CARACS:PER,@UI:TEMP:CARACS:MIN:PER))" target="table:c_per:moins:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:STR,@UI:TEMP:CARACS:MAX:STR))" target="table:c_str:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:CON,@UI:TEMP:CARACS:MAX:CON))" target="table:c_con:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:AGI,@UI:TEMP:CARACS:MAX:AGI))" target="table:c_agi:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:WIL,@UI:TEMP:CARACS:MAX:WIL))" target="table:c_wil:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:WEL,@UI:TEMP:CARACS:MAX:WEL))" target="table:c_wel:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:INT,@UI:TEMP:CARACS:MAX:INT))" target="table:c_int:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:CHA,@UI:TEMP:CARACS:MAX:CHA))" target="table:c_cha:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:EMP,@UI:TEMP:CARACS:MAX:EMP))" target="table:c_emp:plus:active" />
<link expr="and(ne(@UI:TEMP:POINTS,0),ne(@UI:TEMP:CARACS:PER,@UI:TEMP:CARACS:MAX:PER))" target="table:c_per:plus:active" />
-->
<!-- BIG BUTTONS -->
<ctrl type="button" id="c_big_f" button_type="push_button" posref="TL TL" x="0" y="-32" w="266" h="488" 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=career_but_over"
onclick_l="proc" params_l="proc_big_f" />
<ctrl type="button" id="c_big_m" button_type="push_button" posref="TL TL" x="267" y="-32" w="266" h="488" 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=career_but_over"
onclick_l="proc" params_l="proc_big_m" />
<ctrl type="button" id="c_big_c" button_type="push_button" posref="TL TL" x="533" y="-32" w="266" h="488" 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=career_but_over"
onclick_l="proc" params_l="proc_big_c" />
<!-- vue 3D de tous les persos -->
<scene3d id="all3d" x="0" y="-64" w="800" h="488" posref="TL TL" curcam="cam" render_layer="1"
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="char_f" dblink="UI:TEMP:CHAR3D_F" pos="-2.0 0.0 -1.5" rot="0.0 0.0 15.0" />
<character3d id="char_m" dblink="UI:TEMP:CHAR3D_M" pos="0 0 -1.5" rot="0.0 0.0 0.0" />
<character3d id="char_c" dblink="UI:TEMP:CHAR3D_C" pos="2.0 0 -1.5" rot="0.0 0.0 -15.0" />
<fx id="fx1" pos="0 0 -1.5" name="outgame_Host_Loop.ps" rot="0.0 0.0 0.0" />
<camera id="cam" fov="60" pos="0.0 -9.9 1.0" target="0.0 0.0 0.3" roll="0" />
</scene3d>
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="all3d:active" />
<view type="text" id="f_txt" render_layer="0" posref="BL MM" x="133" y="104" hardtext="uiCaNaBoldF" fontsize="16" color="255 255 255 255" active="false" />
<view type="text" id="m_txt" render_layer="0" posref="BL MM" x="399" y="104" hardtext="uiCaNaBoldM" fontsize="16" color="255 255 255 255" active="false" />
<view type="text" id="c_txt" render_layer="0" posref="BL MM" x="665" y="104" hardtext="uiCaNaBoldC" fontsize="16" color="255 255 255 255" active="false" />
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="f_txt:active" />
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="m_txt:active" />
<link expr="eq(@UI:TEMP:CAREERCLICKINFO,0)" target="c_txt:active" />
<!-- vue 3D du perso -->
<scene3d id="char3d" x="0" y="-32" w="290" h="488" render_layer="1" posref="TL TL" curcam="cam"
ambient="0 0 0" sun_ambient="10 10 10" sun_diffuse="120 120 120" sun_specular="150 150 150" sun_direction="-1.0 1.0 -1.0"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-45" roty_limit_max="50"
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="7.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 0.3" rot="0.0 0.0 -120.0" />
<camera id="cam" fov="20" pos="0.0 -5.0 2.3" target="0.0 0.0 0.6" roll="0" />
<fx id="fx1" pos="0.0 0.0 -0.3" name="outgame_Host_Loop.ps" rot="0.0 0.0 120.0"/>
<light id="l1" pos="0.0 1.5 2.0" color="150 60 200" near="1.0" far="5.0" rot="0.0 0.0 120.0"/>
<light id="lfx" pos="0.0 -1.5 2.0" color="0 0 0" near="1.0" far="5.0" rot="0.0 0.0 180.0"/>
</scene3d>
<link expr="ne(@UI:TEMP:CAREERCLICKINFO,0)" target="char3d:active" />
<!-- LOGOS des JOBS -->
<group id="logo_f" render_layer="-1" posref="TL TL" x="0" y="-40" w="800" h="186" active="false" >
<view type="text" id="title" render_layer="-1" posref="TM TM" x="-255" hardtext="uiCaNaBoldF" shadow="true" fontsize="16" color="255 255 255 255" />
<group type="scroll_text" id="expl" x="-16" w="480" h="186" posref="BR BR" min_height="186" max_height="186" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" render_layer="-1" hardtext="uiExplF" posref="TL TL" shadow="true" fontsize="10" justification="justified" posparent="black" x="4" y="-4" color="255 255 255 255" space="3" sizeref="hw" w="-8" h="-8" />
</group>
</group>
<group id="logo_m" render_layer="-1" posref="TL TL" x="0" y="-40" w="800" h="186" active="false" >
<view type="text" id="title" render_layer="-1" posref="TM TM" x="-255" hardtext="uiCaNaBoldM" shadow="true" fontsize="16" color="255 255 255 255" />
<group type="scroll_text" id="expl" x="-16" w="480" h="186" posref="BR BR" min_height="186" max_height="186" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" render_layer="-1" hardtext="uiExplM" posref="TL TL" shadow="true" fontsize="10" justification="justified" posparent="black" x="4" y="-4" color="255 255 255 255" space="3" sizeref="hw" w="-8" h="-8" />
</group>
</group>
<group id="logo_c" render_layer="-1" posref="TL TL" x="0" y="-40" w="800" h="186" active="false" >
<view type="text" id="title" render_layer="-1" posref="TM TM" x="-255" hardtext="uiCaNaBoldC" shadow="true" fontsize="16" color="255 255 255 255" />
<group type="scroll_text" id="expl" x="-16" w="480" h="186" posref="BR BR" min_height="186" max_height="186" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" render_layer="-1" hardtext="uiExplR" posref="TL TL" shadow="true" fontsize="10" justification="justified" posparent="black" x="4" y="-4" color="255 255 255 255" space="3" sizeref="hw" w="-8" h="-8" />
</group>
</group>
<!-- BLACK BOX (sert a faire les transition...) -->
<view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="1" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" />
<!-- Title -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCareerTitle" fontsize="20"/>
<!-- TIMELINE -->
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16" >
<view type="bitmap" id="b2" posref="MM MM" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b6" posparent="b2" 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="244" h="4" global_color="false" />
<view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="244" h="4" global_color="false" />
</group>
<!-- 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_choice_back_screen_career" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" color="255 255 255 255"
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_choice_next_screen_career" tooltip="uiNextStep" active="false" />
<!-- 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_choice_home_screen_career" tooltip="uiReturnCharSel" />
<!-- Buttons careers -->
<ctrl type="button" button_type="radio_button" id="c_f" posref="BL MM" x="344" y="32"
tx_normal="logo_f.tga" tx_over="button_blank_over.tga" tx_pushed="logo_f_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_career|1" tooltip="uiCaNaF"/>
<ctrl type="button" button_type="radio_button" id="c_m" posref="BL MM" x="400" y="32"
tx_normal="logo_m.tga" tx_over="button_blank_over.tga" tx_pushed="logo_m_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_career|2" tooltip="uiCaNaM"/>
<ctrl type="button" button_type="radio_button" id="c_c" posref="BL MM" x="456" y="32"
tx_normal="logo_c.tga" tx_over="button_blank_over.tga" tx_pushed="logo_c_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_career|3" tooltip="uiCaNaC"/>
<!--
<group id="options" posref="BL TL" x="800" y="96" w="800" h="40" render_layer="2" >
<ctrl type="button" id="description" 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_less" />
<ctrl type="button" id="specifique" 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_more" />
<view type="text" id="title1" posparent="description" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiDesc" color="255 255 255 255" fontsize="12"/>
<view type="text" id="title2" posparent="specifique" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiSpe" color="255 255 255 255" fontsize="12"/>
</group>
-->
<!-- MORE INFOS -->
<group id="more" w="510" h="186" render_layer="0" posref="TR TR" x="0" y="-32" active="false" >
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="20 36 16 255" global_color="false" />
<group type="scroll_text" id="infos" x="0" w="510" h="186" posref="TL TL" min_height="186" max_height="186" >
<group id="black" posref="MM MM" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiMoreFFy" posref="TL TL" shadow="true" fontsize="10" justification="justified" posparent="black" x="4" y="-4" color="255 255 255 255" space="3" sizeref="hw" w="-8" h="-8" maxelements="#maxelements"/>
</group>
</group>
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" posparent="blackbox" x="0" y="1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="bot_line" posref="BL BL" posparent="blackbox" x="0" y="-1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="vertical_line" posparent="blackbox" posref="ML ML" x="290" y="0" render_layer="1" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="0" color="255 255 255 0" global_color="false" />
<!-- 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_career_close_help" tooltip="uiClose" />
</group>
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_career)" target="career:active" />
<!-- ANIMATION -->
<!-- Intro -->
<anim id="anim_career_intro" duration="3.0" loop="false" reverse="false" on_finish="proc" on_finish_params="proc_career_big_buttons_on" >
<track type="linear" target="career:bg:h,career:blackbox:h">
<key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<track type="linear" target="career:bg:y,career:blackbox:y">
<key time="0.1" value="-276" />
<key time="0.35" value="-32" />
</track>
<track type="linear" target="career:career_bg:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="career:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="career:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="career:c_f:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="career:c_m:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="career:c_c:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="career:all3d:x">
<key time="2.0" value="-800" />
<key time="2.5" value="0" />
</track>
<track type="linear" target="career:f_txt:alpha,career:m_txt:alpha,career:c_txt:alpha">
<key time="2.0" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="career:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="career:blackbox:alpha">
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_career_outro" duration="2.0" on_finish="proc" on_finish_params="career_when_outro_finished" >
<track type="linear" target="career:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_f:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_m:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_c:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="career:char3d:x">
<key time="1.5" value="0" />
<key time="1.8" value="-800" />
</track>
<track type="linear" target="career:all3d:x">
<key time="1.5" value="0" />
<key time="1.8" value="-800" />
</track>
<track type="linear" target="career:f_txt:alpha,career:m_txt:alpha,career:c_txt:alpha">
<key time="1.5" value="255" />
<key time="1.8" value="0" />
</track>
<track type="linear" target="career:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="career:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_career_outro2" duration="0.35" on_finish="proc" on_finish_params="career_when_outro_finished2" >
<track type="linear" target="career:bg:h,career:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="career:bg:y,career:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<!-- called when BACK button clicked -->
<anim id="anim_career_back" duration="2.0" on_finish="proc" on_finish_params="career_when_back_finished" >
<track type="linear" target="career:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_f:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_m:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:c_c:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="career:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="career:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
<track type="linear" target="career:all3d:x">
<key time="1.5" value="0" />
<key time="1.8" value="-800" />
</track>
<track type="linear" target="career:f_txt:alpha,career:m_txt:alpha,career:c_txt:alpha">
<key time="1.5" value="255" />
<key time="1.8" value="0" />
</track>
</anim>
<anim id="anim_career_back2" duration="0.35" on_finish="proc" on_finish_params="career_when_back_finished2" loop="false" reverse="false">
<track type="linear" target="career:bg:h,career:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="career:bg:y,career:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<!-- G fais une action intro -->
<anim id="display_infos_career" duration="0.6" >
<track type="linear" target="career:options:x">
<key time="0.0" value="800" />
<key time="0.6" value="0" />
</track>
<track type="linear" target="career:next:alpha">
<key time="0.0" value="0" />
<key time="0.6" value="255" />
</track>
<track type="linear" target="career:over_black:alpha">
<key time="0.49" value="0" />
<key time="0.5" value="128" />
</track>
<track type="linear" target="career:vertical_line:alpha">
<key time="0.0" value="0" />
<key time="0.6" value="255" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="-600" />
<key time="0.6" value="0" />
</track>
</anim>
<!-- outro : called when the people/culture/ecosys must leave -->
<anim id="undisplay_infos_career" duration="1.0" >
<track type="linear" target="career:career_bg:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="career:options:x">
<key time="0.0" value="0" />
<key time="1.0" value="-800" />
</track>
<track type="linear" target="career:next:alpha" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:career:next:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="career:over_black:alpha">
<key time="0.0" value="128" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="0" />
<key time="0.5" value="-600" />
</track>
</anim>
<!--
<anim id="display_next" duration="0.5" disable_buttons="false" >
<track type="linear" target="career:next:alpha" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:career:next:alpha')" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="undisplay_next" duration="0.1" on_finish="set" on_finish_params="target_property=ui:outgame:career:next:active|value=0" disable_buttons="false" >
<track type="linear" target="career:next:alpha" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:career:next:alpha')" />
<key time="0.1" value="0" />
</track>
</anim>
-->
<!-- INTRO ANIMS DESCRIPTION -->
<anim id="intro_f_description" duration="0.5" on_finish="proc" on_finish_params="proc_f_description">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="intro_m_description" duration="0.5" on_finish="proc" on_finish_params="proc_m_description">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="intro_c_description" duration="0.5" on_finish="proc" on_finish_params="proc_c_description">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<!-- INTRO ANIMS CARACS -->
<anim id="intro_f_caracs" duration="0.5" on_finish="proc" on_finish_params="proc_f_caracs">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="0" />
<key time="0.5" value="-600" />
</track>
</anim>
<anim id="intro_m_caracs" duration="0.5" on_finish="proc" on_finish_params="proc_m_caracs">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="0" />
<key time="0.5" value="-600" />
</track>
</anim>
<anim id="intro_c_caracs" duration="0.5" on_finish="proc" on_finish_params="proc_c_caracs">
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="0" />
<key time="0.5" value="-600" />
</track>
</anim>
<!-- End fade -->
<anim id="end_fade_career" duration="0.5" >
<track type="linear" target="career:blackbox:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="career:char3d:x">
<key time="0.0" value="-600" />
<key time="0.5" value="0" />
</track>
</anim>
</interface_config>