1 | <LevelInfo |
---|
2 | name = "Surface Race" |
---|
3 | description = "Race on a surface of a planet" |
---|
4 | tags = "Race" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("HUDTemplates3.oxo") |
---|
10 | include("stats.oxo") |
---|
11 | include("templates/spaceshipRace.oxt") |
---|
12 | include("templates/lodInformation.oxt") |
---|
13 | |
---|
14 | |
---|
15 | ?> |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | <Level |
---|
20 | gametype = "OldSpaceRace" |
---|
21 | > |
---|
22 | |
---|
23 | <templates> |
---|
24 | <Template link=lodtemplate_default /> |
---|
25 | </templates> |
---|
26 | <?lua include("includes/notifications.oxi") ?> |
---|
27 | |
---|
28 | <Scene |
---|
29 | ambientlight = "2.0, 2.0, 2.0" |
---|
30 | skybox = "Orxonox/skyBoxClouds" |
---|
31 | gravity = "0,-70,0" |
---|
32 | negativeWorldRange = "-100000, -100000, -100000" |
---|
33 | positiveWorldRange = " 100000, 100000, 100000" |
---|
34 | hasPhysics = true |
---|
35 | > |
---|
36 | |
---|
37 | <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"/> |
---|
38 | <!-- ------------------SpawnPoint----------------- --> |
---|
39 | <SpawnPoint team=0 position="0,5050,0" lookat="0,5070,5070" spawnclass=SpaceShip pawndesign=spaceshipRace active="true" > |
---|
40 | <events> |
---|
41 | <activity> |
---|
42 | <EventTrigger invert="true"> |
---|
43 | <events> |
---|
44 | <trigger> |
---|
45 | <EventListener event="checkpoint2" /> |
---|
46 | </trigger> |
---|
47 | </events> |
---|
48 | </EventTrigger> |
---|
49 | </activity> |
---|
50 | </events> |
---|
51 | </SpawnPoint> |
---|
52 | |
---|
53 | <!-- ------------------CheckPoints----------------- --> |
---|
54 | <OldRaceCheckPoint name="checkpoint1" position="100,5100,0" direction="0,0,0" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false"> |
---|
55 | <attached> |
---|
56 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
57 | </attached> |
---|
58 | <collisionShapes> |
---|
59 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
60 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
61 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
62 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
63 | </collisionShapes> |
---|
64 | </OldRaceCheckPoint> |
---|
65 | |
---|
66 | <OldRaceCheckPoint name="checkpoint2" position="500,5100,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false"> |
---|
67 | <attached> |
---|
68 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
69 | <SpawnPoint position="0,0,0" lookat="0,1000,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" > |
---|
70 | <events> |
---|
71 | <activity> |
---|
72 | <Trigger mode="xor" invert="true" > |
---|
73 | <EventTrigger> |
---|
74 | <events> |
---|
75 | <trigger> |
---|
76 | <EventListener event="checkpoint2" /> |
---|
77 | </trigger> |
---|
78 | </events> |
---|
79 | </EventTrigger> |
---|
80 | <EventTrigger invert="true"> |
---|
81 | <events> |
---|
82 | <trigger> |
---|
83 | <EventListener event="checkpoint3" /> |
---|
84 | </trigger> |
---|
85 | </events> |
---|
86 | </EventTrigger> |
---|
87 | </Trigger> |
---|
88 | </activity> |
---|
89 | </events> |
---|
90 | </SpawnPoint> |
---|
91 | </attached> |
---|
92 | <collisionShapes> |
---|
93 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
94 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
95 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
96 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
97 | </collisionShapes> |
---|
98 | </OldRaceCheckPoint> |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
103 | <attached> |
---|
104 | <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" /> |
---|
105 | </attached> |
---|
106 | |
---|
107 | <!-- ------------------Boden----------------- --> |
---|
108 | <collisionShapes> |
---|
109 | <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" /> |
---|
110 | </collisionShapes> |
---|
111 | |
---|
112 | |
---|
113 | </StaticEntity> |
---|
114 | <!-- -----------------------Zylinder---------------------------- --> |
---|
115 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
116 | <attached> |
---|
117 | <Model position="1000,5100,1000" mesh="cylinder.mesh" scale3D="1000,1000,1000" /> |
---|
118 | </attached> |
---|
119 | </StaticEntity> |
---|
120 | |
---|
121 | </Scene> |
---|
122 | </Level> |
---|
123 | |
---|