Fix checkRpItemsPosition
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / outgame_crash.xml
blob436573f9299ed1a2c9a687ce813174304f27f3d5
1 <interface_config>
3 <root id="outgame" x="0" y="0" w="800" h="600" active="false" />
6 <proc id="proc_con_quit" >
7         <action handler="play_sound" params="name=charsel_quit_click" />
8         <action handler="stop_music" params="name=music_intro" />
9         <action handler="quit_ryzom" />
10 </proc>
13 <proc id="proc_startall_crash" >
14         <action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
15         <action handler="anim_start" params="anim=anim_crash" />
16         <action handler="anim_start" params="anim=anim_back_crash" />
17 </proc>
19 <proc id="proc_restart_back_crash" >
20         <action handler="anim_start" params="anim=anim_back_crash" />
21 </proc>
26 <group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" >
28         <!-- BLACK BACK -->
29         <view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
30                 global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
32         <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
35         <!-- ATYS -->
36         <scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" 
37                                                 ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
38                 
39                 <camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
41                 <light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
43                 <shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
44                 <shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
45                 <shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
47                 <fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
49         </scene3d>
52         <!-- Skip when click anywhere -->
53         <ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
54                 tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" 
55                 onover="play_sound" params_over="name=charsel_quit_over"
56                 onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
57                 
58         <view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20"/>
60         <!-- BORDERS -->
61         <view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
64 </group>
66 <!-- This link is used to display the right screen among the outgame screens -->
67 <link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
71 <!-- ANIMATIONS -->
73 <anim id="anim_crash" duration="90.0" disable_buttons="false" >
75         <track type="linear" target="crashing:back3d:atys:roty">
76                 <key time="0.0" value="0.0" />
77                 <key time="90.0" value="-360.0"/>
78         </track>
80         <track type="linear" target="crashing:back3d:atm1:roty">
81                 <key time="0.0" value="0.0" />
82                 <key time="90.0" value="-720.0"/>
83         </track>
84         
85         <track type="linear" target="crashing:back3d:atm2:roty">
86                 <key time="0.0" value="0.0" />
87                 <key time="90.0" value="720.0"/>
88         </track>
91         <track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
92                 <key time="0.0" value="0.0" tension="1.0" easefrom="1" />
93                 <key time="12.0" value="-10.0" tension="1.0" />
94         </track>
95         
96         <track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
97                 <key time="0.0" value="0.0" tension="1.0" easefrom="1" />
98                 <key time="12.0" value="-10.0" tension="1.0"  />
99         </track>
100         
101 </anim>
103 <anim id="anim_back_crash" duration="2.0" disable_buttons="false"
104                                                         on_finish="proc" on_finish_params="proc_restart_back_crash" >
105                                                         
106         <track type="linear" target="crashing:bg:alpha" dynamic="true">
107                 <key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
108                 <key time="0.4" value="rand(64,160)" />
109                 <key time="0.8" value="rand(64,160)" />
110                 <key time="1.2" value="rand(64,160)" />
111                 <key time="1.6" value="rand(64,160)" />
112                 <key time="2.0" value="rand(64,160)" />
113         </track>
114         
115 </anim>
117 </interface_config>