Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation/data/levels/presentationFS11.oxw @ 8598

Last change on this file since 8598 was 8596, checked in by smerkli, 14 years ago

working on the presentation level

File size: 4.2 KB
Line 
1<LevelInfo
2 name = "Presentation FS11"
3 description = "Presentation level spring semester '11"
4 tags = "test"
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
11?>
12
13<?lua
14  include("templates/spaceshipAssff.oxt")
15  include("templates/spaceshipPirate.oxt")
16?>
17
18<?lua
19include("templates/pickupRepresentationTemplates.oxt")
20?>
21
22<Level
23 name         = "Sample"
24 description  = "Just a few tests"
25>
26  <templates>
27    <Template link=lodtemplate_default />
28  </templates>
29
30  <Scene
31    ambientlight = "0.8, 0.8, 0.8"
32    skybox       = "Orxonox/skyboxempty"
33  >
34
35    <?lua
36      include("includes/pickups.oxi")
37    ?>
38
39    <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"/>
40    <SpawnPoint team=0 position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
41
42
43    <!-- PICKUPS -->
44    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
45      <pickup>
46        <DronePickup template=dronepickup />
47      </pickup>
48    </PickupSpawner>
49
50    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" lifetime=500 loop=1 startdelay=2.5 />
51    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" lifetime=500 loop=1 startdelay=2 />
52    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" lifetime=500 loop=1 startdelay=2 />
53
54   
55    <!-- BOUNDARIES AND PORTALS -->
56   
57
58    <Template name=PortalDefault>
59        <PortalEndPoint>
60            <attached>
61                <Billboard material="Portals/Default" />
62            </attached>
63        </PortalEndPoint>
64    </Template>
65
66    <PortalEndPoint position="350,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
67    <PortalEndPoint position="-30300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
68
69    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
70    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
71
72    <PortalLink fromID="1" toID="2" />
73    <PortalLink fromID="2" toID="1" />
74
75    <!-- MODELS, DEBRIS, ETC -->
76
77    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
78    <Planet
79      position="70500,0,0"
80      scale="63000"
81      collisionType="dynamic"
82      linearDamping="0.8"
83      angularDamping="0"
84      mass="5.9e21"
85      pitch="-90"
86      yaw="50"
87      mesh="planets/earth.mesh"
88      atmosphere="atmosphere1"
89      rotationaxis="0,1,0"
90      rotationrate="0.2"
91      atmospheresize="80.0f"
92      imagesize="1024.0f"
93      collisiondamage = 2
94      enablecollisiondamage = true
95    >
96      <attached>
97        <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
98      </attached>
99      <collisionShapes>
100        <SphereCollisionShape radius="63000" position="0,0,0" />
101      </collisionShapes>
102    </Planet>
103
104    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
105    <Planet
106      position="-15000,0,0"
107      scale="4000"
108      collisionType="dynamic"
109      linearDamping="0.8"
110      angularDamping="0"
111      mass="7.36e19"
112      pitch="0"
113      mesh="planets/moon.mesh"
114      atmosphere="atmosphere1"
115      rotationaxis="0,1,0"
116      rotationrate="0.2"
117      atmospheresize="0.0f"
118      imagesize="1024.0f"
119      collisiondamage = 2
120      enablecollisiondamage = true
121    >
122      <attached>
123        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
124      </attached>
125      <collisionShapes>
126        <SphereCollisionShape radius="4000" position="0,0,0" />
127      </collisionShapes>
128    </Planet>
129
130
131    <PickupSpawner position="-25,-50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
132      <pickup>
133        <ShrinkPickup template ="smallshrinkpickup"/>
134      </pickup>
135    </PickupSpawner>
136
137    <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
138      <pickup>
139        <ShrinkPickup template ="smallshrinkpickup"/>
140      </pickup>
141    </PickupSpawner>
142  </Scene>
143</Level>
144
Note: See TracBrowser for help on using the repository browser.