Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gameimmersion/data/levels/shieldTest.oxw @ 8740

Last change on this file since 8740 was 8577, checked in by dafrick, 14 years ago

Cleanup. Adding shield and boost shaking to Assff.

File size: 1.9 KB
RevLine 
[8146]1<LevelInfo
[8577]2 name = "Shield Testlevel"
[8386]3 description = "A simple Level with one shielded drone to shoot at"
[8577]4 tags = "test"
[8146]5/>
6
7<?lua
8  include("HUDTemplates3.oxo")
9  include("stats.oxo")
[8386]10  include("templates/spaceshipImmTest.oxt")
[8146]11  include("templates/lodInformation.oxt")
12?>
13
14<Level
[8386]15 name         = "shieldTL"
[8146]16 description  = "LEVEL-DESCRIPTION"
17>
18
[8386]19<templates>
20  <Template link=lodtemplate_default />
21</templates>
[8146]22
[8386]23<Scene
[8146]24   ambientlight = "0.8, 0.5, 0.5"
25   skybox       = "Orxonox/Starbox"
[8386]26>
[8146]27
28
29
30
31<Drone name="meineDrohne"
[8577]32    primarythrust= "80"
33    auxilarythrust= "10"
34    rotationthrust= "10"
35    mass= "50"
36    linearDamping= "0.9"
37    angularDamping= "0.7"
[8146]38
[8577]39    health= 100
40    maxhealth= 150
41    inithealth= 200
[8146]42
[8577]43    shieldhealth= 100
44    initialshieldhealth= 200
45    maxshieldhealth= 250
[8146]46
[8577]47    shieldabsorption= 1
[8187]48
[8577]49    reloadrate= "10"
50    reloadwaittime= 1
[8146]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    ?>
[8386]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 />
[8146]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.