[11228] | 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 | |
---|
[11259] | 14 | <!-- Spaceship included in the level --> |
---|
| 15 | |
---|
[11228] | 16 | <?lua |
---|
[11259] | 17 | include("templates/spaceshipPirate.oxt") |
---|
[11228] | 18 | ?> |
---|
| 19 | |
---|
| 20 | <Level> |
---|
| 21 | |
---|
[11259] | 22 | <templates> |
---|
[11228] | 23 | |
---|
[11259] | 24 | |
---|
| 25 | <Template name = endurance> |
---|
[11228] | 26 | |
---|
[11259] | 27 | <!-- Spaceship parameters --> |
---|
| 28 | <SpaceShip |
---|
| 29 | hudtemplate = spaceshiphud |
---|
| 30 | camerapositiontemplate = bigshipcameras |
---|
| 31 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 32 | spawnparticleduration = 3 |
---|
| 33 | explosionchunks = 6 |
---|
[11228] | 34 | |
---|
[11259] | 35 | health = 100 |
---|
| 36 | maxhealth = 200 |
---|
| 37 | initialhealth = 100 |
---|
[11228] | 38 | |
---|
[11259] | 39 | shieldhealth = 100 |
---|
| 40 | initialshieldhealth = 30 |
---|
| 41 | maxshieldhealth = 50 |
---|
| 42 | shieldabsorption = 0.8 |
---|
| 43 | shieldrechargerate = 1 |
---|
| 44 | shieldrechargewaittime = 1 |
---|
[11228] | 45 | |
---|
[11259] | 46 | primaryThrust = 30 |
---|
| 47 | auxilaryThrust = 30 |
---|
| 48 | rotationThrust = 10 |
---|
[11228] | 49 | |
---|
[11259] | 50 | lift = 1; |
---|
| 51 | stallSpeed = 220; |
---|
[11228] | 52 | |
---|
[11259] | 53 | boostPower = 30 |
---|
| 54 | boostPowerRate = 1.5 |
---|
| 55 | boostRate = 4 |
---|
| 56 | boostCooldownDuration = 10 |
---|
[11228] | 57 | |
---|
[11259] | 58 | shakeFrequency = 15 |
---|
| 59 | shakeAmplitude = 9 |
---|
[11228] | 60 | |
---|
[11259] | 61 | collisionType = "dynamic" |
---|
| 62 | mass = 1000 |
---|
| 63 | linearDamping = 0.7 |
---|
| 64 | angularDamping = 0.9999999 |
---|
| 65 | > |
---|
[11228] | 66 | |
---|
| 67 | |
---|
[11259] | 68 | <!-- Engines of the Spaceship --> |
---|
[11228] | 69 | |
---|
[11259] | 70 | |
---|
[11228] | 71 | |
---|
[11259] | 72 | <engines> |
---|
| 73 | <MultiStateEngine position=" 15, 0, 0" template=bigshipengine /> |
---|
| 74 | <MultiStateEngine position="-15, 0, 0" template=bigshipengine /> |
---|
| 75 | </engines> |
---|
[11228] | 76 | |
---|
[11259] | 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> |
---|
[11228] | 119 | </Template> |
---|
| 120 | </templates> |
---|
[11259] | 121 | |
---|
[11228] | 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 | |
---|