Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/skybox2/data/levels/templates/pickup_representation_templates.oxt @ 7178

Last change on this file since 7178 was 6524, checked in by dafrick, 15 years ago

Merged pickup branch into trunk. Yay. Persisting bugs will be fixed, very soon.

File size: 3.4 KB
Line 
1<Template name=smallhealthpickupRepresentation>
2    <PickupRepresentation>
3        <spawner-representation>
4            <StaticEntity>
5                <attached>
6                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
7                        <attached>
8                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.3 />
9                        </attached>
10                    </Billboard>
11                </attached>
12            </StaticEntity>
13        </spawner-representation>
14    </PickupRepresentation>
15</Template>
16
17<Template name=smallhealthpickup>
18  <HealthPickup
19    health = 10
20    healthType = "limited"
21    activationType = "immediate"
22    durationType = "once"
23  />
24</Template>
25
26<Template name=mediumhealthpickupRepresentation>
27    <PickupRepresentation>
28        <spawner-representation>
29            <StaticEntity>
30                <attached>
31                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
32                        <attached>
33                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.5 />
34                        </attached>
35                    </Billboard>
36                </attached>
37            </StaticEntity>
38        </spawner-representation>
39    </PickupRepresentation>
40</Template>
41
42<Template name=mediumhealthpickup>
43  <HealthPickup
44    health = 50
45    healthType = "limited"
46    activationType = "immediate"
47    durationType = "once"
48  />
49</Template>
50
51<Template name=hugehealthpickupRepresentation>
52    <PickupRepresentation>
53        <spawner-representation>
54            <StaticEntity>
55                <attached>
56                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
57                        <attached>
58                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=0.7 />
59                        </attached>
60                    </Billboard>
61                </attached>
62            </StaticEntity>
63        </spawner-representation>
64    </PickupRepresentation>
65</Template>
66
67<Template name=hugehealthpickup>
68  <HealthPickup
69    health = 100
70    healthType = "limited"
71    activationType = "immediate"
72    durationType = "once"
73  />
74</Template>
75
76<Template name=crazyhealthpickupRepresentation>
77    <PickupRepresentation>
78        <spawner-representation>
79            <StaticEntity>
80                <attached>
81                    <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1>
82                        <attached>
83                            <Billboard position="0,0,0" colour="0.36,0.81,0.10" material="Cross" scale=1.2 />
84                        </attached>
85                    </Billboard>
86                </attached>
87            </StaticEntity>
88        </spawner-representation>
89    </PickupRepresentation>
90</Template>
91
92<Template name=crazyhealthpickup>
93  <HealthPickup
94    health = 1000
95    healthType = "permanent"
96    activationType = "immediate"
97    durationType = "once"
98  />
99</Template>
100
101<Template name=doublepickup>
102    <PickupCollection>
103        <pickupables>
104            <HealthPickup template=smallhealthpickup />
105            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
106        </pickupables>
107    </PickupCollection>
108</Template>
109   
Note: See TracBrowser for help on using the repository browser.