Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation/data/levels/shieldTest.oxw @ 8595

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

Merging game immersion branch into presentation branch.

File size: 1.9 KB
Line 
1<LevelInfo
2 name = "Shield Testlevel"
3 description = "A simple Level with one shielded drone to shoot at"
4 tags = "test"
5/>
6
7<?lua
8  include("HUDTemplates3.oxo")
9  include("stats.oxo")
10  include("templates/spaceshipImmTest.oxt")
11  include("templates/lodInformation.oxt")
12?>
13
14<Level
15 name         = "shieldTL"
16 description  = "LEVEL-DESCRIPTION"
17>
18
19<templates>
20  <Template link=lodtemplate_default />
21</templates>
22
23<Scene
24   ambientlight = "0.8, 0.5, 0.5"
25   skybox       = "Orxonox/Starbox"
26>
27
28
29
30
31<Drone name="meineDrohne"
32    primarythrust= "80"
33    auxilarythrust= "10"
34    rotationthrust= "10"
35    mass= "50"
36    linearDamping= "0.9"
37    angularDamping= "0.7"
38
39    health= 100
40    maxhealth= 150
41    inithealth= 200
42
43    shieldhealth= 100
44    initialshieldhealth= 200
45    maxshieldhealth= 250
46
47    shieldabsorption= 1
48
49    reloadrate= "10"
50    reloadwaittime= 1
51
52>
53  <attached>
54    <Model scale="4" mesh="drone.mesh"/>
55  </attached>
56  <collisionShapes>
57    <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
58  </collisionShapes>
59</Drone>
60
61<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" />
62
63
64    <?lua
65      for i = 1, 10, 1 do
66    ?>
67      <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipimmtest />
68    <?lua end ?>
69
70    <GlobalShader compositor="Bloom" visible=false>
71      <events>
72        <visibility>
73          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
74        </visibility>
75      </events>
76    </GlobalShader>
77    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
78    <StaticEntity position="0,0,0" collisionType=static>
79      <collisionShapes>
80        <SphereCollisionShape radius="20" />
81      </collisionShapes>
82    </StaticEntity>
83
84  </Scene>
85</Level>
Note: See TracBrowser for help on using the repository browser.