Fix checkRpItemsPosition
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / outgame_specie.xml
blobca798af0ab53eba2f2f3ec5743d2b9cf753770d3
1 <interface_config>
3 <root id="outgame" x="0" y="0" w="800" h="600" active="false" />
5 <variable entry="UI:TEMP:SPECIECLICKRACE"               type="sint64" value="-1"/>
6 <variable entry="UI:TEMP:SPECIECLICKINFO"               type="sint64" value="-1"/>
7 <variable entry="UI:TEMP:SPECIECLICKNEWRACE"    type="sint64" value="-1"/>
8 <variable entry="UI:TEMP:SPECIECLICKNEWINFO"    type="sint64" value="-1"/>
11 <proc id="specie_start">
13         <action handler="set" params="target_property=ui:outgame:specie:logos_species:h|value=mul(256.0,div(getprop('ui:outgame:specie:h'),600.0))" />
15         <action handler="reset_pushed" params="dblink=ui:outgame:specie" />
16         <action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
17         <action handler="proc" params="proc_create_persos_specie" />
18         
19         <action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" /> 
20         <action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" /> 
21         <action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" /> 
22         <action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" /> 
23         
24         <action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=mul(100.0,div(getprop('ui:outgame:specie:w'),800.0))" /> 
25         <action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=mul(300.0,div(getprop('ui:outgame:specie:w'),800.0))" /> 
26         <action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=mul(500.0,div(getprop('ui:outgame:specie:w'),800.0))" /> 
27         <action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=mul(700.0,div(getprop('ui:outgame:specie:w'),800.0))" /> 
28         
29         <action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
30         <action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
31         <action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
32         <action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
33         <action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
34         
35         
36         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie.tga'" />
37         
38         <action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=0" />
39         <action handler="set" params="target_property=ui:outgame:specie:char3d:y|value=-104" />
40         
41         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posx|value=0.0" />
42         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posy|value=20.0" />
43         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posz|value=2.2" />
44         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=0.0" />
45         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgty|value=26.5" />
46         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtz|value=1.8" />
47         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=50.0" />
48         
49         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-2" />
50         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
51         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-2" />
52         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-1" />
53         <action handler="anim_start" params="anim=anim_specie_intro" />
54 </proc>
56 <proc id="specie_finish">
57         <action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
58         <action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
59         <action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
60         <action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
61         
62         <action handler="proc" params="proc_specie_close_help2" />
64         <action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKRACE,-1)" params="anim=undisplay_infos" />
65         <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:PEOPLE|dbsrc=UI:TEMP:SPECIECLICKRACE" />
66         <action handler="anim_start" params="anim=anim_specie_outro" />
67 </proc>
71 <proc id="proc_specie_big_buttons_on" >
72         <action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=1" />
73         <action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=1" />
74         <action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=1" />
75         <action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=1" />
76 </proc>
79 <!-- PROC CREATE PERSOS 3D SPECIE -->
81 <proc id="proc_create_persos_specie">
83         <action handler="proc" params="proc_random" />
84         <action handler="copy" params="dbdst=UI:TEMP:FY_MALE|dbsrc=UI:TEMP:RANDOM" />
85         
86         <action handler="proc" params="proc_random" />
87         <action handler="copy" params="dbdst=UI:TEMP:FY_FEMALE|dbsrc=UI:TEMP:RANDOM" />
88         
89         <action handler="proc" params="proc_random" />
90         <action handler="copy" params="dbdst=UI:TEMP:MA_MALE|dbsrc=UI:TEMP:RANDOM" />
91         
92         <action handler="proc" params="proc_random" />
93         <action handler="copy" params="dbdst=UI:TEMP:MA_FEMALE|dbsrc=UI:TEMP:RANDOM" />
94         
95         <action handler="proc" params="proc_random" />
96         <action handler="copy" params="dbdst=UI:TEMP:TR_MALE|dbsrc=UI:TEMP:RANDOM" />
97         
98         <action handler="proc" params="proc_random" />
99         <action handler="copy" params="dbdst=UI:TEMP:TR_FEMALE|dbsrc=UI:TEMP:RANDOM" />
100         
101         <action handler="proc" params="proc_random" />
102         <action handler="copy" params="dbdst=UI:TEMP:ZO_MALE|dbsrc=UI:TEMP:RANDOM" />
103         
104         <action handler="proc" params="proc_random" />
105         <action handler="copy" params="dbdst=UI:TEMP:ZO_FEMALE|dbsrc=UI:TEMP:RANDOM" />
106         
107         
108         <action handler="set" params="dblink=UI:TEMP:FY_MALE:PEOPLE|value=0" />
109         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:SEX|value=0" />
110         
112         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
113         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
114         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSMODEL|value=0" />
115         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
116         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
117         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium01.sitem','HEAD')" />
120         
121         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETCOLOR|value=1" />
122         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMCOLOR|value=1" />
123         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSCOLOR|value=1" />
124         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERCOLOR|value=1" />
125         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETCOLOR|value=1" />
126         <action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATCOLOR|value=3" />
127         
128         
129                 
130         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:PEOPLE|value=0" />
131         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:SEX|value=1" />
132         
133         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
134         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
135         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSMODEL|value=0" />
136         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
137         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
138         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_long01.sitem','HEAD')" />
139         
140         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETCOLOR|value=1" />
141         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMCOLOR|value=1" />
142         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSCOLOR|value=1" />
143         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERCOLOR|value=1" />
144         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETCOLOR|value=1" />
145         <action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATCOLOR|value=4" />
146         
147         
148         
149         <action handler="set" params="dblink=UI:TEMP:MA_MALE:PEOPLE|value=1" />
150         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:SEX|value=0" />
151         
152         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
153         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
154         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSMODEL|value=0" />
155         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
156         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
157         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long01.sitem','HEAD')" />
158         
159         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETCOLOR|value=7" />
160         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMCOLOR|value=7" />
161         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSCOLOR|value=7" />
162         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERCOLOR|value=7" />
163         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETCOLOR|value=7" />
164         <action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATCOLOR|value=2" />
165         
166         
167         
168         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:PEOPLE|value=1" />
169         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:SEX|value=1" />
170         
171         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
172         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
173         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSMODEL|value=0" />
174         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
175         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
176         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_medium01.sitem','HEAD')" />
177         
178         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETCOLOR|value=7" />
179         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMCOLOR|value=7" />
180         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSCOLOR|value=7" />
181         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERCOLOR|value=7" />
182         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETCOLOR|value=7" />
183         <action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATCOLOR|value=3" />
184         
185         
186         
187         <action handler="set" params="dblink=UI:TEMP:TR_MALE:PEOPLE|value=2" />
188         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:SEX|value=0" />
189         
190         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
191         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
192         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSMODEL|value=0" />
193         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
194         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
195         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_medium01.sitem','HEAD')" />
196         
197         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETCOLOR|value=0" />
198         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMCOLOR|value=0" />
199         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSCOLOR|value=0" />
200         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERCOLOR|value=0" />
201         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETCOLOR|value=0" />
202         <action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATCOLOR|value=4" />
203         
204         
205         
206         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:PEOPLE|value=2" />
207         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:SEX|value=1" />
208         
209         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
210         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
211         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSMODEL|value=0" />
212         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
213         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
214         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_long01.sitem','HEAD')" />
215         
216         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETCOLOR|value=0" />
217         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMCOLOR|value=0" />
218         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSCOLOR|value=0" />
219         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERCOLOR|value=0" />
220         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETCOLOR|value=0" />
221         <action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATCOLOR|value=2" />
222         
223         
224         
225         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:PEOPLE|value=3" />
226         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:SEX|value=0" />
227         
228         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET1|value=rand(0,7)" />
229         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET2|value=rand(0,7)" />
230         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET3|value=rand(0,7)" />
231         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET4|value=rand(0,7)" />
232         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET5|value=rand(0,7)" />
233         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET6|value=rand(0,7)" />
234         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET7|value=rand(0,7)" />
235         
236         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:TATTOO|value=rand(0,15)" />
237         
238         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
239         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
240         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSMODEL|value=0" />
241         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
242         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
243         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_shave01.sitem','HEAD')" />
244         
245         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETCOLOR|value=3" />
246         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMCOLOR|value=3" />
247         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSCOLOR|value=3" />
248         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERCOLOR|value=3" />
249         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETCOLOR|value=3" />
250         <action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATCOLOR|value=3" />
251         
252         
253         
254         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:PEOPLE|value=3" />
255         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:SEX|value=1" />
256         
257         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET1|value=rand(0,7)" />
258         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET2|value=rand(0,7)" />
259         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET3|value=rand(0,7)" />
260         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET4|value=rand(0,7)" />
261         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET5|value=rand(0,7)" />
262         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET6|value=rand(0,7)" />
263         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET7|value=rand(0,7)" />
264         
265         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:TATTOO|value=rand(0,15)" />
266         
267         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
268         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
269         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSMODEL|value=0" />
270         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
271         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
272         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_short01.sitem','HEAD')" />
273         
274         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETCOLOR|value=3" />
275         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMCOLOR|value=3" />
276         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSCOLOR|value=3" />
277         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERCOLOR|value=3" />
278         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETCOLOR|value=3" />
279         <action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATCOLOR|value=4" />
280                 
281                 
282                 
283         <action handler="set" params="target_property=ui:outgame:specie:char3d:fy_m:anim|value=0" />
284         <action handler="set" params="target_property=ui:outgame:specie:char3d:fy_f:anim|value=0" />
285         <action handler="set" params="target_property=ui:outgame:specie:char3d:ma_m:anim|value=0" />
286         <action handler="set" params="target_property=ui:outgame:specie:char3d:ma_f:anim|value=0" />
287         <action handler="set" params="target_property=ui:outgame:specie:char3d:tr_m:anim|value=0" />
288         <action handler="set" params="target_property=ui:outgame:specie:char3d:tr_f:anim|value=0" />
289         <action handler="set" params="target_property=ui:outgame:specie:char3d:zo_m:anim|value=0" />
290         <action handler="set" params="target_property=ui:outgame:specie:char3d:zo_f:anim|value=0" />
291         
292 </proc>
295 <proc id="proc_random">
297         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET1|value=0" />
298         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET2|value=0" />
299         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET3|value=0" />
300         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET4|value=0" />
301         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET5|value=0" />
302         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET6|value=0" />
303         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET7|value=0" />
305         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:EYESCOLOR|value=rand(0,6)" />
306         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:HATCOLOR|value=rand(0,5)" />
307         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TATTOO|value=0" />
308         
309         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:CHARACTERHEIGHT|value=rand(0,14)" />
310         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TORSOWIDTH|value=rand(4,10)" />
311         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:ARMSWIDTH|value=rand(4,10)" />
312         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:LEGSWIDTH|value=rand(4,10)" />
314         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONRIGHTHAND|value=0" />
315         <action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONLEFTHAND|value=0" />
316 </proc>
318 <!-- Warning people not active on server -->
319 <proc id="proc_warning_people">
320         <action handler="set"  params="target_property=ui:outgame:warning_box:text:hardtext|value='uiWarningPeople'" />
321         <action handler="enter_modal" params="group=ui:outgame:warning_box" />
322         <action handler="set" params="target='ui:outgame:warning_box:x'|value=div(sub(getprop('ui:outgame:w'),getprop('ui:outgame:warning_box:w')),2)" />
323         <action handler="set" params="target='ui:outgame:warning_box:y'|value=div(sub(getprop('ui:outgame:h'),getprop('ui:outgame:warning_box:h')),2)" />
324 </proc>
326 <!-- PROC SELECT SPECIE -->
327 <proc id="proc_specie_click_race">
328         <action handler="play_sound" params="name=specie_but_click" />
329         <!-- if People NOT active on server -->
330         <action handler="proc" cond="not(isPeopleActive(@0))" params="proc_warning_people" />
331         <!-- if People active on server -->
332         <action handler="proc" params="proc_specie_click_race_bis|value=@0" />
333 </proc>
335 <!-- Ok People active on server -->
336 <proc id="proc_specie_click_race_bis">
337         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
338         <action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
339         <action handler="anim_start" params="anim=anim_specie_logo_fade_out" />
340 </proc>
342 <proc id="proc_specie_click_race2">
344         <action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=0" /> 
345         <action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=0" /> 
346         <action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=0" /> 
347         <action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=0" /> 
349         <action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
350         <action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
351         <action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
352         <action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
353 <!--            
354         <action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,1)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
355         <action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
358         <action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
360         <action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=display_infos" />
362         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,0)" params="specie_fyros_selected" />
363         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="specie_matis_selected" />
364         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="specie_tryker_selected" />
365         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="specie_zorai_selected" />
366         
367         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=1" />
368         <!--
369         <action handler="set" params="target_property=ui:outgame:specie:options:culture:pushed|value=1" />
370         -->
371         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,0)" params="proc_specie_back_select_fy" />
372         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="proc_specie_back_select_ma" />
373         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="proc_specie_back_select_tr" />
374         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="proc_specie_back_select_zo" />
375         
376         <action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
377         <action handler="anim_start" params="anim=anim_specie_logo_fade_in" />
378 </proc>
380         
382 <proc id="specie_fyros_selected">
383         <action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" /> 
384         <action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=100" /> 
385         
386         <action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultFy'" />
387         <action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoFy'" />
388         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_fy.tga'" />
389         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_fyros_culture.tga'" />
390         <action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
391         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-2.25" />
392         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" /> 
393 </proc>
396 <proc id="specie_matis_selected">
397         <action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" /> 
398         <action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=100" /> 
399         
400         <action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultMa'" />
401         <action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoMa'" />
402         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_ma.tga'" />
403         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_matis_culture.tga'" />
404         <action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
405         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-0.75" />
406         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" /> 
407 </proc>
410 <proc id="specie_tryker_selected">
411         <action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" /> 
412         <action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=100" /> 
413         
414         <action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultTr'" />
415         <action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoTr'" />
416         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_tr.tga'" />
417         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_tryker_culture.tga'" />
418         <action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
419         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=0.75" />
420         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" /> 
421 </proc>
424 <proc id="specie_zorai_selected">
425         <action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" /> 
426         <action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=100" /> 
427         
428         <action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultZo'" />
429         <action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoZo'" />
430         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_zo.tga'" />
431         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_zorai_culture.tga'" />
432         <action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=sub(0,mul(getprop('ui:outgame:specie:w'),0.75))" />
433         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=2.25" />
434         <action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" /> 
435 </proc>
437 <!--
438 <proc id="proc_specie_click_race">
439         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
440         <action handler="anim_start" cond="and(ne(@UI:TEMP:SPECIECLICKRACE,-1),eq(@UI:TEMP:SPECIECLICKINFO,-1))" params="anim=anim_specie_logo_fade_out" />
441         <action handler="proc" cond="or(eq(@UI:TEMP:SPECIECLICKRACE,-1),ne(@UI:TEMP:SPECIECLICKINFO,-1))" params="proc_specie_click_race2" />
442 </proc>
444 <proc id="proc_specie_click_race2">
445         <action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKRACE,-1)" params="anim=display_infos" />
446         
447         <action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,0),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_fyros_selected" />
448         <action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,1),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_matis_selected" />
449         <action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,2),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_tryker_selected" />
450         <action handler="anim_start" cond="and(eq(@UI:TEMP:SPECIECLICKNEWRACE,3),eq(@UI:TEMP:SPECIECLICKRACE,-1))" params="anim=anim_zorai_selected" />
451         
452         <action handler="copy" cond="eq(@UI:TEMP:SPECIECLICKINFO,-1)" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
453         <action handler="anim_start" cond="and(ne(@UI:TEMP:SPECIECLICKRACE,-1),eq(@UI:TEMP:SPECIECLICKINFO,-1))" params="anim=anim_specie_logo_fade_in" />
455         <action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=anim_specie_back_fade_out" />
456 </proc>
459 <!-- called at the end of the anim_specie_back_fade_out -->
461 <proc id="proc_specie_back_select" >
462         <action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKINFO|dbsrc=UI:TEMP:SPECIECLICKNEWINFO" />
463         <action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
464         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,0)" params="proc_specie_back_select_fy" />
465         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,1)" params="proc_specie_back_select_ma" />
466         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,2)" params="proc_specie_back_select_tr" />
467         <action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,3)" params="proc_specie_back_select_zo" />
468         <action handler="anim_start" params="anim=anim_specie_back_fade_in" />
469 </proc>
471 <!--
472 <proc id="proc_specie_back_select_fy" >
473         <! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_fyros_people.tga'" />- >
475         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_fyros_culture.tga'" />
477         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_fyros_eco_1.tga'" />
478         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_fyros_eco_2.tga'" />
479         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_fyros_eco_3.tga'" />
480         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_fyros_eco_4.tga'" />
481 </proc>
483 <!--
484 <proc id="proc_specie_back_select_ma" >
485         <! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_matis_people.tga'" />- >
487         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_matis_culture.tga'" />
489         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_matis_eco_1.tga'" />
490         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_matis_eco_2.tga'" />
491         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_matis_eco_3.tga'" />
492         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_matis_eco_4.tga'" />
493 </proc>
495 <!--
496 <proc id="proc_specie_back_select_tr" >
497         <! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_tryker_people.tga'" />- >
499         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_tryker_culture.tga'" />
501         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_tryker_eco_1.tga'" />
502         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_tryker_eco_2.tga'" />
503         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_tryker_eco_3.tga'" />
504         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_tryker_eco_4.tga'" />
505 </proc>
507 <!--
508 <proc id="proc_specie_back_select_zo" >
509         <! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_zorai_people.tga'" />- >
511         <action handler="set" params="target_property=ui:outgame:specie:culture_bg:bk_culture:texture|value='bk_zorai_culture.tga'" />
513         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_spring:texture|value='bk_zorai_eco_1.tga'" />
514         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_summer:texture|value='bk_zorai_eco_2.tga'" />
515         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_fall:texture|value='bk_zorai_eco_3.tga'" />
516         <action handler="set" params="target_property=ui:outgame:specie:ecosys_bg:bk_winter:texture|value='bk_zorai_eco_4.tga'" />
517 </proc>
519 <!-- PROC INFOS KIND -->
521 <proc id="proc_specie_click_info" >
522         <action handler="play_sound" params="name=generic_bb_click" />
523         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWINFO|@0" />
524         <action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=-200" />
525         <action handler="anim_start" params="anim=anim_specie_back_fade_out" />
526 </proc>
528 <!-- restart anim of the background if we are in ecosystem mode (loop through 4 images) -->
529 <!--
530 <proc id="proc_restart_anim_bk_loop">
531         <action handler="anim_stop" params="anim=anim_bk_loop" />
532         <action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="anim=anim_bk_loop" />
533 </proc>
536 <proc id="proc_specie_click_help">
537         <action handler="play_sound" params="name=generic_help_click" />
538         <action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=1" />
539 </proc>
541 <proc id="proc_specie_close_click_help">
542         <action handler="play_sound" params="name=generic_help_close_click" />
543         <action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
544 </proc>
546 <proc id="proc_specie_close_help2">
547         <action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
548 </proc>
551 <!-- BACK -->
552 <proc id="proc_specie_home_screen">
553         <action handler="play_sound" params="name=generic_home_click" />
554         <action handler="proc" params="proc_specie_prev_screen" />
555 </proc>
557 <proc id="proc_specie_back_screen">
558         <action handler="play_sound" params="name=generic_prev_click" />
559         <action handler="proc" params="proc_specie_prev_screen" />
560 </proc>
562 <proc id="proc_specie_prev_screen">
563         <action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_select" />
564         <action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
565         <action handler="anim_start" params="anim=undisplay_back" />
566         <action handler="proc" params="specie_finish" />
567 </proc>
569 <!-- NEXT -->
570 <proc id="proc_specie_next_screen">
571         <action handler="play_sound" params="name=generic_next_click" />
572         <action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_appear" />
573         <action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
574         <action handler="proc" params="specie_finish" />
575 </proc>
577 <!-- called when anim_specie_outro is finished -->
578 <proc id="proc_specie_when_outro_finished">
579         <action handler="set" params="target_property=ui:outgame:specie:specie_bg:alpha|value=0" />
580         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-1" />
581         <action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
582         <action handler="anim_start"  params="anim=anim_specie_outro2" />
583 </proc>
585 <proc id="proc_specie_when_outro_finished2">
586         <action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
587 </proc>
589 <proc id="proc_big_fyros">
590         <action handler="set" params="target_property=ui:outgame:specie:fyros:pushed|value=1" />
591         <action handler="proc" params="proc_specie_click_race|0" />
592 </proc>
594 <proc id="proc_big_matis">
595         <action handler="set" params="target_property=ui:outgame:specie:matis:pushed|value=1" />
596         <action handler="proc" params="proc_specie_click_race|1" />
597 </proc>
599 <proc id="proc_big_tryker">
600         <action handler="set" params="target_property=ui:outgame:specie:tryker:pushed|value=1" />
601         <action handler="proc" params="proc_specie_click_race|2" />
602 </proc>
604 <proc id="proc_big_zorai">
605         <action handler="set" params="target_property=ui:outgame:specie:zorai:pushed|value=1" />
606         <action handler="proc" params="proc_specie_click_race|3" />
607 </proc>
611 <!-- ***************** -->
612 <!-- * Select Specie * -->
613 <!-- ***************** -->
615 <group id="specie" w="800" h="600" posref="MM MM"
616                                 on_active="proc" on_active_params="specie_start">
619         <!-- BLACK BACK -->
620         <view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-3" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
621         
623         <!-- SPECIE BACK -->
624         <view type="bitmap" id="specie_bg"  render_layer="-2" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
625         global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="bk_specie.tga" sizeref="wh" w="0" h="-112" scale="true" />
626         
628         <!-- CULTURE -->
629         <group id="culture_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL"  render_layer="0" active="false" >
630                 
631                 <view type="bitmap" id="bk_culture" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
632                         global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_culture.tga" sizeref="wh" w="0" h="0" scale="true" /> 
633                                                         
634         </group>
635         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="culture_bg:active" />
638         <!-- ECOSYSTEM -->
639         <!--
640         <group id="ecosys_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL"  render_layer="0"
641                                                         on_active="anim_start" on_active_params="anim=anim_bk_loop" 
642                                                         on_deactive="anim_stop" on_deactive_params="anim=anim_bk_loop" active="false" >
643                 
644                 <view type="bitmap" id="bk_spring" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
645                         global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_1.tga" sizeref="wh" w="0" h="0" scale="true" /> 
646                                                         
647                 <view type="bitmap" id="bk_summer" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
648                         global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_2.tga" sizeref="wh" w="0" h="0" scale="true" /> 
649                                                         
650                 <view type="bitmap" id="bk_fall" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
651                         global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_3.tga" sizeref="wh" w="0" h="0" scale="true" /> 
652                                                         
653                 <view type="bitmap" id="bk_winter" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
654                         global_color="false" color="255 255 255 0" posref="TL TL" x="0" y="0" texture="bk_matis_eco_4.tga" sizeref="wh" w="0" h="0" scale="true" /> 
656         </group>
657         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="ecosys_bg:active" />
658         -->
661         <!-- BIG BUTTONS -->
662         
663         <ctrl type="button" id="fyros2" button_type="push_button" posref="TL TL" x="0" y="-32" sizeref="w4h" w="0" h="-112" scale="true" 
664                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
665                         onover="play_sound" params_over="name=specie_but_over"
666                         onclick_l="proc" params_l="proc_big_fyros" />
668         <ctrl type="button" id="matis2" button_type="push_button" posparent="fyros2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true" 
669                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
670                         onover="play_sound" params_over="name=specie_but_over"
671                         onclick_l="proc" params_l="proc_big_matis" />
673         <ctrl type="button" id="tryker2" button_type="push_button" posparent="matis2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true" 
674                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
675                         onover="play_sound" params_over="name=specie_but_over"
676                         onclick_l="proc" params_l="proc_big_tryker" />
678         <ctrl type="button" id="zorai2" button_type="push_button" posparent="tryker2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" h="0" scale="true" 
679                         tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="40 73 34 128"
680                         onover="play_sound" params_over="name=specie_but_over"
681                         onclick_l="proc" params_l="proc_big_zorai" />
684         <!-- TITLE SPECIES -->
686         <view type="text" id="fy_txt" render_layer="0" posref="BL MM" x="100" y="104" hardtext="uiFyName" fontsize="26" color="255 255 255 255" active="false" />
687         <view type="text" id="ma_txt" render_layer="0" posref="BL MM" x="300" y="104" hardtext="uiMaName" fontsize="26" color="255 255 255 255" active="false" />
688         <view type="text" id="tr_txt" render_layer="0" posref="BL MM" x="500" y="104" hardtext="uiTrName" fontsize="26" color="255 255 255 255" active="false" />
689         <view type="text" id="zo_txt" render_layer="0" posref="BL MM" x="700" y="104" hardtext="uiZoName" fontsize="26" color="255 255 255 255" active="false" />
690         
691                 
692         <!-- LOGOS -->
693         
694         <view type="bitmap" id="logos_species" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="256"
695                 global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="logo_species.tga"  active="false" 
696                 sizeref="w" w="0" h="256" scale="true" />
697         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,-1)" target="logos_species:active" />
698         
699         <!-- vue 3D du perso -->
701         <scene3d id="char3d" x="0" y="-62" sizeref="wh" w="0" h="-112" posref="TL TL" curcam="cam" render_layer="-2"
702                                                 user_interaction="false" rotz_factor="0.017"
703                                                 roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
704                                                 dist_factor="0.005" dist_limit_min="2.0" dist_limit_max="3.0"   
705                                                 ambient="0 0 0" sun_ambient="96 96 96" sun_diffuse="255 255 255" sun_specular="255 255 255" sun_direction="-1.0 1.0 -1.0" >
706                                                 
707                 <character3d id="fy_m" dblink="UI:TEMP:FY_MALE" pos="-2.6 26.5 0.0" rot="0.0 0.0 45.0" />
708                 <character3d id="fy_f" dblink="UI:TEMP:FY_FEMALE" pos="-2.0 26.5 0.1" rot="0.0 0.0 30.0" />
709                 
710                 <character3d id="ma_m" dblink="UI:TEMP:MA_MALE" pos="-1.0 26.5 0.0" rot="0.0 0.0 15.0" />
711                 <character3d id="ma_f" dblink="UI:TEMP:MA_FEMALE" pos="-0.4 26.5 0.1" rot="0.0 0.0 0.0" />
712                 
713                 <character3d id="tr_m" dblink="UI:TEMP:TR_MALE" pos="0.5 26.5 0.0" rot="0.0 0.0 0.0" />
714                 <character3d id="tr_f" dblink="UI:TEMP:TR_FEMALE" pos="1.1 26.5 0.1" rot="0.0 0.0 -15.0" />
715                 
716                 <character3d id="zo_m" dblink="UI:TEMP:ZO_MALE" pos="2.0 26.5 0.0" rot="0.0 0.0 -30.0" />
717                 <character3d id="zo_f" dblink="UI:TEMP:ZO_FEMALE" pos="2.6 26.5 0.1" rot="0.0 0.0 -45.0" />
718                 
719                 <camera id="cam" fov="120" pos="0.0 -10.0 2.2" target="0.0 26.5 2.2" roll="0" />
720         
721         </scene3d>
725         
726         <!-- PEOPLE -->
727 <!--    <group id="people_bg" w="800" h="488" x="0" y="-32" posref="TL TL" active="false" >
728                 
729                 <view type="bitmap" id="bk_people" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
730                         global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_people.tga" /> 
731                                                         
732         </group>
733         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,0)" target="people_bg:active" />
737         
738         
739         <!-- BLACK BACK -->
740         
741         <view type="bitmap" id="over_black" render_layer="-2" posref="TL TL" x="0" y="-32" texture="blank.tga" color="0 0 0 0" scale="true" w="290" h="488" global_color="false" />
742         
744         <!-- TEXTS CULTURE -->
745 <!--    
746         <view type="text" id="fy_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiFyCulture" fontsize="14" color="255 255 255 255" active="false" />
747         <view type="text" id="ma_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiMaCulture" fontsize="14" color="255 255 255 255" active="false"/>
748         <view type="text" id="tr_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiTrCulture" fontsize="14" color="255 255 255 255" active="false"/>
749         <view type="text" id="zo_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiZoCulture" fontsize="14" color="255 255 255 255" active="false"/>
750         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,0),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="fy_culture_txt:active" />
751         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,1),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="ma_culture_txt:active" />
752         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,2),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="tr_culture_txt:active" />
753         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,3),eq(@UI:TEMP:SPECIECLICKINFO,1))" target="zo_culture_txt:active" />
755         <!-- TEXTS ECOSYSTEMS -->
756 <!--
757         <view type="text" id="fy_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiFyEco" fontsize="14" color="255 255 255 255" active="false" />
758         <view type="text" id="ma_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiMaEco" fontsize="14" color="255 255 255 255" active="false"/>
759         <view type="text" id="tr_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiTrEco" fontsize="14" color="255 255 255 255" active="false"/>
760         <view type="text" id="zo_eco_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiZoEco" fontsize="14" color="255 255 255 255" active="false"/>
761         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,0),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="fy_eco_txt:active" />
762         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,1),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="ma_eco_txt:active" />
763         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,2),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="tr_eco_txt:active" />
764         <link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,3),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="zo_eco_txt:active" />
766         
767         <!-- TEXTS CULTURE -->
768         <group type="scroll_text" id="txt_culture" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true" >
769                 <group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
770                 <view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
771                 
772                 <group type="list" id="text_list" hardtext="uiCultFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3" 
773                                                                                         posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
774         </group>        
775         <view type="bitmap" id="cult_line" posparent="txt_culture" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
776         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="txt_culture:active" />
777         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="cult_line:active" />
778         
779         <!-- TEXTS ECOSYSTEM -->
780         <group type="scroll_text" id="txt_ecosystem" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true" >
781                 <group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
782                 <view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
783                 <group type="list" id="text_list" hardtext="uiEcoFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3" 
784                                                                                         posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
785         </group>
786         <view type="bitmap" id="eco_line" posparent="txt_ecosystem" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
787         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="txt_ecosystem:active" />
788         <link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="eco_line:active" />
790         
791         <!-- BLACK BOX (sert a faire les transition...) -->
792         <view type="bitmap" id="blackbox" posref="TR TR" x="0" y="-32" render_layer="1" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 0" scale="true" global_color="false" />
793         
794         
795         <!-- Title -->
796         <view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiSelCiv" fontsize="20"/>
797         
798         
800         <!-- TIMELINE -->
801         <group id="timeline" sizeref="w" w="-16" h="32" posref="BL BL" x="8" y="16" >
802                 <view type="bitmap" id="b1" posref="TL TL" x="364" y="0" texture="time_button.tga" global_color="false" />
803                 <view type="bitmap" id="b2" posparent="b1" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
804                 <view type="bitmap" id="b3" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
805                 <view type="bitmap" id="b4" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
806                 <view type="bitmap" id="b5" posparent="b1" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
807                 <view type="bitmap" id="b6" posparent="b5" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
808                 <view type="bitmap" id="b7" posparent="b6" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
809                 <view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
810                 <view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
811                 <view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="132" h="4" global_color="false" />
812                 <view type="bitmap" id="line" posref="MR MR" x="-64" y="0" texture="time_line.tga" scale="true" sizeref="w" w="-652" h="4" global_color="false" />
813         </group>
814         
815         
816         <!-- Buttons species -->
817         <ctrl type="button" button_type="radio_button" id="fyros" posref="BL MM" x="232" y="32"
818                                                                         tx_normal="logo_fy.tga" tx_over="button_blank_over.tga" tx_pushed="logo_fy_pushed.tga"
819                                                                         onover="play_sound" params_over="name=specie_but_over"
820                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|0" tooltip="uiFyName"/>
821                                                                         
822         <ctrl type="button" button_type="radio_button" id="matis" posref="BL MM" x="288" y="32"
823                                                                         tx_normal="logo_ma.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ma_pushed.tga"
824                                                                         onover="play_sound" params_over="name=specie_but_over"
825                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|1" tooltip="uiMaName"/>
827         <ctrl type="button" button_type="radio_button" id="tryker" posref="BL MM" x="344" y="32"
828                                                                         tx_normal="logo_tr.tga" tx_over="button_blank_over.tga" tx_pushed="logo_tr_pushed.tga"
829                                                                         onover="play_sound" params_over="name=specie_but_over"
830                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|2" tooltip="uiTrName"/>
831         
832         <ctrl type="button" button_type="radio_button" id="zorai" posref="BL MM" x="400" y="32"
833                                                                         tx_normal="logo_zo.tga" tx_over="button_blank_over.tga" tx_pushed="logo_zo_pushed.tga"
834                                                                         onover="play_sound" params_over="name=specie_but_over"
835                                                                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|3" tooltip="uiZoName"/>
836         
837         
838         <!-- Home & Help -->
839         <!-- Removed for Beta 1
840         <ctrl type="button" id="help" button_type="push_button" posref="TR MM" x="-24" y="-16"
841                 tx_normal="button_help.tga" tx_pushed="button_help.tga" tx_over="button_help_over.tga" 
842                 onover="play_sound" params_over="name=generic_help_over"
843                 onclick_l="launch_help" params_l="url=help_outgame.html" tooltip="uiHelp" />
844                 -->
845                 
846         <ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16"
847                 tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga" 
848                 onover="play_sound" params_over="name=generic_home_over"
849                 onclick_l="proc" params_l="proc_specie_home_screen" tooltip="uiReturnCharSel" />
851         <!-- BORDERS -->
852         <view type="bitmap" id="top_line" posref="TL TL" posparent="bg" x="0" y="1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
853         <view type="bitmap" id="bot_line" posref="BL BL" posparent="bg" x="0" y="-1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
854         <view type="bitmap" id="vertical_line" posref="TL TL" x="-1" y="-32"  texture="border_ver.tga" scale="true" w="1" sizeref="h" h="-112" global_color="false" />
857         <!-- Buttons timeline -->
858         <ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
859                 tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" 
860                 onover="play_sound" params_over="name=generic_prev_over"
861                 onclick_l="proc" params_l="proc_specie_back_screen" tooltip="uiPrevStep"/>
863         <ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" 
864                 tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" 
865                 onover="play_sound" params_over="name=generic_next_over"
866                 onclick_l="proc" params_l="proc_specie_next_screen" tooltip="uiNextStep"/>
867         <link expr="ne(@UI:TEMP:SPECIECLICKRACE,-1)" target="next:active" />
868         
869         
870         <group id="options" posref="BL TL" x="800" y="96" w="800" h="40" render_layer="2" >
871         <!--
872                 <ctrl type="button" id="culture" button_type="radio_button" posref="TL TL" x="224" render_layer="2"
873                         tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
874                         onover="play_sound" params_over="name=generic_bb_over"
875                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_info|value=1" />
877                 <ctrl type="button" id="ecosystem" button_type="radio_button" posref="TL TL" x="448" render_layer="2"
878                         tx_normal="big_button.tga" tx_pushed="big_button_over.tga" tx_over="big_button_over.tga" col_over="255 255 255 128"
879                         onover="play_sound" params_over="name=generic_bb_over"
880                         over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_info|value=2" />
881                         
882                 <view type="text" id="title1" posparent="culture"       render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiCulture"       color="255 255 255 255" fontsize="12"/>
883                 <view type="text" id="title2" posparent="ecosystem" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiEcosystem"         color="255 255 255 255" fontsize="12"/>
884         -->                             
885         </group>
886         
887                 
888         <!-- HELP -->
889         <group id="help_box" w="320" h="240" posref="MM MM" active="false" group_onclick_l="proc" group_params_l="proc_nothing" >
890                 <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" />
891                 <instance template="window_border" id="bord" posref="MM MM" />
892                 <view type="text" id="title_help" posref="TL TL" x="8" y="-8" hardtext="uiHelpTitle" fontsize="12" />
893                 <ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8"
894                         tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga"
895                         onover="play_sound" params_over="name=generic_help_close_over"
896                         onclick_l="proc" params_l="proc_specie_close_click_help" tooltip="uiClose" />
897                 
898         </group>
901 </group>
903 <link expr="eq(@UI:CURRENT_SCREEN, %screen_specie)" target="specie:active" />
907 <!-- ANIMATION -->
908 <!-- Intro -->
909 <anim id="anim_specie_intro" duration="3.0" on_finish="proc" on_finish_params="proc_specie_big_buttons_on" >
910         
911         
912         <track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true" >
913                 <key time="0.1" value="0" />
914                 <key time="0.35" value="sub(getprop('ui:outgame:specie:h'),112)" />
915         </track>
917         <track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true" >
918                 <key time="0.1" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
919                 <key time="0.35" value="-32" />
920         </track>
922         <track type="linear" target="specie:title:y">
923                 <key time="0.0" value="20" />
924                 <key time="1.0" value="-6" />
925         </track>
926         
927         <track type="linear" target="specie:timeline:alpha">
928                 <key time="0.0" value="0" />
929                 <key time="1.0" value="255" />
930         </track>
932         <track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
933                 <key time="0.5" value="0" />
934                 <key time="1.5" value="255" />
935         </track>
937         <track type="linear" target="specie:specie_bg:alpha">
938                 <key time="0.5" value="0" />
939                 <key time="1.5" value="255" />
940         </track>
942         <track type="linear" target="specie:back:alpha">
943                 <key time="1.5" value="0" />
944                 <key time="2.5" value="255" />
945         </track>
946         
947         <track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
948                 <key time="2.0" value="0" />
949                 <key time="2.5" value="255" />
950         </track>
951         
952         <track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true" >
953                 <key time="2.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
954                 <key time="2.5" value="0" />
955         </track>
957         <track type="linear" target="specie:blackbox:alpha">
958                 <key time="2.5" value="255" />
959                 <key time="3.0" value="0" />
960         </track>
962         
963 </anim>
966 <!-- intro : called when the people/culture/ecosys must arrive -->
967 <anim id="display_infos" duration="1.0" >
969         <track type="linear" target="specie:options:x">
970                 <key time="0.0" value="800" />
971                 <key time="1.0" value="0" />
972         </track>
974         <track type="linear" target="specie:next:alpha">
975                 <key time="0.0" value="0" />
976                 <key time="1.0" value="255" />
977         </track>
978 <!--
979         <track type="linear" target="specie:over_black:alpha">
980                 <key time="0.5" value="0" />
981                 <key time="1.0" value="128" />
982         </track>
983         
984         <track type="linear" target="specie:vertical_line:x">
985                 <key time="0.0" value="-1" />
986                 <key time="0.5" value="290" />
987         </track>
988 -->     
989 </anim>
992 <!-- outro : called when the people/culture/ecosys must leave -->
993 <anim id="undisplay_infos" duration="1.0" >
996         <track type="linear" target="specie:specie_bg:alpha">
997                 <key time="0.0" value="255" />
998                 <key time="0.5" value="0" />
999         </track>
1001         <track type="linear" target="specie:options:x" dynamic="true" >
1002                 <key time="0.0" value="0" />
1003                 <key time="1.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
1004         </track>
1006         <track type="linear" target="specie:back:alpha,specie:next:alpha">
1007                 <key time="0.0" value="255" />
1008                 <key time="1.0" value="0" />
1009         </track>
1010 <!--
1011         <track type="linear" target="specie:over_black:alpha">
1012                 <key time="0.0" value="128" />
1013                 <key time="0.5" value="0" />
1014         </track>
1015         
1016         <track type="linear" target="specie:vertical_line:x">
1017                 <key time="0.0" value="290" />
1018                 <key time="0.5" value="-1" />
1019         </track>
1021 </anim>
1023 <!-- Outro called when BACK or NEXT buttons pressed -->
1024 <anim id="anim_specie_outro" duration="2.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished" >
1027         <track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
1028                 <key time="0.0" value="255" />
1029                 <key time="1.0" value="0" />
1030         </track>
1032         <track type="linear" target="specie:title:y">
1033                 <key time="1.0" value="-6" />
1034                 <key time="2.0" value="20" />
1035         </track>
1036         
1037         <track type="linear" target="specie:timeline:alpha">
1038                 <key time="0.0" value="255" />
1039                 <key time="1.5" value="0" />
1040         </track>
1042         <track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true" >
1043                 <key time="1.5" value="0" />
1044                 <key time="1.8" value="sub(0,getprop('ui:outgame:specie:w'))" />
1045         </track>
1047         <track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
1048                 <key time="1.5" value="255" />
1049                 <key time="1.8" value="0" />
1050         </track>
1052         <track type="linear" target="specie:blackbox:alpha">
1053                 <key time="0.0" value="0" />
1054                 <key time="0.5" value="255" />
1055         </track>
1056         
1057 </anim>
1059 <anim id="anim_specie_outro2" duration="0.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished2" >
1061         <track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true" >
1062                 <key time="0.0" value="sub(getprop('ui:outgame:specie:h'),112)" />
1063                 <key time="0.35" value="0" />
1064         </track>
1066         <track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true" >
1067                 <key time="0.0" value="-32" />
1068                 <key time="0.35" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
1069         </track>
1071 </anim>
1073 <!-- global ecosystem background loop -->
1074 <!--
1075 <anim id="anim_bk_loop" duration="8.0" disable_buttons="false"
1076                                                 on_finish="proc" on_finish_params="proc_restart_anim_bk_loop" >
1077         <track type="linear" target="specie:ecosys_bg:bk_spring:alpha">
1078                 <key time="0.0" value="255" />
1079                 <key time="1.0" value="255" />
1080                 <key time="2.0" value="0" />
1081                 <key time="7.0" value="0" />
1082                 <key time="8.0" value="255" />
1083         </track>
1084         
1085         <track type="linear" target="specie:ecosys_bg:bk_summer:alpha">
1086                 <key time="1.0" value="0" />
1087                 <key time="2.0" value="255" />
1088                 <key time="3.0" value="255" />
1089                 <key time="4.0" value="0" />
1090         </track>
1091         
1092         <track type="linear" target="specie:ecosys_bg:bk_fall:alpha">
1093                 <key time="3.0" value="0" />
1094                 <key time="4.0" value="255" />
1095                 <key time="5.0" value="255" />
1096                 <key time="6.0" value="0" />
1097         </track>
1098         
1099         <track type="linear" target="specie:ecosys_bg:bk_winter:alpha">
1100                 <key time="5.0" value="0" />
1101                 <key time="6.0" value="255" />
1102                 <key time="7.0" value="255" />
1103                 <key time="8.0" value="0" />
1104         </track>
1105 </anim>
1108 <!-- Background Fade -->
1110 <anim id="anim_specie_back_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_back_select">
1111         
1112         <track type="linear" target="specie:blackbox:alpha">
1113                 <key time="0.0" value="0" />
1114                 <key time="0.5" value="255" />
1115         </track>
1117 </anim>
1119 <anim id="anim_specie_back_fade_in" duration="0.5" >
1120         
1121         <track type="linear" target="specie:blackbox:alpha" >
1122                 <key time="0.0" value="255" />
1123                 <key time="0.5" value="0" />
1124         </track>
1126 </anim>
1128 <!-- Logo Fade -->
1130 <anim id="anim_specie_logo_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_click_race2" >
1131         
1132         <track type="linear" target="specie:blackbox:alpha">
1133                 <key time="0.0" value="0" />
1134                 <key time="0.5" value="255" />
1135         </track>
1136         
1137 </anim>
1139 <anim id="anim_specie_logo_fade_in" duration="0.5" >
1140         
1141         <track type="linear" target="specie:blackbox:alpha" >
1142                 <key time="0.0" value="255" />
1143                 <key time="0.5" value="0" />
1144         </track>
1145         
1146 </anim>
1149 <anim id="undisplay_back" duration="0.5" >
1150         <track type="linear" target="specie:back:alpha">
1151                 <key time="0.0" value="255" />
1152                 <key time="0.5" value="0" />
1153         </track>
1154 </anim>
1156 </interface_config>