Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS15/data/levels/mineLevel.oxw @ 11012

Last change on this file since 11012 was 10963, checked in by maxima, 9 years ago

Merged presentation and particleEffects branches. Added a new level, spaceshiptemplate and weaponsettings for the mine.

File size: 1.9 KB
RevLine 
[10963]1 <LevelInfo
2 name = "Mine level"
3 description = "A test level with the new mine weapon."
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff.oxt")
16  include("templates/spaceshipEscortMine.oxt")
17  include("templates/spaceshipHover.oxt")
18?>
19
20<Level>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
31    <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"/>
32    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescortmine />
33
34        <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
35        <events>
36          <visibility>
37            <EventListener event="flying4" />
38          </visibility>
39        </events>
40        <attached>
41            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
42        </attached>
43        <collisionShapes>
44            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
45        </collisionShapes>
46    </Pawn>
47
48    <Pawn team=1 health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 3">
49        <events>
50          <visibility>
51            <EventListener event="flying4" />
52          </visibility>
53        </events>
54        <attached>
55           <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
56        </attached>
57        <collisionShapes>
58            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
59        </collisionShapes>
60    </Pawn>
61   
62  </Scene>
63</Level>
64
Note: See TracBrowser for help on using the repository browser.