Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Waypoints_HS17/data/levels/shieldTest.oxw @ 11774

Last change on this file since 11774 was 11052, checked in by landauf, 9 years ago

merged branch presentationHS15 back to trunk

  • 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 screenshot = "shieldtestlevel.png"
6/>
7
8<?lua
9  include("HUDTemplates3.oxo")
10  include("stats.oxo")
11  include("templates/spaceshipImmTest.oxt")
12  include("templates/lodInformation.oxt")
13?>
14
15<Level>
16
17<templates>
18  <Template link=lodtemplate_default />
19</templates>
20<?lua include("includes/notifications.oxi") ?>
21
22<Scene
23   ambientlight = "0.8, 0.5, 0.5"
24   skybox       = "Orxonox/Starbox"
25>
26
27<Drone name="meineDrohne"
28    primarythrust= "80"
29    auxilarythrust= "10"
30    rotationthrust= "10"
31    mass= "50"
32    linearDamping= "0.9"
33    angularDamping= "0.7"
34
35    health= 100
36    maxhealth= 150
37    inithealth= 200
38
39    shieldhealth= 100
40    initialshieldhealth= 200
41    maxshieldhealth= 250
42
43    shieldabsorption= 1
44
45    shieldrechargerate = "10"
46    shieldrechargewaittime = 1
47
48>
49  <attached>
50    <Model scale="4" mesh="drone.mesh"/>
51  </attached>
52  <collisionShapes>
53    <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
54  </collisionShapes>
55</Drone>
56
57<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" />
58
59
60    <?lua
61      for i = 1, 10, 1 do
62    ?>
63      <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 />
64    <?lua end ?>
65
66    <GlobalShader compositor="Bloom" visible=false>
67      <events>
68        <visibility>
69          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
70        </visibility>
71      </events>
72    </GlobalShader>
73    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
74    <StaticEntity position="0,0,0" collisionType=static>
75      <collisionShapes>
76        <SphereCollisionShape radius="20" />
77      </collisionShapes>
78    </StaticEntity>
79
80  </Scene>
81</Level>
Note: See TracBrowser for help on using the repository browser.