Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/pickup_representation_templates.oxt @ 6711

Last change on this file since 6711 was 6711, checked in by dafrick, 14 years ago

Merged pickup4 branch back to trunk.

File size: 4.5 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
110<Template name=usepickupRepresentation>
111    <PickupRepresentation>
112        <spawner-representation>
113            <StaticEntity>
114                <attached>
115                    <Billboard position="0,0,0" colour="0.60,0.97,0.23" material="Sphere2" scale=0.1>
116                        <attached>
117                            <Billboard position="0,0,0" colour="0.40,0.81,0.10" material="Arrow" scale=0.65 />
118                        </attached>
119                    </Billboard>
120                </attached>
121            </StaticEntity>
122        </spawner-representation>
123    </PickupRepresentation>
124</Template>
125
126<Template name=droppickupRepresentation>
127    <PickupRepresentation>
128        <spawner-representation>
129            <StaticEntity>
130                <attached>
131                    <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1>
132                        <attached>
133                            <Billboard position="0,0,0" colour="0.95,0.20,0.10" material="Arrow" scale=0.65 />
134                        </attached>
135                    </Billboard>
136                </attached>
137            </StaticEntity>
138        </spawner-representation>
139    </PickupRepresentation>
140</Template>
141   
Note: See TracBrowser for help on using the repository browser.