Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ai/data/levels/templates/pickup_representation_templates.oxt @ 6918

Last change on this file since 6918 was 6918, checked in by gasserlu, 14 years ago

drone follows in realistic matter

File size: 4.7 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
111<Template name=droneTemplate>
112    <Drone name="meineDrohne"  mass= "50" linearDamping = "0.7" angularDamping = "0.9999999" primaryThrust_=250 auxilaryThrust_=250 rotationThrust_=50>
113        <attached>
114            <Model scale="1" mesh="drone.mesh"/>
115        </attached>
116        <collisionShapes>
117            <BoxCollisionShape position="0,0,0"      halfExtents="1, 1, 1" />
118        </collisionShapes>
119        <weaponslots>
120            <WeaponSlot position="    0,   0,0" />
121        </weaponslots>
122        <weaponsets>
123            <WeaponSet firemode=0 />
124        </weaponsets>
125        <weapons>
126            <WeaponPack>
127                <links>
128                    <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
129                </links>
130                <Weapon>
131                    <attached>
132                        <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
133                        <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
134                    </attached>
135                    <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
136                    <HsW01 mode=0 munitionpershot=0 delay=0     material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
137                </Weapon>
138            </WeaponPack>
139        </weapons>
140    </Drone>
141</Template>
Note: See TracBrowser for help on using the repository browser.