[5988] | 1 | <Template name=spaceshipghost> |
---|
| 2 | <SpaceShip |
---|
| 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipghostcameras |
---|
| 5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 6 | spawnparticleduration = 3 |
---|
| 7 | explosionchunks = 6 |
---|
| 8 | |
---|
[8857] | 9 | health = 30 |
---|
| 10 | maxhealth = 50 |
---|
| 11 | initialhealth = 30 |
---|
[5988] | 12 | |
---|
[8857] | 13 | shieldhealth = 100 |
---|
| 14 | initialshieldhealth = 100 |
---|
| 15 | maxshieldhealth = 150 |
---|
| 16 | shieldabsorption = 0.9 |
---|
[10814] | 17 | shieldrechargerate = 3 |
---|
| 18 | shieldrechargewaittime = 0.0 |
---|
[5988] | 19 | |
---|
[8857] | 20 | primaryThrust = 600 |
---|
| 21 | auxilaryThrust = 30 |
---|
| 22 | rotationThrust = 25 |
---|
| 23 | |
---|
| 24 | lift = 1; |
---|
| 25 | stallSpeed = 220; |
---|
| 26 | |
---|
| 27 | boostPower = 30 |
---|
| 28 | boostPowerRate = 1 |
---|
| 29 | boostRate = 5 |
---|
| 30 | boostCooldownDuration = 15 |
---|
| 31 | |
---|
| 32 | shakeFrequency = 20 |
---|
| 33 | shakeAmplitude = 6 |
---|
| 34 | |
---|
[5988] | 35 | collisionType = "dynamic" |
---|
| 36 | mass = 100 |
---|
| 37 | linearDamping = 0.7 |
---|
| 38 | angularDamping = 0.9999999 |
---|
| 39 | > |
---|
[8706] | 40 | <engines> |
---|
| 41 | <MultiStateEngine position="0,0,0" template=spaceshipghostengine/> |
---|
| 42 | </engines> |
---|
[5988] | 43 | <attached> |
---|
| 44 | <Model position="0,0,0" scale=2 yaw=90 pitch=-90 roll=0 mesh="ghost.mesh" /> |
---|
| 45 | </attached> |
---|
| 46 | <collisionShapes> |
---|
| 47 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 48 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 49 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 50 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 51 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 52 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 53 | </collisionShapes> |
---|
[6417] | 54 | <?lua |
---|
[8858] | 55 | include("../includes/weaponSettingsGhost.oxi") |
---|
[6417] | 56 | ?> |
---|
[5988] | 57 | </SpaceShip> |
---|
| 58 | </Template> |
---|
| 59 | |
---|
| 60 | <Template name=spaceshipghostcameras defaults=0> |
---|
| 61 | <SpaceShip> |
---|
| 62 | <camerapositions> |
---|
| 63 | <CameraPosition position="0,20,80" drag=true mouselook=true /> |
---|
| 64 | <CameraPosition position="0,40,160" drag=true mouselook=true /> |
---|
| 65 | <CameraPosition position="0,50,200" drag=true mouselook=true /> |
---|
| 66 | </camerapositions> |
---|
| 67 | </SpaceShip> |
---|
| 68 | </Template> |
---|
| 69 | |
---|
| 70 | <Template name=spaceshipghostengine baseclass=MultiStateEngine> |
---|
| 71 | <MultiStateEngine |
---|
| 72 | boostfactor = 2 |
---|
| 73 | |
---|
[6417] | 74 | speedfront = 600 |
---|
[5988] | 75 | speedback = 50 |
---|
| 76 | speedleftright = 50 |
---|
| 77 | speedupdown = 50 |
---|
| 78 | |
---|
[8857] | 79 | accelerationfront = 1000 |
---|
[5988] | 80 | accelerationbrake = 300 |
---|
| 81 | accelerationback = 100 |
---|
| 82 | accelerationleftright = 100 |
---|
| 83 | accelerationupdown = 100 |
---|
| 84 | > |
---|
[6417] | 85 | <EffectContainer condition="normal or boost"> |
---|
| 86 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.5" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 87 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.5" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 88 | </EffectContainer> |
---|
| 89 | <EffectContainer condition="boost"> |
---|
| 90 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
| 91 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
| 92 | </EffectContainer> |
---|
| 93 | <EffectContainer condition="not idle"> |
---|
[7071] | 94 | <FadingBillboard mainstate=activity active=false scale=0.4 position="7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 95 | <FadingBillboard mainstate=activity active=false scale=0.4 position="-7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
[6417] | 96 | </EffectContainer> |
---|
| 97 | <EffectContainer condition="brake"> |
---|
| 98 | <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.2, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 99 | <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.2, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 100 | </EffectContainer> |
---|
| 101 | </MultiStateEngine> |
---|
[5988] | 102 | </Template> |
---|
| 103 | |
---|