Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ai/data/levels/pickup.oxw @ 6782

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

drone, dronecontroller implemented

File size: 3.9 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/spaceship_assff.oxt")
8  include("templates/spaceship_pirate.oxt")
9  include("templates/pickup_representation_templates.oxt")
10?>
11
12<Level
13 name         = "Sample"
14 description  = "Just a few tests"
15>
16  <Scene
17    ambientlight = "0.8, 0.8, 0.8"
18    skybox       = "Orxonox/Starbox"
19  >
20
21<?lua
22  include("includes/pickups.oxi")
23?>
24
25    <Template name=droneTemplate>
26        <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7">
27        <attached>
28            <Model scale="10" mesh="drone.mesh"/>
29        </attached>
30        <collisionShapes>
31            <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
32        </collisionShapes>
33   
34
35    <weaponslots>
36      <WeaponSlot position="    0,   0,0" />
37    </weaponslots>
38    <weaponsets>
39      <WeaponSet firemode=0 />
40    </weaponsets>
41    <weapons>
42      <WeaponPack>
43        <links>
44          <DefaultWeaponmodeLink firemode=0 weaponmode=0 />
45        </links>
46        <Weapon>
47          <attached>
48            <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
49            <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
50          </attached>
51          <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
52          <HsW01 mode=0 munitionpershot=0 delay=0     material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
53        </Weapon>
54      </WeaponPack>
55    </weapons>
56
57
58        </Drone>
59     </Template>
60
61    <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
62        <pickup>
63            <DronePickup droneTemplate=droneTemplate />
64        </pickup>
65    </PickupSpawner>
66
67
68
69    <PickupSpawner position="-75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
70        <pickup>
71            <MetaPickup metaType="use" />
72        </pickup>
73    </PickupSpawner>
74
75    <PickupSpawner position="-50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
76        <pickup>
77            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=permanent />
78        </pickup>
79    </PickupSpawner>
80   
81    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
82        <pickup>
83            <HealthPickup template=smallhealthpickup />
84        </pickup>
85    </PickupSpawner>
86   
87    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
88        <pickup>
89            <HealthPickup template=mediumhealthpickup />
90        </pickup>
91    </PickupSpawner>
92   
93    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
94        <pickup>
95            <HealthPickup template=hugehealthpickup />
96        </pickup>
97    </PickupSpawner>
98   
99    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
100        <pickup>
101            <HealthPickup template=crazyhealthpickup />
102        </pickup>
103    </PickupSpawner>
104   
105    <PickupSpawner position="75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
106        <pickup>
107            <PickupCollection template=doublepickup />
108        </pickup>
109    </PickupSpawner>
110
111    <!--PickupSpawner position="100,100,100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
112        <pickup>
113            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
114        </pickup>
115    </PickupSpawner-->
116
117    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
118    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
119  </Scene>
120</Level>
Note: See TracBrowser for help on using the repository browser.