Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/planetLevelHS15/data/levels/flightTest.oxw @ 10750

Last change on this file since 10750 was 10704, checked in by luhug, 9 years ago

Added Portals to flightTest.oxw

File size: 2.3 KB
Line 
1<LevelInfo
2 name = "Lift Test"
3 description = "A level with absolutely nothing in it."
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/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipEscort.oxt")
18  include("templates/spaceshipRing.oxt")
19  include("templates/spaceshipSwallow.oxt")
20?>
21
22<Level>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27<Template name=PortalDefault>
28    <PortalEndPoint>
29        <attached>
30            <Model mesh="Spacegate.mesh" yaw="90"/>
31        </attached>
32    </PortalEndPoint>
33</Template>
34
35<Template name=PortalBig>
36    <PortalEndPoint>
37        <attached>
38            <Billboard material="Portals/Big" />
39        </attached>
40    </PortalEndPoint>
41</Template>
42  <Scene
43    ambientlight = "0.8, 0.8, 0.8"
44    skybox       = "Orxonox/Starbox"
45  >
46
47    <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"/>
48    <SpawnPoint team=0 position="1000,89000,1000" lookat="0,90000,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
49   
50    <Planet
51      position="0,100000,0"
52      scale="5000"
53      collisionType="dynamic"
54      linearDamping="0.8"
55      angularDamping="0"
56      mass="5.9e21"
57      pitch="0"
58      mesh="planets/earth.mesh"
59      atmosphere="atmosphere1"
60      rotationaxis="0,1,0"
61      rotationrate="0.2"
62      atmospheresize="80.0f"
63      imagesize="1024.0f"
64      collisiondamage = 2
65      enablecollisiondamage = false
66    >
67      <attached>
68//    <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
69      <PortalEndPoint id="2" distance="5000" target="Pawn" design="PortalEndPoint"/>
70      </attached>
71      <collisionShapes>
72//    <SphereCollisionShape radius="10" position="0,0,0" />
73      </collisionShapes>
74    </Planet>
75
76
77
78
79<PortalEndPoint position="0,0,0" id="1" distance="40" target="Pawn" design="PortalDefault"/>
80<PortalEndPoint position="0,90000,0" id="3" distance="40" target="Pawn" design=""/>
81
82<PortalLink fromID="1" toID="3" />
83<PortalLink fromID="2" toID="1" />  
84
85
86  </Scene>
87</Level>
88
Note: See TracBrowser for help on using the repository browser.