1 | <?lua |
---|
2 | include("levels/spaceshiptemplates.oxw") |
---|
3 | ?> |
---|
4 | |
---|
5 | <Level |
---|
6 | name = "Sample" |
---|
7 | description = "Just a few tests" |
---|
8 | > |
---|
9 | <Scene |
---|
10 | ambientlight = "0.5, 0.5, 0.5" |
---|
11 | skybox = "Orxonox/Starbox" |
---|
12 | negativeWorldRange = "(-100000, -100000, -100000)" |
---|
13 | positiveWorldRange = "( 100000, 100000, 100000)" |
---|
14 | hasPhysics = true |
---|
15 | > |
---|
16 | |
---|
17 | <LinearEntity |
---|
18 | name = "blubb" |
---|
19 | position = "-250, 30, -500" |
---|
20 | collisionType = "kinematic" |
---|
21 | mass = 10 |
---|
22 | velocity = "100, 0, 0" |
---|
23 | > |
---|
24 | <attached> |
---|
25 | <Model name = "moedeli" position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
26 | <StaticEntity name="hahaha" position="0,0,0" collisionType="static"> |
---|
27 | <collisionShapes> |
---|
28 | <SphereCollisionShape name="firstSphere" radius=20/> |
---|
29 | </collisionShapes> |
---|
30 | </StaticEntity> |
---|
31 | </attached> |
---|
32 | |
---|
33 | <!--collisionShapes> |
---|
34 | <SphereCollisionShape name = "secondSphere" radius=0.4 position="1,1,1"/> |
---|
35 | <CompoundCollisionShape position="4,4,4"> |
---|
36 | <SphereCollisionShape name = "thirdSphere" radius=1.0/> |
---|
37 | </CompoundCollisionShape> |
---|
38 | </collisionShapes--> |
---|
39 | </LinearEntity> |
---|
40 | |
---|
41 | <LinearEntity |
---|
42 | name = "blubb2" |
---|
43 | position = "250, 0, -500" |
---|
44 | collisionType = "dynamic" |
---|
45 | mass = 10 |
---|
46 | velocity = "-100, 0, 0" |
---|
47 | > |
---|
48 | <attached> |
---|
49 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
50 | </attached> |
---|
51 | <collisionShapes> |
---|
52 | <SphereCollisionShape name = "secondSphere" radius=20 position="100,0,0"/> |
---|
53 | </collisionShapes> |
---|
54 | </LinearEntity> |
---|
55 | |
---|
56 | <!--SpawnPoint position="0, 0, 100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
57 | <SpawnPoint position="0, 0, -700" yaw =180 spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
58 | <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
59 | |
---|
60 | <!--LinearEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
---|
61 | <events> |
---|
62 | <activity> |
---|
63 | <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 /> |
---|
64 | </activity> |
---|
65 | </events> |
---|
66 | <attached> |
---|
67 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
68 | <PositionableEntity position="0,0,100"> |
---|
69 | <attached> |
---|
70 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
71 | <LinearEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> |
---|
72 | <attached> |
---|
73 | <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> |
---|
74 | <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> |
---|
75 | <Model position="35,0,0" scale=2 mesh="ast1.mesh"> |
---|
76 | <attached> |
---|
77 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
78 | </attached> |
---|
79 | </Model> |
---|
80 | <Model position="-35,0,0" scale=2 mesh="ast1.mesh"> |
---|
81 | <attached> |
---|
82 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
83 | </attached> |
---|
84 | </Model> |
---|
85 | </attached> |
---|
86 | </LinearEntity> |
---|
87 | </attached> |
---|
88 | </PositionableEntity> |
---|
89 | <LinearEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> |
---|
90 | <attached> |
---|
91 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
92 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
93 | <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> |
---|
94 | <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> |
---|
95 | </attached> |
---|
96 | </LinearEntity> |
---|
97 | </attached> |
---|
98 | </LinearEntity--> |
---|
99 | |
---|
100 | |
---|
101 | <!--ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
102 | <ParticleSpawner position="-500,0,-300" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
103 | <ParticleSpawner position="-500,0,-400" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
104 | <ParticleSpawner position="-500,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /> |
---|
105 | <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /--> |
---|
106 | |
---|
107 | |
---|
108 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
109 | <events> |
---|
110 | <spawn> |
---|
111 | <EventTrigger delay=1> |
---|
112 | <events> |
---|
113 | <trigger> |
---|
114 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
115 | </trigger> |
---|
116 | </events> |
---|
117 | </EventTrigger> |
---|
118 | </spawn> |
---|
119 | </events> |
---|
120 | </ParticleSpawner> |
---|
121 | |
---|
122 | |
---|
123 | <!--ParticleEmitter name=fireright position="200,0,0" source="Orxonox/fire3" active=false> |
---|
124 | <events> |
---|
125 | <activity> |
---|
126 | <DistanceTrigger name=firetrigger1 position="200,0,0" distance=100 target="ControllableEntity" /> |
---|
127 | </activity> |
---|
128 | </events> |
---|
129 | </ParticleEmitter> |
---|
130 | <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=false> |
---|
131 | <events> |
---|
132 | <activity> |
---|
133 | <DistanceTrigger name=firetrigger2 position="-200,0,0" distance=100 target="ControllableEntity" /> |
---|
134 | </activity> |
---|
135 | </events> |
---|
136 | </ParticleEmitter> |
---|
137 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
138 | <events> |
---|
139 | <activity> |
---|
140 | <EventListener event=firetrigger1 /> |
---|
141 | <EventListener event=firetrigger2 /> |
---|
142 | </activity> |
---|
143 | </events> |
---|
144 | </ParticleEmitter--> |
---|
145 | |
---|
146 | |
---|
147 | <!--EventDispatcher> |
---|
148 | <targets> |
---|
149 | <EventTarget name=fireright /> |
---|
150 | <EventTarget name=firecenter /> |
---|
151 | <EventTarget name=fireleft /> |
---|
152 | </targets> |
---|
153 | <events> |
---|
154 | <activity> |
---|
155 | <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" /> |
---|
156 | </activity> |
---|
157 | </events> |
---|
158 | </EventDispatcher--> |
---|
159 | |
---|
160 | |
---|
161 | <!--Model position="0,50,0" scale=3 mesh="assff.mesh"> |
---|
162 | <events> |
---|
163 | <visibility> |
---|
164 | <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 /> |
---|
165 | </visibility> |
---|
166 | </events> |
---|
167 | </Model--> |
---|
168 | |
---|
169 | |
---|
170 | <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> |
---|
171 | <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> |
---|
172 | <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> |
---|
173 | <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> |
---|
174 | <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> |
---|
175 | <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> |
---|
176 | |
---|
177 | <Model position="1000,-200,0" scale3D="1,100,100" mesh="ast1.mesh" /> |
---|
178 | |
---|
179 | <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" /> |
---|
180 | <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" /> |
---|
181 | <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /--> |
---|
182 | |
---|
183 | </Scene> |
---|
184 | </Level> |
---|