1 | <LevelInfo |
---|
2 | name = "endurancetest" |
---|
3 | description = "endurance test level" |
---|
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 | <!-- Spaceship included in the level --> |
---|
15 | |
---|
16 | <?lua |
---|
17 | include("templates/spaceshipPirate.oxt") |
---|
18 | ?> |
---|
19 | |
---|
20 | <Level> |
---|
21 | |
---|
22 | <templates> |
---|
23 | |
---|
24 | |
---|
25 | <Template name = endurance> |
---|
26 | |
---|
27 | <!-- Spaceship parameters --> |
---|
28 | <SpaceShip |
---|
29 | hudtemplate = spaceshiphud |
---|
30 | camerapositiontemplate = bigshipcameras |
---|
31 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
32 | spawnparticleduration = 3 |
---|
33 | explosionchunks = 6 |
---|
34 | |
---|
35 | health = 100 |
---|
36 | maxhealth = 200 |
---|
37 | initialhealth = 100 |
---|
38 | |
---|
39 | shieldhealth = 100 |
---|
40 | initialshieldhealth = 30 |
---|
41 | maxshieldhealth = 50 |
---|
42 | shieldabsorption = 0.8 |
---|
43 | shieldrechargerate = 1 |
---|
44 | shieldrechargewaittime = 1 |
---|
45 | |
---|
46 | primaryThrust = 30 |
---|
47 | auxilaryThrust = 30 |
---|
48 | rotationThrust = 10 |
---|
49 | |
---|
50 | lift = 1; |
---|
51 | stallSpeed = 220; |
---|
52 | |
---|
53 | boostPower = 30 |
---|
54 | boostPowerRate = 1.5 |
---|
55 | boostRate = 4 |
---|
56 | boostCooldownDuration = 10 |
---|
57 | |
---|
58 | shakeFrequency = 15 |
---|
59 | shakeAmplitude = 9 |
---|
60 | |
---|
61 | collisionType = "dynamic" |
---|
62 | mass = 1000 |
---|
63 | linearDamping = 0.7 |
---|
64 | angularDamping = 0.9999999 |
---|
65 | > |
---|
66 | |
---|
67 | |
---|
68 | <!-- Engines of the Spaceship --> |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | <engines> |
---|
73 | <MultiStateEngine position=" 15, 0, 0" template=bigshipengine /> |
---|
74 | <MultiStateEngine position="-15, 0, 0" template=bigshipengine /> |
---|
75 | </engines> |
---|
76 | |
---|
77 | <!-- Testsphere in testlevel --> |
---|
78 | |
---|
79 | <MovableEntity position ="0, 0, 0" velocity= "10, 0, 0" collisionType=dynamic mass=1000 friction=0.01 > |
---|
80 | |
---|
81 | <!-- use attached for the different spaceship parts and the lights --> |
---|
82 | <!-- BlinkingBillboard class for blinking lights --> |
---|
83 | <attached> |
---|
84 | <Model position="0,0,0" mesh="sphere.mesh" scale3D="100,100,100" /> |
---|
85 | </attached> |
---|
86 | |
---|
87 | <!-- Collision Shapes --> |
---|
88 | |
---|
89 | <collisionShapes> |
---|
90 | <SphereCollisionShape position="0,0,0" radius="100" /> |
---|
91 | </collisionShapes> |
---|
92 | </MovableEntity> |
---|
93 | |
---|
94 | <!-- Explosion and Explosionparts --> |
---|
95 | |
---|
96 | <!-- Cameras and Cameraposition --> |
---|
97 | |
---|
98 | <!-- Multistateengine definition + engine sounds --> |
---|
99 | |
---|
100 | <!-- Large coordinate axis --> |
---|
101 | <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/> |
---|
102 | |
---|
103 | <!-- Spawnpoint of the Spaceship --> |
---|
104 | <SpawnPoint team=0 position = "-100,0,0" lookat="0,0,0" spawnclass=Spaceship pawndesign=spaceshippirate /> |
---|
105 | |
---|
106 | <!-- Planets and forcefields --> |
---|
107 | |
---|
108 | |
---|
109 | <!-- Blacklight to illuminate surfaces --> |
---|
110 | |
---|
111 | |
---|
112 | |
---|
113 | <!-- Egine sound of the Spaceship --> |
---|
114 | <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> |
---|
115 | |
---|
116 | <!-- World Ambient Sound --> |
---|
117 | |
---|
118 | </SpaceShip> |
---|
119 | </Template> |
---|
120 | </templates> |
---|
121 | |
---|
122 | <?lua include("includes/notifications.oxi") ?> |
---|
123 | |
---|
124 | <Scene |
---|
125 | ambientlight = "0.9, 0.9, 0.9" |
---|
126 | skybox = "skyBoxMoreNebula" |
---|
127 | > |
---|
128 | |
---|
129 | <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"/> |
---|
130 | <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
131 | |
---|
132 | </Scene> |
---|
133 | </Level> |
---|
134 | |
---|