Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9302 was 8643, checked in by landauf, 14 years ago

set svn:eol-style to native, removed svn:executable property. no code changes.

  • Property svn:eol-style set to native
File size: 2.0 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<?lua include("includes/notifications.oxi") ?>
23
24<Scene
25   ambientlight = "0.8, 0.5, 0.5"
26   skybox       = "Orxonox/Starbox"
27>
28
29<Drone name="meineDrohne"
30    primarythrust= "80"
31    auxilarythrust= "10"
32    rotationthrust= "10"
33    mass= "50"
34    linearDamping= "0.9"
35    angularDamping= "0.7"
36
37    health= 100
38    maxhealth= 150
39    inithealth= 200
40
41    shieldhealth= 100
42    initialshieldhealth= 200
43    maxshieldhealth= 250
44
45    shieldabsorption= 1
46
47    reloadrate= "10"
48    reloadwaittime= 1
49
50>
51  <attached>
52    <Model scale="4" mesh="drone.mesh"/>
53  </attached>
54  <collisionShapes>
55    <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
56  </collisionShapes>
57</Drone>
58
59<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" />
60
61
62    <?lua
63      for i = 1, 10, 1 do
64    ?>
65      <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 />
66    <?lua end ?>
67
68    <GlobalShader compositor="Bloom" visible=false>
69      <events>
70        <visibility>
71          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
72        </visibility>
73      </events>
74    </GlobalShader>
75    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
76    <StaticEntity position="0,0,0" collisionType=static>
77      <collisionShapes>
78        <SphereCollisionShape radius="20" />
79      </collisionShapes>
80    </StaticEntity>
81
82  </Scene>
83</Level>
Note: See TracBrowser for help on using the repository browser.