Fix
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / outgame_appear.xml
blobf369f5c632519da1ed70166d867093968390e179
1 <interface_config>
3 <root id="outgame" x="0" y="0" w="800" h="600" active="false" />
5 <variable entry="UI:TEMP:APPEARCLICKSEX" type="sint64" value="-1"/>
6 <variable entry="UI:TEMP:APPEARCLICKBFC" type="sint64" value="-1"/> <!-- 0-body 1-face 2-clothes -->
7 <variable entry="UI:TEMP:APPEARCLICKTMPBFC" type="sint64" value="-1"/>
8 <variable entry="UI:TEMP:APPEARCHOICE" type="sint64" value="-1"/>
14 <variable entry="UI:TEMP:HAIRCUT" type="sint64" value="1" />
16 <!-- appear init -->
18 <proc id="proc_appear_big_buttons_on" >
19         <action handler="set" params="target_property=ui:outgame:appear:female2:active|value=1" />
20         <action handler="set" params="target_property=ui:outgame:appear:male2:active|value=1" />
21 </proc>
25 <proc id="import_fyros">
26         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D|dbsrc=UI:TEMP:CHAR3DFYROS" />
27 </proc>
29 <proc id="import_matis">
30         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D|dbsrc=UI:TEMP:CHAR3DMATIS" />
31 </proc>
33 <proc id="import_tryker">
34         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D|dbsrc=UI:TEMP:CHAR3DTRYKER" />
35 </proc>
37 <proc id="import_zorai">
38         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D|dbsrc=UI:TEMP:CHAR3DZORAI" />
39 </proc>
41 <proc id="export_fyros">
42         <action handler="copy" params="dbdst=UI:TEMP:CHAR3DFYROS|dbsrc=UI:TEMP:CHAR3D" />
43         <action handler="set"  params="dblink=UI:TEMP:CHAR3DFYROS:PEOPLE|value=0" />
44 </proc>
46 <proc id="export_matis">
47         <action handler="copy" params="dbdst=UI:TEMP:CHAR3DMATIS|dbsrc=UI:TEMP:CHAR3D" />
48         <action handler="set"  params="dblink=UI:TEMP:CHAR3DFYROS:PEOPLE|value=1" />
49 </proc>
51 <proc id="export_tryker">
52         <action handler="copy" params="dbdst=UI:TEMP:CHAR3DTRYKER|dbsrc=UI:TEMP:CHAR3D" />
53         <action handler="set"  params="dblink=UI:TEMP:CHAR3DFYROS:PEOPLE|value=2" />
54 </proc>
56 <proc id="export_zorai">
57         <action handler="copy" params="dbdst=UI:TEMP:CHAR3DZORAI|dbsrc=UI:TEMP:CHAR3D" />
58         <action handler="set"  params="dblink=UI:TEMP:CHAR3DFYROS:PEOPLE|value=3" />
59 </proc>
65 <proc id="proc_appear_start">
68         <action handler="set" params="dblink=UI:TEMP:CHAR3DFYROS:CAREER|value=0" />
69         <action handler="set" params="dblink=UI:TEMP:CHAR3DMATIS:CAREER|value=0" />
70         <action handler="set" params="dblink=UI:TEMP:CHAR3DTRYKER:CAREER|value=0" />
71         <action handler="set" params="dblink=UI:TEMP:CHAR3DZORAI:CAREER|value=0" />
74         <action handler="set" params="target_property=ui:outgame:appear:female2:active|value=0" />
75         <action handler="set" params="target_property=ui:outgame:appear:male2:active|value=0" />
77         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="import_fyros" />
78         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="import_matis" />
79         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="import_tryker" />
80         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="import_zorai" />
82         <action handler="reset_pushed" params="dblink=ui:outgame:appear" />
83         <action handler="reset_pushed" params="dblink=ui:outgame:appear:options" />
84         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l1" />
85         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l2" />
86         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l3" />
87         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l4" />
88         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l5" />
89         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_clothes:l6" />
90         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_face:eyes" />
91         <action handler="reset_pushed" params="dblink=ui:outgame:appear:advopt_face:haircolor" />
94         <action handler="reset_camera"   params="target=ui:outgame:appear:char3d:cam" />
95         <action handler="reset_camera"   params="target=ui:outgame:appear:char3d:camface" />
97         <!-- ****** -->
98         <!-- Colors -->
99         <!-- ****** -->
101         <!-- Hairs -->
102         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,0)" params="target_property=ui:outgame:appear:advopt_face:eyes:c1:pushed|value=1" />
103         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,1)" params="target_property=ui:outgame:appear:advopt_face:eyes:c2:pushed|value=1" />
104         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,2)" params="target_property=ui:outgame:appear:advopt_face:eyes:c3:pushed|value=1" />
105         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,3)" params="target_property=ui:outgame:appear:advopt_face:eyes:c4:pushed|value=1" />
106         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,4)" params="target_property=ui:outgame:appear:advopt_face:eyes:c5:pushed|value=1" />
107         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:HATCOLOR,5)" params="target_property=ui:outgame:appear:advopt_face:eyes:c6:pushed|value=1" />
109         <!-- Eyes -->
110         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,0)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c1:pushed|value=1" />
111         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,1)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c2:pushed|value=1" />
112         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,2)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c3:pushed|value=1" />
113         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,3)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c4:pushed|value=1" />
114         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,4)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c5:pushed|value=1" />
115         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,5)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c6:pushed|value=1" />
116         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPC:EYESCOLOR,6)" params="target_property=ui:outgame:appear:advopt_face:haircolor:c7:pushed|value=1" />
119         <!-- Clothes -->
120         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,0)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c1:pushed|value=1" />
121         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,1)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c2:pushed|value=1" />
122         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,2)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c3:pushed|value=1" />
123         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,3)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c4:pushed|value=1" />
124         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,4)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c5:pushed|value=1" />
125         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,5)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c6:pushed|value=1" />
126         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,6)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c7:pushed|value=1" />
127         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR,7)" params="target_property=ui:outgame:appear:advopt_clothes:l1:c8:pushed|value=1" />
129         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,0)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c1:pushed|value=1" />
130         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,1)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c2:pushed|value=1" />
131         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,2)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c3:pushed|value=1" />
132         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,3)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c4:pushed|value=1" />
133         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,4)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c5:pushed|value=1" />
134         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,5)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c6:pushed|value=1" />
135         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,6)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c7:pushed|value=1" />
136         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:ARMCOLOR,7)" params="target_property=ui:outgame:appear:advopt_clothes:l2:c8:pushed|value=1" />
138         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,0)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c1:pushed|value=1" />
139         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,1)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c2:pushed|value=1" />
140         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,2)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c3:pushed|value=1" />
141         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,3)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c4:pushed|value=1" />
142         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,4)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c5:pushed|value=1" />
143         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,5)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c6:pushed|value=1" />
144         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,6)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c7:pushed|value=1" />
145         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR,7)" params="target_property=ui:outgame:appear:advopt_clothes:l3:c8:pushed|value=1" />
147         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,0)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c1:pushed|value=1" />
148         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,1)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c2:pushed|value=1" />
149         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,2)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c3:pushed|value=1" />
150         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,3)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c4:pushed|value=1" />
151         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,4)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c5:pushed|value=1" />
152         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,5)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c6:pushed|value=1" />
153         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,6)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c7:pushed|value=1" />
154         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR,7)" params="target_property=ui:outgame:appear:advopt_clothes:l4:c8:pushed|value=1" />
156         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,0)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c1:pushed|value=1" />
157         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,1)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c2:pushed|value=1" />
158         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,2)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c3:pushed|value=1" />
159         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,3)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c4:pushed|value=1" />
160         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,4)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c5:pushed|value=1" />
161         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,5)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c6:pushed|value=1" />
162         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,6)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c7:pushed|value=1" />
163         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPB:FEETCOLOR,7)" params="target_property=ui:outgame:appear:advopt_clothes:l5:c8:pushed|value=1" />
166         <!-- No Zorai Eyes Color -->
167         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:active|value=1" />
168         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:eyes:active|value=0" />
170         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes_custom:active|value=1" />
171         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:eyes_custom:active|value=0" />
174         <!-- Set EYES & HAIR COLOR from specie -->
175         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="eyes_hair_color_fy" />
176         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="eyes_hair_color_ma" />
177         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="eyes_hair_color_tr" />
178         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="eyes_hair_color_zo" />
181         <!-- Set light from specie -->
184         <action handler="set" params="target_property=ui:outgame:appear:char3d:back:posx|value=0.0" />
185         <action handler="set" params="target_property=ui:outgame:appear:char3d:back:posy|value=28.5" />
186         <action handler="set" params="target_property=ui:outgame:appear:char3d:back:posz|value=2.4" />
188         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:colr|value=255" />
189         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:colg|value=128" />
190         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:colb|value=0" />
192         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:colr|value=192" />
193         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:colg|value=255" />
194         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:colb|value=64" />
196         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:colr|value=64" />
197         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:colg|value=255" />
198         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:colb|value=255" />
200         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:colr|value=255" />
201         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:colg|value=128" />
202         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:colb|value=0" />
204         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:near|value=2.0" />
205         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:far|value=3.5" />
206         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:back:posz|value=2.0" />
208         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:near|value=1.5" />
209         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:far|value=3.0" />
210         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:back:posz|value=2.2" />
212         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:near|value=2.0" />
213         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:far|value=3.5" />
214         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:back:posz|value=2.0" />
216         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:near|value=3.0" />
217         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:far|value=4.0" />
218         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:back:posz|value=2.4" />
221         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_m:colr|value=255" />
222         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_m:colg|value=255" />
223         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_m:colb|value=255" />
225         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_f:colr|value=255" />
226         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_f:colg|value=255" />
227         <action handler="set" params="target_property=ui:outgame:appear:char3d:lgt_f:colb|value=255" />
229         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKSEX|value=-2" />
230         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKSEX|value=-1" />
231         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKBFC|value=-2" />
232         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKBFC|value=-1" />
235         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face1:hardtext|value='uiFace1Fy'" />
236         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face2:hardtext|value='uiFace2Fy'" />
237         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face3:hardtext|value='uiFace3Fy'" />
238         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face4:hardtext|value='uiFace4Fy'" />
239         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face5:hardtext|value='uiFace5Fy'" />
240         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face6:hardtext|value='uiFace6Fy'" />
241         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:advopt_face:face7:hardtext|value='uiFace7Fy'" />
243         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face1:hardtext|value='uiFace1Ma'" />
244         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face2:hardtext|value='uiFace2Ma'" />
245         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face3:hardtext|value='uiFace3Ma'" />
246         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face4:hardtext|value='uiFace4Ma'" />
247         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face5:hardtext|value='uiFace5Ma'" />
248         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face6:hardtext|value='uiFace6Ma'" />
249         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:advopt_face:face7:hardtext|value='uiFace7Ma'" />
251         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face1:hardtext|value='uiFace1Tr'" />
252         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face2:hardtext|value='uiFace2Tr'" />
253         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face3:hardtext|value='uiFace3Tr'" />
254         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face4:hardtext|value='uiFace4Tr'" />
255         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face5:hardtext|value='uiFace5Tr'" />
256         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face6:hardtext|value='uiFace6Tr'" />
257         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:advopt_face:face7:hardtext|value='uiFace7Tr'" />
259         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face1:hardtext|value='uiFace1Zo'" />
260         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face2:hardtext|value='uiFace2Zo'" />
261         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face3:hardtext|value='uiFace3Zo'" />
262         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face4:hardtext|value='uiFace4Zo'" />
263         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face5:hardtext|value='uiFace5Zo'" />
264         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face6:hardtext|value='uiFace6Zo'" />
265         <action handler="set"  cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:advopt_face:face7:hardtext|value='uiFace7Zo'" />
268         <action handler="proc" params="proc_appear_clothes_off" />
270         <action handler="set" params="target_property=ui:outgame:appear:char3d:charmal:anim|value=0" />
271         <action handler="set" params="target_property=ui:outgame:appear:char3d:charfem:anim|value=0" />
273         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:env:name|value='outgame_fyros.ig'" />
274         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:env:name|value='outgame_matis.ig'" />
275         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:env:name|value='outgame_tryker.ig'" />
276         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:env:name|value='outgame_zorai.ig'" />
278         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:env:posz|value=-1.03" />
279         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:env:posz|value=0" />
280         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:env:posz|value=0" />
281         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:env:posz|value=0" />
283         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:posx|value=0.0" />
284         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:posy|value=24.0" />
286         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:tgtx|value=0.0" />
287         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:tgty|value=26.5" />
289         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:rotx|value=0.0" />
290         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:roty|value=0.0" />
291         <action handler="set" params="target_property=ui:outgame:appear:char3d:cam:rotz|value=0.0" />
294         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:cam:posz|value=2.1" />
295         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:cam:posz|value=2.2" />
296         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:cam:posz|value=2.0" />
297         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:cam:posz|value=2.3" />
299         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:cam:tgtz|value=1.7" />
300         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:cam:tgtz|value=1.8" />
301         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:cam:tgtz|value=1.6" />
302         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:cam:tgtz|value=1.9" />
304         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:char3d:cam:fov|value=70.0" />
305         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:char3d:cam:fov|value=75.0" />
306         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:char3d:cam:fov|value=65.0" />
307         <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:char3d:cam:fov|value=85.0" />
309         <action handler="set" params="target_property=ui:outgame:appear:char3d:camface:posz|value=2.2" />
310         <action handler="set" params="target_property=ui:outgame:appear:char3d:camface:tgtz|value=2.2" />
312         <action handler="set" params="target_property=ui:outgame:appear:char3d:charmal:posx|value=0.8" />
313         <action handler="set" params="target_property=ui:outgame:appear:char3d:charfem:posx|value=-0.8" />
315         <action handler="set" params="target_property=ui:outgame:appear:char3d:charmal:posz|value=0.0" />
316         <action handler="set" params="target_property=ui:outgame:appear:char3d:charfem:posz|value=0.04" />
318         <action handler="set" params="target_property=ui:outgame:appear:char3d:charmal:anim|value=0" />
319         <action handler="set" params="target_property=ui:outgame:appear:char3d:charfem:anim|value=0" />
321         <action handler="set" params="target_property=ui:outgame:appear:char3d:w|value=800" />
322         <action handler="set" params="target_property=ui:outgame:appear:char3d:active|value=0" />
324         <action handler="set" params="target_property=ui:outgame:appear:char3dface:x|value=400" />
325         <action handler="set" params="target_property=ui:outgame:appear:blackbox2:x|value=400" />
327         <action handler="anim_start" params="anim=anim_appear_intro" />
328 </proc>
332 <proc id="eyes_hair_color_fy">
334         <!-- EYES -->
336         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c1_back:color|value='143 38 15'" />
337         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c2_back:color|value='177 142 25'" />
338         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c3_back:color|value='82 131 25'" />
339         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c4_back:color|value='64 103 139'" />
340         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c5_back:color|value='115 73 140'" />
341         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c6_back:color|value='136 36 75'" />
342         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c7_back:color|value='141 135 129'" />
344         <!-- HAIR -->
346         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c1_back:color|value='206 198 181'" />
347         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c2_back:color|value='157 151 149'" />
348         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c3_back:color|value='94 95 95'" />
349         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c4_back:color|value='83 56 43'" />
350         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c5_back:color|value='136 47 28'" />
351         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c6_back:color|value='181 135 42'" />
354 </proc>
356 <proc id="eyes_hair_color_ma">
358         <!-- EYES -->
360         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c1_back:color|value='166 63 38'" />
361         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c2_back:color|value='199 147 33'" />
362         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c3_back:color|value='116 192 50'" />
363         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c4_back:color|value='54 111 176'" />
364         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c5_back:color|value='95 48 153'" />
365         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c6_back:color|value='167 54 103'" />
366         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c7_back:color|value='171 169 170'" />
368         <!-- HAIR -->
370         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c1_back:color|value='169 150 110'" />
371         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c2_back:color|value='118 105 86'" />
372         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c3_back:color|value='98 97 86'" />
373         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c4_back:color|value='88 60 37'" />
374         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c5_back:color|value='151 58 28'" />
375         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c6_back:color|value='177 135 45'" />
378 </proc>
380 <proc id="eyes_hair_color_tr">
382         <!-- EYES -->
384         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c1_back:color|value='128 57 49'" />
385         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c2_back:color|value='159 113 29'" />
386         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c3_back:color|value='84 107 46'" />
387         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c4_back:color|value='64 98 120'" />
388         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c5_back:color|value='71 59 121'" />
389         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c6_back:color|value='125 62 96'" />
390         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:eyes:eyes_c7_back:color|value='101 94 91'" />
392         <!-- HAIR -->
394         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c1_back:color|value='78 93 70'" />
395         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c2_back:color|value='97 76 97'" />
396         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c3_back:color|value='115 68 39'" />
397         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c4_back:color|value='159 117 71'" />
398         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c5_back:color|value='147 78 54'" />
399         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c6_back:color|value='180 140 51'" />
401 </proc>
403 <proc id="eyes_hair_color_zo">
405         <!-- HAIR -->
407         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c1_back:color|value='78 93 70'" />
408         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c2_back:color|value='97 76 97'" />
409         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c3_back:color|value='115 68 39'" />
410         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c4_back:color|value='159 117 71'" />
411         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c5_back:color|value='147 78 54'" />
412         <action handler="set" params="target_property=ui:outgame:appear:advopt_face:haircolor:hair_c6_back:color|value='180 140 51'" />
415 </proc>
419 <proc id="proc_appear_start2">
420         <action handler="set" params="target_property=ui:outgame:appear:char3d:active|value=1" />
421         <action handler="anim_start" params="anim=anim_appear_intro2" />
422 </proc>
424 <!-- appear uninit -->
426 <proc id="proc_appear_finish">
428         <action handler="set" params="target_property=ui:outgame:appear:female2:active|value=0" />
429         <action handler="set" params="target_property=ui:outgame:appear:male2:active|value=0" />
431         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="export_fyros" />
432         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="export_matis" />
433         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="export_tryker" />
434         <action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="export_zorai" />
436         <action handler="proc" params="proc_appear_close_help2" />
437         <action handler="anim_start" cond="ne(@UI:TEMP:APPEARCLICKSEX,-1)" params="anim=anim_appear_undisplay_infos" />
438         <action handler="anim_start" params="anim=anim_appear_outro" />
439 </proc>
441 <proc id="proc_appear_finish2">
442         <action handler="proc" params="proc_appear_clothes_off" />
443         <action handler="set" params="target_property=ui:outgame:appear:char3d:active|value=0" />
444         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKSEX|value=-1" />
445         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKBFC|value=-1" />
446         <action handler="anim_start" params="anim=anim_appear_outro2" />
447 </proc>
449 <proc id="proc_appear_finish3">
450         <action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
451 </proc>
453 <proc id="proc_appear_open_help">
454         <action handler="play_sound" params="name=generic_help_click" />
455         <action handler="set" params="target_property=ui:outgame:appear:help_box:active|value=1" />
456 </proc>
458 <proc id="proc_appear_close_help">
459         <action handler="play_sound" params="name=generic_help_close_click" />
460         <action handler="set" params="target_property=ui:outgame:appear:help_box:active|value=0" />
461 </proc>
463 <proc id="proc_appear_close_help2">
464         <action handler="set" params="target_property=ui:outgame:appear:help_box:active|value=0" />
465 </proc>
467 <!-- click -->
469 <proc id="proc_appear_choice_sex">
470         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:SEX|@0" />
472         <action handler="set" params="target_property=ui:outgame:appear:female2:active|value=0" />
473         <action handler="set" params="target_property=ui:outgame:appear:male2:active|value=0" />
475         <action handler="play_sound" params="name=appear_but_click" />
477         <action handler="reset_pushed" cond="eq(@UI:TEMP:APPEARCLICKSEX,-1)" params="dblink=ui:outgame:appear:options" />
478         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKSEX,-1)" params="target_property=ui:outgame:appear:options:body:pushed|value=1" />
479         <action handler="proc" cond="eq(@UI:TEMP:APPEARCLICKSEX,-1)" params="proc_appear_choice_bfc|value=0" />
481         <action handler="set" params="target_property=ui:outgame:appear:char3d:camface:posz|value=getprop('ui:outgame:appear:char3d:charmal:headz')" />
482         <action handler="anim_start" cond="eq(@UI:TEMP:APPEARCLICKSEX,-1)" params="anim=anim_appear_display_infos" />
483         <action handler="anim_start" cond="and(eq(@UI:TEMP:APPEARCLICKSEX,-1),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="anim=anim_appear_cam_mf_m" />
484         <action handler="anim_start" cond="and(eq(@UI:TEMP:APPEARCLICKSEX,-1),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="anim=anim_appear_cam_mf_f" />
485         <action handler="anim_start" cond="and(eq(@UI:TEMP:APPEARCLICKSEX,0),eq(@UI:TEMP:CHAR3D:VPA:SEX,1))" params="anim=anim_appear_cam_m_f" />
486         <action handler="anim_start" cond="and(eq(@UI:TEMP:APPEARCLICKSEX,1),eq(@UI:TEMP:CHAR3D:VPA:SEX,0))" params="anim=anim_appear_cam_f_m" />
487         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKSEX|@0" />
488 </proc>
490 <proc id="proc_appear_home_screen">
491         <action handler="play_sound" params="name=generic_home_click" />
492         <action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_select" />
493         <action handler="proc" params="proc_appear_finish" />
494 </proc>
496 <proc id="proc_appear_back_screen">
497         <action handler="play_sound" params="name=generic_prev_click" />
498         <action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_specie" />
499         <action handler="proc" params="proc_appear_finish" />
500 </proc>
502 <proc id="proc_appear_next_screen">
503         <action handler="play_sound" params="name=generic_next_click" />
504         <action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_summary" />
505         <action handler="proc" params="proc_appear_finish" />
506 </proc>
508 <proc id="proc_appear_choice_bfc">
509         <action handler="play_sound" params="name=generic_bb_click" />
510         <action handler="set" params="dblink=UI:TEMP:APPEARCHOICE|@0" />
512         <action handler="proc" cond="eq(@UI:TEMP:APPEARCHOICE,2)" params="proc_appear_clothes_on" />
513         <action handler="proc" cond="ne(@UI:TEMP:APPEARCHOICE,2)" params="proc_appear_clothes_off" />
515         <action handler="anim_start" cond="eq(@UI:TEMP:APPEARCLICKBFC,-1)" params="anim=anim_appear_bfc2" />
516         <action handler="anim_start" cond="ne(@UI:TEMP:APPEARCLICKBFC,-1)" params="anim=anim_appear_bfc" />
517         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKBFC,-1)" params="dblink=UI:TEMP:APPEARCLICKBFC|@0" />
518         <action handler="set" params="dblink=UI:TEMP:APPEARCLICKTMPBFC|@0" />
519 </proc>
521 <proc id="proc_appear_choice_bfc2">
522         <action handler="copy" params="dbdst=UI:TEMP:APPEARCLICKBFC|dbsrc=UI:TEMP:APPEARCLICKTMPBFC" />
523         <action handler="anim_start" params="anim=anim_appear_bfc2" />
524 </proc>
526 <proc id="proc_appear_propagate2">
527         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D_MALE|dbsrc=UI:TEMP:CHAR3D" />
528         <action handler="set" params="dblink=UI:TEMP:CHAR3D_MALE:VPA:SEX|value=0" />
529         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D_FEMALE|dbsrc=UI:TEMP:CHAR3D" />
530         <action handler="set" params="dblink=UI:TEMP:CHAR3D_FEMALE:VPA:SEX|value=1" />
531 </proc>
533 <proc id="proc_appear_propagate">
534         <action handler="proc" params="proc_appear_propagate2" cond="eq(@UI:CURRENT_SCREEN, %screen_appear)" />
535 </proc>
537 <proc id="proc_appear_clothes_on">
538         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:VPA:JACKETMODEL|dbsrc=UI:TEMP:CHAR3D_CLOTHES:VPA:JACKETMODEL" />
539         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:VPA:ARMMODEL|dbsrc=UI:TEMP:CHAR3D_CLOTHES:VPA:ARMMODEL" />
540         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:VPB:HANDSMODEL|dbsrc=UI:TEMP:CHAR3D_CLOTHES:VPB:HANDSMODEL" />
541         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|dbsrc=UI:TEMP:CHAR3D_CLOTHES:VPA:TROUSERMODEL" />
542         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:VPB:FEETMODEL|dbsrc=UI:TEMP:CHAR3D_CLOTHES:VPB:FEETMODEL" />
544         <action handler="proc" params="proc_appear_propagate" />
545 </proc>
547 <proc id="proc_appear_clothes_off">
548         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:JACKETMODEL|value=0" />
549         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:ARMMODEL|value=0" />
550         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:HANDSMODEL|value=0" />
551         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:TROUSERMODEL|value=0" />
552         <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPB:FEETMODEL|value=0" />
554         <action handler="proc" params="proc_appear_propagate" />
555 </proc>
557 <proc id="proc_height_camface">
558         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKSEX,0)" params="target_property=ui:outgame:appear:char3d:camface:posz|value=add(0.1,getprop('ui:outgame:appear:char3d:charmal:headz'))" />
559         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKSEX,0)" params="target_property=ui:outgame:appear:char3d:camface:tgtz|value=add(0.1,getprop('ui:outgame:appear:char3d:charmal:headz'))" />
560         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKSEX,1)" params="target_property=ui:outgame:appear:char3d:camface:posz|value=add(0.1,getprop('ui:outgame:appear:char3d:charfem:headz'))" />
561         <action handler="set" cond="eq(@UI:TEMP:APPEARCLICKSEX,1)" params="target_property=ui:outgame:appear:char3d:camface:tgtz|value=add(0.1,getprop('ui:outgame:appear:char3d:charfem:headz'))" />
562 </proc>
564 <!-- Change hair cut -->
565 <proc id="proc_appear_change_haircut">
566         <action handler="proc" params="proc_appear_change_haircut_fy" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" />
567         <action handler="proc" params="proc_appear_change_haircut_ma" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" />
568         <action handler="proc" params="proc_appear_change_haircut_tr" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" />
569         <action handler="proc" params="proc_appear_change_haircut_zo" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" />
570 </proc>
572 <proc id="proc_appear_change_haircut_fy">
573         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_shave01.sitem','HEAD')" />
574         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_short01.sitem','HEAD')" />
575         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_short02.sitem','HEAD')" />
576         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium01.sitem','HEAD')" />
577         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium02.sitem','HEAD')" />
578         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium03.sitem','HEAD')" />
579         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('fy_cheveux_long01.sitem','HEAD')" />
580 </proc>
582 <proc id="proc_appear_change_haircut_ma">
583         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_shave01.sitem','HEAD')" />
584         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_short01.sitem','HEAD')" />
585         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_short02.sitem','HEAD')" />
586         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_medium01.sitem','HEAD')" />
587         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_medium02.sitem','HEAD')" />
588         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long01.sitem','HEAD')" />
589         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long02.sitem','HEAD')" />
590 </proc>
592 <proc id="proc_appear_change_haircut_tr">
593         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_shave01.sitem','HEAD')" />
594         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_short01.sitem','HEAD')" />
595         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_short02.sitem','HEAD')" />
596         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_short03.sitem','HEAD')" />
597         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_medium01.sitem','HEAD')" />
598         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_medium02.sitem','HEAD')" />
599         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('tr_cheveux_long01.sitem','HEAD')" />
600 </proc>
602 <proc id="proc_appear_change_haircut_zo">
603         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_shave01.sitem','HEAD')" />
604         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_short01.sitem','HEAD')" />
605         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_medium01.sitem','HEAD')" />
606         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_medium02.sitem','HEAD')" />
607         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_medium03.sitem','HEAD')" />
608         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_long01.sitem','HEAD')" />
609         <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex('zo_cheveux_long02.sitem','HEAD')" />
610 </proc>
612 <!-- ************* -->
613 <!-- * TEMPLATES * -->
614 <!-- ************* -->
616 <!-- Appear morph target template slider -->
618 <template name="slider" posref="TL TL" x="0" y="0" w="136" h="8"  id="" posparent="parent" sizeref="" keep="true">
619         <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
620                 <view type="bitmap" id="left" posref="TL TL" texture="slider_l.tga"/>
621                 <view type="bitmap" id="right" posref="TR TR" texture="slider_r.tga"/>
622                 <view type="bitmap" id="middle" posref="MM MM" scale="true" sizeref="hw" h="0" w="-8" texture="slider_m.tga"/>
623         </group>
624 </template>
627 <template name="appearmttslider" nb="" id="" posref="TL TL" x="28" y="16" >
629         <instance template="slider" id="bk#nb" posref="#posref" x="#x" y="#y" />
630         <!--
631         <view type="text" id="title#nb" posparent="bk#nb" posref="ML MR" x="-4" y="0" hardtext="#nb" color="255 255 255 255" fontsize="12"/>
632         -->
633         <ctrl type="scroll" id="scroll#nb" posparent="bk#nb" posref="MM MM" x="0" y="0" w="124" h="12"
634                                                 vertical="false" align="L" min="0" max="7" value="UI:TEMP:CHAR3D:VPC:MORPHTARGET#nb" tracksize="12"
635                                                 onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
636                                                 tx_bottomleft="slide_l.tga"/>
637 </template>
640 <template name="colthes_color" id="" title="" dblink="" posref="TL TL" posparent="parent" x="0" y="32" >
642         <group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" w="280" h="20" >
644                 <view type="text" id="title" posref="ML ML" x="0" y="0" hardtext="#title" color="255 255 255 255" fontsize="12"/>
646                 <view type="bitmap" id="c1_back" x="90" y="0" posref="ML ML" texture="but_fake.tga"                             color="125 32 30"       scale="true" w="18" h="18" />
647                 <view type="bitmap" id="c2_back" posparent="c1_back" posref="TR TL" x="6" texture="but_fake.tga"        color="171 122 52"      scale="true" w="18" h="18" />
648                 <view type="bitmap" id="c3_back" posparent="c2_back" posref="TR TL" x="6" texture="but_fake.tga"        color="70 88 39"        scale="true" w="18" h="18" />
649                 <view type="bitmap" id="c4_back" posparent="c3_back" posref="TR TL" x="6" texture="but_fake.tga"        color="46 82 68"        scale="true" w="18" h="18" />
650                 <view type="bitmap" id="c5_back" posparent="c4_back" posref="TR TL" x="6" texture="but_fake.tga"        color="45 70 103"       scale="true" w="18" h="18" />
651                 <view type="bitmap" id="c6_back" posparent="c5_back" posref="TR TL" x="6" texture="but_fake.tga"        color="57 48 82"        scale="true" w="18" h="18" />
652                 <view type="bitmap" id="c7_back" posparent="c6_back" posref="TR TL" x="6" texture="but_fake.tga"        color="130 130 129" scale="true" w="18" h="18" />
653                 <view type="bitmap" id="c8_back" posparent="c7_back" posref="TR TL" x="6" texture="but_fake.tga"        color="47 47 45 "       scale="true" w="18" h="18" />
655                 <ctrl type="button" button_type="radio_button" id="c1" posparent="c1_back" pushed="true" posref="TL TL" x="-1" y="1"
656                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
657                                                                 color="125 32 30"
658                                                                 onclick_l="set" params_l="dblink=#dblink|value=0" />
660                 <ctrl type="button" button_type="radio_button" id="c2" posparent="c2_back" posref="TL TL" x="-1" y="1"
661                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
662                                                                 color="171 122 52"
663                                                                 onclick_l="set" params_l="dblink=#dblink|value=1" />
665                 <ctrl type="button" button_type="radio_button" id="c3" posparent="c3_back" posref="TL TL" x="-1" y="1"
666                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
667                                                                 color="70 88 39"
668                                                                 onclick_l="set" params_l="dblink=#dblink|value=2" />
670                 <ctrl type="button" button_type="radio_button" id="c4" posparent="c4_back" posref="TL TL" x="-1" y="1"
671                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
672                                                                 color="46 82 68"
673                                                                 onclick_l="set" params_l="dblink=#dblink|value=3" />
675                 <ctrl type="button" button_type="radio_button" id="c5" posparent="c5_back" posref="TL TL" x="-1" y="1"
676                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
677                                                                 color="45 70 103"
678                                                                 onclick_l="set" params_l="dblink=#dblink|value=4" />
680                 <ctrl type="button" button_type="radio_button" id="c6" posparent="c6_back" posref="TL TL" x="-1" y="1"
681                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
682                                                                 color="57 48 82"
683                                                                 onclick_l="set" params_l="dblink=#dblink|value=5" />
685                 <ctrl type="button" button_type="radio_button" id="c7" posparent="c7_back" posref="TL TL" x="-1" y="1"
686                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
687                                                                 color="130 130 129"
688                                                                 onclick_l="set" params_l="dblink=#dblink|value=6" />
690                 <ctrl type="button" button_type="radio_button" id="c8" posparent="c8_back" posref="TL TL" x="-1" y="1"
691                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
692                                                                 color="47 47 45"
693                                                                 onclick_l="set" params_l="dblink=#dblink|value=7" />
694         </group>
696 </template>
700 <proc id="proc_big_female">
701         <action handler="set" params="target_property=ui:outgame:appear:female:pushed|value=1" />
702         <action handler="proc" params="proc_appear_choice_sex|value=1" />
703 </proc>
705 <proc id="proc_big_male">
706         <action handler="set" params="target_property=ui:outgame:appear:male:pushed|value=1" />
707         <action handler="proc" params="proc_appear_choice_sex|value=0" />
708 </proc>
710 <proc id="proc_female_over">
711         <action handler="play_sound" params="name=specie_but_over" />
712         <action handler="set" params="target_property=ui:outgame:appear:female2:col_normal|value='0 0 0 0'" />
713         <action handler="set" params="target_property=ui:outgame:appear:male2:col_normal|value='0 0 0 196'" />
714 </proc>
716 <proc id="proc_male_over">
717         <action handler="play_sound" params="name=specie_but_over" />
718         <action handler="set" params="target_property=ui:outgame:appear:male2:col_normal|value='0 0 0 0'" />
719         <action handler="set" params="target_property=ui:outgame:appear:female2:col_normal|value='0 0 0 196'" />
720 </proc>
722 <!-- *************** -->
723 <!-- * MAIN WINDOW * -->
724 <!-- *************** -->
726 <group id="appear" w="800" h="600" posref="MM MM"
727                                                 on_active="proc" on_active_params="proc_appear_start">
730         <!-- BLACK BACK -->
731         <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" />
734         <!-- Title -->
735         <view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiAppearTitle" fontsize="20"/>
738         <!-- TIMELINE -->
739         <group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16" >
740                 <view type="bitmap" id="b4" posref="MM MR" x="0" y="0" texture="time_button.tga" global_color="false" />
741                 <view type="bitmap" id="b5" posref="MM ML" x="0" y="0" texture="time_button.tga" global_color="false" />
742                 <view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
743                 <view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
744                 <view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="272" h="4" global_color="false" />
745                 <view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="272" h="4" global_color="false" />
746         </group>
749         <!-- Buttons SEX -->
750         <ctrl type="button" button_type="radio_button" id="female" posref="BL MM" x="372" y="32"
751                                                                         tx_normal="logo_female.tga" tx_over="button_blank_over.tga" tx_pushed="logo_female_pushed.tga"
752                                                                         onover="play_sound" params_over="name=appear_but_over"
753                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_appear_choice_sex|value=1" tooltip="uiFemale"/>
755         <ctrl type="button" button_type="radio_button" id="male" posref="BL MM" x="428" y="32"
756                                                                         tx_normal="logo_male.tga" tx_over="button_blank_over.tga" tx_pushed="logo_male_pushed.tga"
757                                                                         onover="play_sound" params_over="name=appear_but_over"
758                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_appear_choice_sex|value=0" tooltip="uiMale"/>
764         <!-- Home & Help -->
765         <!-- Removed for Beta 1
766         <ctrl type="button" id="help" button_type="push_button" posref="TR MM" x="-24" y="-16"
767                 tx_normal="button_help.tga" tx_pushed="button_help.tga" tx_over="button_help_over.tga"
768                 onover="play_sound" params_over="name=generic_help_over"
769                 onclick_l="launch_help" params_l="url=help_outgame.html" tooltip="uiHelp" />
770         -->
772         <ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16"
773                 tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga"
774                 onover="play_sound" params_over="name=generic_home_over"
775                 onclick_l="proc" params_l="proc_appear_home_screen" tooltip="uiReturnCharSel" />
778         <!-- Buttons timeline -->
779         <ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
780                 tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga"
781                 onover="play_sound" params_over="name=generic_prev_over"
782                 onclick_l="proc" params_l="proc_appear_back_screen" tooltip="uiPrevStep"/>
784         <ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
785                 tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga"
786                 onover="play_sound" params_over="name=generic_next_over"
787                 onclick_l="proc" params_l="proc_appear_next_screen" tooltip="uiNextStep"/>
788         <link expr="ne(@UI:TEMP:APPEARCLICKSEX,-1)" target="next:active" />
794         <!-- vue 3D du perso -->
795         <scene3d id="char3d" x="0" y="-32" w="800" h="488" posref="TL TL" curcam="cam" render_layer="-2"
796                                                 user_interaction="true" rotz_factor="0.017"
797                                                 roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
798                                                 dist_factor="0.005" dist_limit_min="2.0" dist_limit_max="3.0"
799                                                 ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
801                 <character3d id="charmal" dblink="UI:TEMP:CHAR3D_MALE" pos="0.8 26.5 0.0" rot="0.0 0.0 0.0" />
802                 <character3d id="charfem" dblink="UI:TEMP:CHAR3D_FEMALE" pos="-0.8 26.5 0.0" rot="0.0 0.0 0.0" />
804                 <camera id="cam" fov="80" pos="0.0 24.0 2.2" target="0.0 26.5 2.2" roll="0" />
805                 <camera id="camface" fov="28" pos="0.0 25.3 2.2" target="0.0 26.5 2.2" roll="0" />
807                 <light id="back" pos="0.0 28.5 2.4" color="255 128 0" near="2.5" far="4.0" />
808                 <light id="lgt_m" pos="1.36 25.3 2.48" color="255 255 255" near="2.0" far="2.5" />
809                 <light id="lgt_f" pos="-1.36 25.3 2.48" color="255 255 255" near="2.0" far="2.5" />
811                 <ig id="env" name="outgame_fyros.ig" pos="0 0 0" active="false" />
813                 <shape id="shadow_male" name="shadow.shape" pos="0.8 26.5 0.85" rot="0.0 0.0 0.0" />
814                 <shape id="shadow_female" name="shadow.shape" pos="-0.8 26.5 0.85" rot="0.0 0.0 0.0" />
816                 <auto_anim name="waterfall01_maserre.anim"/>
817                 <auto_anim name="waterfall02_maserre.anim"/>
818         </scene3d>
822         <scene3d id="char3dface" x="400" y="-32" w="400" h="244" posref="TR TR" reference="char3d" curcam="camface" render_layer="-2"
823                                                 user_interaction="true" rotz_factor="0.017"
824                                                 roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
825                                                 dist_factor="0.005" dist_limit_min="0.9" dist_limit_max="1.5" >
826         </scene3d>
827         <link expr="ne(@UI:TEMP:APPEARCLICKSEX,-1)" target="char3dface:active" />
832         <!-- BIG BUTTONS col_over="40 73 34 128"-->
834         <ctrl type="button" id="female2" button_type="push_button" posref="TL TL" x="0" y="-32" sizeref="w2h" w="0" h="-112" scale="true"
835                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 128" col_pushed="0 0 0 0" col_over="255 255 255 0"
836                         onover="proc" params_over="proc_female_over"
837                         onclick_l="proc" params_l="proc_big_female" />
839         <ctrl type="button" id="male2" button_type="push_button" posparent="female2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true"
840                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 128" col_pushed="0 0 0 0" col_over="255 255 255 0"
841                         onover="proc" params_over="proc_male_over"
842                         onclick_l="proc" params_l="proc_big_male" />
846         <!-- ADVANCED OPTIONS : body -->
847         <group id="advopt_body" posref="TR TR" x="400" y="-276" w="400" h="244" active="false" >
848                 <!-- Height -->
849                 <instance template="slider" id="bk1" posref="BM BM" x="4" y="166" w="136" h="8" />
851                 <view type="text" id="title1" posparent="bk1" posref="TL BL" x="-8" y="4" hardtext="uiHeight" color="255 255 255 255" fontsize="10"/>
853                 <ctrl type="scroll" id="scroll1" posparent="bk1" posref="MM MM" x="0" y="0" w="124" h="12"
854                                                         vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT" tracksize="12"
855                                                         onscrollend="proc" params="proc_height_camface" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
856                                                         tx_bottomleft="slide_l.tga"/>
857                 <!-- Torso -->
858                 <instance template="slider" id="bk2" posref="BM BM" x="4" y="134" w="136" h="8" />
860                 <view type="text" id="title2" posparent="bk2" posref="TL BL" x="-8" y="4" hardtext="uiTorso" color="255 255 255 255" fontsize="10"/>
862                 <ctrl type="scroll" id="scroll2" posparent="bk2" posref="MM MM" x="0" y="0" w="124" h="12"
863                                                         vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:TORSOWIDTH" tracksize="12"
864                                                         onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
865                                                         tx_bottomleft="slide_l.tga"/>
866                 <!-- Arms -->
867                 <instance template="slider" id="bk3" posref="BM BM" x="4" y="102" w="136" h="8" />
869                 <view type="text" id="title3" posparent="bk3" posref="TL BL" x="-8" y="4" hardtext="uiArms" color="255 255 255 255" fontsize="10"/>
871                 <ctrl type="scroll" id="scroll3" posparent="bk3" posref="MM MM" x="0" y="0" w="124" h="12"
872                                                         vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:ARMSWIDTH" tracksize="12"
873                                                         onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
874                                                         tx_bottomleft="slide_l.tga"/>
875                 <!-- Legs -->
876                 <instance template="slider" id="bk4" posref="BM BM" x="4" y="70" w="136" h="8" />
878                 <view type="text" id="title4" posparent="bk4" posref="TL BL" x="-8" y="4" hardtext="uiLegs" color="255 255 255 255" fontsize="10"/>
880                 <ctrl type="scroll" id="scroll4" posparent="bk4" posref="MM MM" x="0" y="0" w="124" h="12"
881                                                         vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:LEGSWIDTH" tracksize="12"
882                                                         onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
883                                                         tx_bottomleft="slide_l.tga"/>
885         </group>
886         <link expr="eq(@UI:TEMP:APPEARCLICKBFC,0)" target="advopt_body:active" />
887         <link expr="depends(@UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT)" action="proc" params="proc_appear_propagate" />
888         <link expr="depends(@UI:TEMP:CHAR3D:VPC:TORSOWIDTH)" action="proc" params="proc_appear_propagate" />
889         <link expr="depends(@UI:TEMP:CHAR3D:VPC:ARMSWIDTH)" action="proc" params="proc_appear_propagate" />
890         <link expr="depends(@UI:TEMP:CHAR3D:VPC:LEGSWIDTH)" action="proc" params="proc_appear_propagate" />
892         <!-- ADVANCED OPTIONS : face -->
893         <group id="advopt_face" posref="TR TR" x="400" y="-276" w="400" h="244" active="false" >
895                 <view type="text" id="face_custom" posref="TL TL" x="16" y="-8" hardtext="uiShape" color="255 255 255 255" fontsize="14"/>
897                 <view type="text" id="hair_custom" posref="TL TL" x="200" y="-8" hardtext="uiHair" color="255 255 255 255" fontsize="14"/>
898                 <view type="text" id="haircut_custom" posref="TL BL" x="204" y="-36" hardtext="uiHaircut" color="192 192 192 255" fontsize="10"/>
899                 <view type="text" id="hair_color_custom" posref="TL BL" x="204" y="-64" hardtext="uiColor" color="192 192 192 255" fontsize="10"/>
901                 <view type="text" id="tatoo_custom" posref="TL TL" x="200" y="-124" hardtext="uiTatoos" color="255 255 255 255" fontsize="14"/>
903                 <view type="text" id="eyes_custom" posref="TL TL" x="200" y="-168" hardtext="uiEyes" color="255 255 255 255" fontsize="14"/>
906                 <instance template="appearmttslider" nb="1" y="-40" />
907                 <instance template="appearmttslider" nb="2" y="-68" />
908                 <instance template="appearmttslider" nb="3" y="-96" />
909                 <instance template="appearmttslider" nb="4" y="-124" />
910                 <instance template="appearmttslider" nb="5" y="-152" />
911                 <instance template="appearmttslider" nb="6" y="-180" />
912                 <instance template="appearmttslider" nb="7" y="-208" />
914                 <view type="text" id="face1" posref="TL BL" x="20" y="-36" hardtext="uiFace1Fy" color="192 192 192 255" fontsize="10"/>
915                 <view type="text" id="face2" posref="BL BL" x="0" y="-28" posparent="face1" hardtext="uiFace2Fy" color="192 192 192 255" fontsize="10"/>
916                 <view type="text" id="face3" posref="BL BL" x="0" y="-28" posparent="face2" hardtext="uiFace3Fy" color="192 192 192 255" fontsize="10"/>
917                 <view type="text" id="face4" posref="BL BL" x="0" y="-28" posparent="face3" hardtext="uiFace4Fy" color="192 192 192 255" fontsize="10"/>
918                 <view type="text" id="face5" posref="BL BL" x="0" y="-28" posparent="face4" hardtext="uiFace5Fy" color="192 192 192 255" fontsize="10"/>
919                 <view type="text" id="face6" posref="BL BL" x="0" y="-28" posparent="face5" hardtext="uiFace6Fy" color="192 192 192 255" fontsize="10"/>
920                 <view type="text" id="face7" posref="BL BL" x="0" y="-28" posparent="face6" hardtext="uiFace7Fy" color="192 192 192 255" fontsize="10"/>
923                 <group id="eyes" posparent="eyes_custom" posref="BL TL" x="8" y="-8" w="168" h="20" >
925                         <view type="bitmap" id="eyes_c1_back" posref="ML ML" x="2" y="0" texture="but_fake.tga" color="172 62 7" scale="true" w="18" h="18" />
926                         <view type="bitmap" id="eyes_c2_back" posparent="eyes_c1_back" posref="TR TL" x="6" texture="but_fake.tga" color="232 204 48" scale="true" w="18" h="18" />
927                         <view type="bitmap" id="eyes_c3_back" posparent="eyes_c2_back" posref="TR TL" x="6" texture="but_fake.tga" color="69 186 17" scale="true" w="18" h="18" />
928                         <view type="bitmap" id="eyes_c4_back" posparent="eyes_c3_back" posref="TR TL" x="6" texture="but_fake.tga" color="17 112 186" scale="true" w="18" h="18" />
929                         <view type="bitmap" id="eyes_c5_back" posparent="eyes_c4_back" posref="TR TL" x="6" texture="but_fake.tga" color="136 17 186" scale="true" w="18" h="18" />
930                         <view type="bitmap" id="eyes_c6_back" posparent="eyes_c5_back" posref="TR TL" x="6" texture="but_fake.tga" color="186 17 140" scale="true" w="18" h="18" />
931                         <view type="bitmap" id="eyes_c7_back" posparent="eyes_c6_back" posref="TR TL" x="6" texture="but_fake.tga" color="172 172 172" scale="true" w="18" h="18" />
933                         <ctrl type="button" button_type="radio_button" id="c1" posparent="eyes_c1_back" pushed="true" posref="TL TL" x="-1" y="1"
934                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
935                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c1_back:color')"
936                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=0" />
938                         <ctrl type="button" button_type="radio_button" id="c2" posparent="eyes_c2_back" pushed="true" posref="TL TL" x="-1" y="1"
939                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
940                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c2_back:color')"
941                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=1" />
943                         <ctrl type="button" button_type="radio_button" id="c3" posparent="eyes_c3_back" pushed="true" posref="TL TL" x="-1" y="1"
944                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
945                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c3_back:color')"
946                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=2" />
948                         <ctrl type="button" button_type="radio_button" id="c4" posparent="eyes_c4_back" pushed="true" posref="TL TL" x="-1" y="1"
949                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
950                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c4_back:color')"
951                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=3" />
953                         <ctrl type="button" button_type="radio_button" id="c5" posparent="eyes_c5_back" pushed="true" posref="TL TL" x="-1" y="1"
954                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
955                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c5_back:color')"
956                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=4" />
958                         <ctrl type="button" button_type="radio_button" id="c6" posparent="eyes_c6_back" pushed="true" posref="TL TL" x="-1" y="1"
959                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
960                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c6_back:color')"
961                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=5" />
963                         <ctrl type="button" button_type="radio_button" id="c7" posparent="eyes_c7_back" pushed="true" posref="TL TL" x="-1" y="1"
964                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
965                                                                 color="getprop('ui:outgame:appear:eyes:eyes_c7_back:color')"
966                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPC:EYESCOLOR|value=6" />
967                 </group>
973                 <group id="haircut" posparent="haircut_custom" posref="BL TL" x="8" y="-2" w="168" h="12" >
976                         <instance template="slider" id="bkh" posref="ML ML" w="136" h="8" />
978                         <ctrl type="scroll" id="scrollh" posparent="bkh" posref="MM MM" x="0" y="0" w="124" h="12"
979                                                         vertical="false" align="L" min="0" max="6" value="UI:TEMP:HAIRCUT" tracksize="12"
980                                                         onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
981                                                         tx_bottomleft="slide_l.tga" />
982                 </group>
984                 <link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_appear_change_haircut" />
988                 <group id="haircolor" posparent="hair_color_custom" posref="BL TL" x="8" y="-8" w="168" h="20" >
990                         <view type="bitmap" id="hair_c1_back" posref="ML ML" x="2" y="0" texture="but_fake.tga" color="214 214 214" scale="true" w="18" h="18" />
991                         <view type="bitmap" id="hair_c2_back" posparent="hair_c1_back" posref="TR TL" x="6" texture="but_fake.tga" color="121 121 121" scale="true" w="18" h="18" />
992                         <view type="bitmap" id="hair_c3_back" posparent="hair_c2_back" posref="TR TL" x="6" texture="but_fake.tga" color="50 50 50" scale="true" w="18" h="18" />
993                         <view type="bitmap" id="hair_c4_back" posparent="hair_c3_back" posref="TR TL" x="6" texture="but_fake.tga" color="117 92 35" scale="true" w="18" h="18" />
994                         <view type="bitmap" id="hair_c5_back" posparent="hair_c4_back" posref="TR TL" x="6" texture="but_fake.tga" color="189 95 3" scale="true" w="18" h="18" />
995                         <view type="bitmap" id="hair_c6_back" posparent="hair_c5_back" posref="TR TL" x="6" texture="but_fake.tga" color="175 153 17" scale="true" w="18" h="18" />
999                         <ctrl type="button" button_type="radio_button" id="c1" posparent="hair_c1_back" pushed="true" posref="TL TL" x="-1" y="1"
1000                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1001                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c1_back:color')"
1002                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
1004                         <ctrl type="button" button_type="radio_button" id="c2" posparent="hair_c2_back" pushed="true" posref="TL TL" x="-1" y="1"
1005                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1006                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c2_back:color')"
1007                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=1" />
1009                         <ctrl type="button" button_type="radio_button" id="c3" posparent="hair_c3_back" pushed="true" posref="TL TL" x="-1" y="1"
1010                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1011                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c3_back:color')"
1012                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=2" />
1014                         <ctrl type="button" button_type="radio_button" id="c4" posparent="hair_c4_back" pushed="true" posref="TL TL" x="-1" y="1"
1015                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1016                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c4_back:color')"
1017                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=3" />
1019                         <ctrl type="button" button_type="radio_button" id="c5" posparent="hair_c5_back" pushed="true" posref="TL TL" x="-1" y="1"
1020                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1021                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c5_back:color')"
1022                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=4" />
1024                         <ctrl type="button" button_type="radio_button" id="c6" posparent="hair_c6_back" pushed="true" posref="TL TL" x="-1" y="1"
1025                                                                 tx_normal="but_color.tga" tx_over="but_color_over.tga" tx_pushed="but_color_selected.tga"
1026                                                                 color="getprop('ui:outgame:appear:haircolor:hair_c6_back:color')"
1027                                                                 onclick_l="set" params_l="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=5" />
1028                 </group>
1031                 <instance template="slider" id="bkt" posparent="tatoo_custom" posref="BL TL" x="12" y="-8" w="136" h="8" />
1032                 <ctrl type="scroll" id="scrollt" posparent="bkt" posref="MM MM" x="0" y="0" w="124" h="12"
1033                                                         vertical="false" align="L" min="0" max="31" value="UI:TEMP:CHAR3D:VPC:TATTOO" tracksize="12"
1034                                                         onscroll="" params="" tx_topright="slide_r.tga" tx_middle="slide_m.tga"
1035                                                         tx_bottomleft="slide_l.tga"/>
1037         </group>
1038         <link expr="eq(@UI:TEMP:APPEARCLICKBFC,1)" target="advopt_face:active" />
1039         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET1)"  action="proc" params="proc_appear_propagate" />
1040         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET2)"  action="proc" params="proc_appear_propagate" />
1041         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET3)"  action="proc" params="proc_appear_propagate" />
1042         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET4)"  action="proc" params="proc_appear_propagate" />
1043         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET5)"  action="proc" params="proc_appear_propagate" />
1044         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET6)"  action="proc" params="proc_appear_propagate" />
1045         <link expr="depends(@UI:TEMP:CHAR3D:VPC:MORPHTARGET7)"  action="proc" params="proc_appear_propagate" />
1046         <link expr="depends(@UI:TEMP:CHAR3D:VPC:EYESCOLOR)"             action="proc" params="proc_appear_propagate" />
1047         <link expr="depends(@UI:TEMP:CHAR3D:VPA:HATMODEL)"              action="proc" params="proc_appear_propagate" />
1048         <link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)"              action="proc" params="proc_appear_propagate" />
1049         <link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)"                action="proc" params="proc_appear_propagate" />
1051         <!-- ADVANCED OPTIONS : clothes-->
1052         <group id="advopt_clothes" posref="TR TR" x="0" y="-276" w="400" h="244" active="false" >
1054                 <instance template="colthes_color" id="l1" title="uiTorso"   dblink="UI:TEMP:CHAR3D:VPA:JACKETCOLOR"  posref="TL TL" x="60" y="-40" />
1055                 <instance template="colthes_color" id="l2" title="uiArmpad"  dblink="UI:TEMP:CHAR3D:VPA:ARMCOLOR"         posparent="l1" posref="BL TL" x="0" y="-8" />
1056                 <instance template="colthes_color" id="l3" title="uiGloves"  dblink="UI:TEMP:CHAR3D:VPB:HANDSCOLOR"       posparent="l2" posref="BL TL" x="0" y="-8" />
1057                 <instance template="colthes_color" id="l4" title="uiTrouser" dblink="UI:TEMP:CHAR3D:VPA:TROUSERCOLOR" posparent="l3" posref="BL TL" x="0" y="-8" />
1058                 <instance template="colthes_color" id="l5" title="uiFeet"        dblink="UI:TEMP:CHAR3D:VPB:FEETCOLOR"    posparent="l4" posref="BL TL" x="0" y="-8" />
1060         </group>
1061         <link expr="eq(@UI:TEMP:APPEARCLICKBFC,2)" target="advopt_clothes:active" />
1062         <!-- not with ...vpa:hatcolor already done for advopt_face -->
1063         <link expr="depends(@UI:TEMP:CHAR3D:VPA:JACKETCOLOR)"   action="proc" params="proc_appear_propagate" />
1064         <link expr="depends(@UI:TEMP:CHAR3D:VPA:ARMCOLOR)"              action="proc" params="proc_appear_propagate" />
1065         <link expr="depends(@UI:TEMP:CHAR3D:VPB:HANDSCOLOR)"    action="proc" params="proc_appear_propagate" />
1066         <link expr="depends(@UI:TEMP:CHAR3D:VPA:TROUSERCOLOR)"  action="proc" params="proc_appear_propagate" />
1067         <link expr="depends(@UI:TEMP:CHAR3D:VPB:FEETCOLOR)"             action="proc" params="proc_appear_propagate" />
1069         <!-- BLACK BOX (sert a faire les transition...) -->
1070         <view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="0" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" />
1071         <view type="bitmap" id="blackbox2" posref="TR TR" x="400" y="-276" render_layer="1" texture="blank.tga" color="0 0 0 255" scale="true" w="400" h="244" global_color="false" />
1072         <link expr="ne(@UI:TEMP:APPEARCLICKSEX,-1)" target="blackbox2:active" />
1074         <view type="bitmap" id="blackboxface" posref="TR TR" x="400" y="-32" w="400" h="488" render_layer="1" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
1076         <!-- BORDERS -->
1077         <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" />
1078         <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" />
1079         <view type="bitmap" id="vertical_line" posparent="char3d" posref="MR MR" x="0" y="0"  texture="border_ver.tga" scale="true" w="1" h="488" render_layer="2" global_color="false" />
1080         <view type="bitmap" id="mid_line" posref="BL TL" posparent="char3dface" x="0" y="0" texture="border_hor.tga" scale="true" w="400" h="1" render_layer="2" global_color="false" />
1081         <link expr="ne(@UI:TEMP:APPEARCLICKSEX,-1)" target="vertical_line:active" />
1082         <link expr="ne(@UI:TEMP:APPEARCLICKSEX,-1)" target="mid_line:active" />
1087         <!-- OPTIONS : body face clothes -->
1088         <group id="options" posref="BL TL" x="800" y="96" w="800" h="40" >
1090                 <ctrl type="button" id="body" button_type="radio_button" posref="TL TL" x="224" render_layer="2"
1091                         tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
1092                         onover="play_sound" params_over="name=generic_bb_over"
1093                         over_when_pushed="false" onclick_l="proc" params_l="proc_appear_choice_bfc|value=0" />
1095                 <ctrl type="button" id="face" button_type="radio_button" posref="TL TL" x="448" render_layer="2"
1096                         tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
1097                         onover="play_sound" params_over="name=generic_bb_over"
1098                         over_when_pushed="false" onclick_l="proc" params_l="proc_appear_choice_bfc|value=1" />
1099 <!--
1100                 <ctrl type="button" id="clothes" button_type="radio_button" posref="TL TL" x="560" render_layer="2"
1101                         tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
1102                         onover="play_sound" params_over="name=generic_bb_over"
1103                         over_when_pushed="false" onclick_l="proc" params_l="proc_appear_choice_bfc|value=2" />
1105                 <view type="text" id="title1" posparent="body" posref="MM MM" x="-4" y="4" hardtext="uiBody" color="255 255 255 255" fontsize="12" render_layer="2" />
1106                 <view type="text" id="title2" posparent="face" posref="MM MM" x="-4" y="4" hardtext="uiFace" color="255 255 255 255" fontsize="12" render_layer="2" />
1107 <!--
1108                 <view type="text" id="title3" posparent="clothes" posref="MM MM" x="-4" y="4" hardtext="uiClothes" color="255 255 255 255" fontsize="12" render_layer="2" />
1110         </group>
1112         <!-- HELP -->
1113         <group id="help_box" w="320" h="240" posref="MM MM" active="false" group_onclick_l="proc" group_params_l="proc_nothing" >
1114                 <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" />
1115                 <instance template="window_border" id="bord" posref="MM MM" />
1116                 <view type="text" id="title_help" posref="TL TL" x="8" y="-8" hardtext="uiHelpTitle" fontsize="12" />
1117                 <ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8"
1118                         onover="play_sound" params_over="name=generic_help_close_over"
1119                         tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga"
1120                         onclick_l="proc" params_l="proc_appear_close_help" tooltip="uiClose" />
1121         </group>
1124 </group>
1126 <link expr="eq(@UI:CURRENT_SCREEN, %screen_appear)" target="appear:active" />
1130 <!-- ANIMATION -->
1132 <!-- Intro -->
1133 <anim id="anim_appear_intro" duration="1.0" on_finish="proc" on_finish_params="proc_appear_start2" >
1135         <track type="linear" target="appear:bg:h,appear:blackbox:h">
1136                 <key time="0.1" value="0" />
1137                 <key time="0.35" value="488" />
1138         </track>
1140         <track type="linear" target="appear:bg:y,appear:blackbox:y">
1141                 <key time="0.1" value="-276" />
1142                 <key time="0.35" value="-32" />
1143         </track>
1145         <track type="linear" target="appear:title:y">
1146                 <key time="0.0" value="20" />
1147                 <key time="1.0" value="-6" />
1148         </track>
1150         <track type="linear" target="appear:timeline:alpha">
1151                 <key time="0.0" value="0" />
1152                 <key time="1.0" value="255" />
1153         </track>
1155         <track type="linear" target="appear:blackbox:alpha">
1156                 <key time="0.0" value="255" />
1157                 <key time="1.0" value="255" />
1158         </track>
1160         <track type="linear" target="appear:back:alpha">
1161                 <key time="0.0" value="0" />
1162                 <key time="1.0" value="255" />
1163         </track>
1165         <track type="linear" target="appear:male:alpha,appear:female:alpha">
1166                 <key time="0.0" value="0" />
1167                 <key time="1.0" value="255" />
1168         </track>
1170 </anim>
1172 <anim id="anim_appear_intro2" duration="1.0" on_finish="proc" on_finish_params="proc_appear_big_buttons_on" >
1174         <track type="linear" target="appear:blackbox:alpha">
1175                 <key time="0.0" value="255" />
1176                 <key time="1.0" value="0" />
1177         </track>
1179 </anim>
1181 <!-- outro -->
1182 <anim id="anim_appear_outro" duration="1.0" on_finish="proc" on_finish_params="proc_appear_finish2" >
1184         <track type="linear" target="appear:blackbox:alpha,appear:blackbox2:alpha">
1185                 <key time="0.0" value="0" />
1186                 <key time="1.0" value="255" />
1187         </track>
1189         <track type="linear" target="appear:timeline:alpha">
1190                 <key time="0.0" value="255" />
1191                 <key time="1.0" value="0" />
1192         </track>
1194         <track type="linear" target="appear:back:alpha,appear:male:alpha,appear:female:alpha">
1195                 <key time="0.0" value="255" />
1196                 <key time="1.0" value="0" />
1197         </track>
1199         <track type="linear" target="appear:title:y">
1200                 <key time="0.0" value="-6" />
1201                 <key time="1.0" value="20" />
1202         </track>
1204 </anim>
1206 <anim id="anim_appear_outro2" duration="1.0" on_finish="proc" on_finish_params="proc_appear_finish3" >
1208         <track type="linear" target="appear:bg:h,appear:blackbox:h">
1209                 <key time="0.1" value="488" />
1210                 <key time="0.35" value="0" />
1211         </track>
1213         <track type="linear" target="appear:bg:y,appear:blackbox:y">
1214                 <key time="0.1" value="-32" />
1215                 <key time="0.35" value="-276" />
1216         </track>
1218 </anim>
1220 <!-- display undisplay body face clothes -->
1221 <anim id="anim_appear_display_infos" duration="1.0" >
1223         <track type="linear" target="appear:options:x">
1224                 <key time="0.0" value="800" />
1225                 <key time="1.0" value="0" />
1226         </track>
1228         <track type="linear" target="appear:advopt_body:x,appear:advopt_face:x,appear:advopt_clothes:x">
1229                 <key time="0.0" value="400" />
1230                 <key time="1.0" value="0" />
1231         </track>
1233         <track type="linear" target="appear:next:alpha">
1234                 <key time="0.0" value="0" />
1235                 <key time="1.0" value="255" />
1236         </track>
1238 </anim>
1240 <anim id="anim_appear_undisplay_infos" duration="1.0" >
1242         <track type="linear" target="appear:options:x">
1243                 <key time="0.0" value="0" />
1244                 <key time="1.0" value="-800" />
1245         </track>
1246 <!--
1247         <track type="linear" target="appear:advopt_body:x,appear:advopt_face:x,appear:advopt_clothes:x">
1248                 <key time="0.0" value="400" />
1249                 <key time="1.0" value="0" />
1250         </track>
1252         <track type="linear" target="appear:next:alpha">
1253                 <key time="0.0" value="255" />
1254                 <key time="1.0" value="0" />
1255         </track>
1257 </anim>
1259 <anim id="anim_appear_bfc" duration="0.5" on_finish="proc" on_finish_params="proc_appear_choice_bfc2" >
1261         <track type="linear" target="appear:blackbox2:alpha">
1262                 <key time="0.0" value="0" />
1263                 <key time="0.5" value="255" />
1264         </track>
1266 </anim>
1268 <anim id="anim_appear_bfc2" duration="0.5" >
1270         <track type="linear" target="appear:blackbox2:alpha">
1271                 <key time="0.0" value="255" />
1272                 <key time="0.5" value="0" />
1273         </track>
1275 </anim>
1277 <!-- 2 persos vers male -->
1278 <anim id="anim_appear_cam_mf_m" duration="1.5" >
1280         <track type="linear" target="appear:char3d:back:posx" >
1281                 <key time="0.0" value="0" />
1282                 <key time="1.0" value="1.0" />
1283         </track>
1285         <track type="linear" target="appear:char3d:lgt_f:colr,appear:char3d:lgt_f:colg,appear:char3d:lgt_f:colb" >
1286                 <key time="0.0" value="255" />
1287                 <key time="1.0" value="0" />
1288         </track>
1290         <track type="linear" target="appear:char3d:cam:posx,appear:char3d:cam:tgtx,appear:char3d:camface:posx,appear:char3d:camface:tgtx">
1291                 <key time="0.0" value="0.0" />
1292                 <key time="1.0" value="0.8" />
1293         </track>
1294 <!--
1295         <track type="linear" target="appear:char3d:cam:posy">
1296                 <key time="0.0" value="21.0" />
1297                 <key time="1.0" value="23.5" />
1298         </track>
1300         <track type="linear" target="appear:char3d:cam:posz">
1301                 <key time="0.0" value="2.5" />
1302                 <key time="1.0" value="2.4" />
1303         </track>
1305         <track type="linear" target="appear:char3d:camface:posz,appear:char3d:camface:tgtz" dynamic="true" >
1306                 <key time="0.0" value="2.2" />
1307                 <key time="1.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charmal:headz'))" />
1308         </track>
1309 <!--
1310         <track type="linear" target="appear:char3d:charfem:posx">
1311                 <key time="0.0" value="-0.8" />
1312                 <key time="1.0" value="-1.2" />
1313         </track>
1315         <track type="linear" target="appear:char3d:w">
1316                 <key time="0.0" value="800" />
1317                 <key time="1.0" value="400" />
1318         </track>
1320         <track type="linear" target="appear:char3dface:x,appear:blackbox2:x,appear:blackboxface:x">
1321                 <key time="0.0" value="400" />
1322                 <key time="1.0" value="0" />
1323         </track>
1325         <track type="linear" target="appear:blackboxface:alpha" >
1326                 <key time="1.0" value="255" />
1327                 <key time="1.5" value="0" />
1328         </track>
1330         <track type="linear" target="appear:char3d:cam:fov" dynamic="true" >
1331                 <key time="0.0" value="getprop('ui:outgame:appear:char3d:cam:fov')" />
1332                 <key time="1.0" value="sub(getprop('ui:outgame:appear:char3d:cam:fov'),30)" />
1333         </track>
1335 </anim>
1337 <!-- 2 persos vers female -->
1338 <anim id="anim_appear_cam_mf_f" duration="1.5" >
1340         <track type="linear" target="appear:char3d:back:posx" >
1341                 <key time="0.0" value="0" />
1342                 <key time="1.0" value="-1.0" />
1343         </track>
1345         <track type="linear" target="appear:char3d:lgt_m:colr,appear:char3d:lgt_m:colg,appear:char3d:lgt_m:colb" >
1346                 <key time="0.0" value="255" />
1347                 <key time="1.0" value="0" />
1348         </track>
1350         <track type="linear" target="appear:char3d:cam:posx,appear:char3d:cam:tgtx,appear:char3d:camface:posx,appear:char3d:camface:tgtx">
1351                 <key time="0.0" value="0.0" />
1352                 <key time="1.0" value="-0.8" />
1353         </track>
1354 <!--
1355         <track type="linear" target="appear:char3d:cam:posy">
1356                 <key time="0.0" value="21.0" />
1357                 <key time="1.0" value="23.5" />
1358         </track>
1360         <track type="linear" target="appear:char3d:cam:posz">
1361                 <key time="0.0" value="2.5" />
1362                 <key time="1.0" value="2.4" />
1363         </track>
1365         <track type="linear" target="appear:char3d:camface:posz,appear:char3d:camface:tgtz" dynamic="true" >
1366                 <key time="0.0" value="2.2" />
1367                 <key time="1.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charfem:headz'))" />
1368         </track>
1370         <track type="linear" target="appear:blackboxface:alpha" >
1371                 <key time="1.0" value="255" />
1372                 <key time="1.5" value="0" />
1373         </track>
1375 <!--
1376         <track type="linear" target="appear:char3d:charmal:posx">
1377                 <key time="0.0" value="0.8" />
1378                 <key time="1.0" value="1.2" />
1379         </track>
1381         <track type="linear" target="appear:char3d:w">
1382                 <key time="0.0" value="800" />
1383                 <key time="1.0" value="400" />
1384         </track>
1386         <track type="linear" target="appear:char3dface:x,appear:blackbox2:x,appear:blackboxface:x">
1387                 <key time="0.0" value="400" />
1388                 <key time="1.0" value="0" />
1389         </track>
1391         <track type="linear" target="appear:char3d:cam:fov" dynamic="true" >
1392                 <key time="0.0" value="getprop('ui:outgame:appear:char3d:cam:fov')" />
1393                 <key time="1.0" value="sub(getprop('ui:outgame:appear:char3d:cam:fov'),30)" />
1394         </track>
1396 </anim>
1398 <!-- male vers female -->
1399 <anim id="anim_appear_cam_m_f" duration="1.0" >
1401         <track type="linear" target="appear:char3d:back:posx" >
1402                 <key time="0.0" value="1.0" />
1403                 <key time="1.0" value="-1.0" />
1404         </track>
1406         <track type="linear" target="appear:char3d:lgt_m:colr,appear:char3d:lgt_m:colg,appear:char3d:lgt_m:colb" >
1407                 <key time="0.0" value="255" />
1408                 <key time="1.0" value="0" />
1409         </track>
1411         <track type="linear" target="appear:char3d:lgt_f:colr,appear:char3d:lgt_f:colg,appear:char3d:lgt_f:colb" >
1412                 <key time="0.0" value="0" />
1413                 <key time="1.0" value="255" />
1414         </track>
1416         <track type="linear" target="appear:char3d:cam:posx,appear:char3d:cam:tgtx,appear:char3d:camface:posx,appear:char3d:camface:tgtx">
1417                 <key time="0.0" value="0.8" />
1418                 <key time="1.0" value="-0.8" />
1419         </track>
1421         <track type="linear" target="appear:char3d:camface:posz,appear:char3d:camface:tgtz" dynamic="true" >
1422                 <key time="0.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charmal:headz'))" />
1423                 <key time="1.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charfem:headz'))" />
1424         </track>
1425 <!--
1426         <track type="linear" target="appear:char3d:cam:posy">
1427                 <key time="0.0" value="23.5" />
1428                 <key time="0.5" value="21.0" />
1429                 <key time="1.0" value="23.5" />
1430         </track>
1432         <track type="linear" target="appear:char3d:cam:posz">
1433                 <key time="0.0" value="2.4" />
1434                 <key time="0.5" value="2.5" />
1435                 <key time="1.0" value="2.4" />
1436         </track>
1438         <track type="linear" target="appear:char3d:charmal:posx">
1439                 <key time="0.0" value="0.8" />
1440                 <key time="1.0" value="1.2" />
1441         </track>
1443         <track type="linear" target="appear:char3d:charfem:posx">
1444                 <key time="0.0" value="-1.2" />
1445                 <key time="1.0" value="-0.8" />
1446         </track>
1448 </anim>
1451 <!-- female vers male -->
1452 <anim id="anim_appear_cam_f_m" duration="1.0" >
1454         <track type="linear" target="appear:char3d:back:posx" >
1455                 <key time="0.0" value="-1.0" />
1456                 <key time="1.0" value="1.0" />
1457         </track>
1459         <track type="linear" target="appear:char3d:lgt_m:colr,appear:char3d:lgt_m:colg,appear:char3d:lgt_m:colb" >
1460                 <key time="0.0" value="0" />
1461                 <key time="1.0" value="255" />
1462         </track>
1464         <track type="linear" target="appear:char3d:lgt_f:colr,appear:char3d:lgt_f:colg,appear:char3d:lgt_f:colb" >
1465                 <key time="0.0" value="255" />
1466                 <key time="1.0" value="0" />
1467         </track>
1469         <track type="linear" target="appear:char3d:cam:posx,appear:char3d:cam:tgtx,appear:char3d:camface:posx,appear:char3d:camface:tgtx">
1470                 <key time="0.0" value="-0.8" />
1471                 <key time="1.0" value="0.8" />
1472         </track>
1474         <track type="linear" target="appear:char3d:camface:posz,appear:char3d:camface:tgtz" dynamic="true" >
1475                 <key time="0.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charfem:headz'))" />
1476                 <key time="1.0" value="add(0.1,getprop('ui:outgame:appear:char3d:charmal:headz'))" />
1477         </track>
1478 <!--
1479         <track type="linear" target="appear:char3d:cam:posy">
1480                 <key time="0.0" value="23.5" />
1481                 <key time="0.5" value="21.0" />
1482                 <key time="1.0" value="23.5" />
1483         </track>
1485         <track type="linear" target="appear:char3d:cam:posz">
1486                 <key time="0.0" value="2.4" />
1487                 <key time="0.5" value="2.5" />
1488                 <key time="1.0" value="2.4" />
1489         </track>
1491         <track type="linear" target="appear:char3d:charmal:posx">
1492                 <key time="0.0" value="1.2" />
1493                 <key time="1.0" value="0.8" />
1494         </track>
1496         <track type="linear" target="appear:char3d:charfem:posx">
1497                 <key time="0.0" value="-0.8" />
1498                 <key time="1.0" value="-1.2" />
1499         </track>
1501 </anim>
1503 <template name="display_text" keep="true" posparent="parent" x="0" y="0" w="128" h="16" posref="TL TL" id="" title="" color="" >
1504         <group id="#id" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" >
1505                 <view type="text" id="score" posref="ML ML" x="0" y="0" hardtext="#title" shadow="true" fontsize="14" color="#color" />
1506         </group>
1507 </template>
1511 </interface_config>