[5988] | 1 | <Template name=spaceshipghost> |
---|
| 2 | <SpaceShip |
---|
| 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipghostcameras |
---|
| 5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 6 | spawnparticleduration = 3 |
---|
| 7 | explosionchunks = 6 |
---|
| 8 | |
---|
[12267] | 9 | health = 100 |
---|
| 10 | maxhealth = 100 |
---|
| 11 | initialhealth = 100 |
---|
| 12 | |
---|
[5988] | 13 | |
---|
[12267] | 14 | primaryThrust = 25 |
---|
| 15 | auxilaryThrust = 25 |
---|
[8857] | 16 | rotationThrust = 25 |
---|
| 17 | |
---|
| 18 | lift = 1; |
---|
[12216] | 19 | stallSpeed = 100; |
---|
[8857] | 20 | |
---|
| 21 | |
---|
[12267] | 22 | |
---|
[8857] | 23 | shakeFrequency = 20 |
---|
| 24 | shakeAmplitude = 6 |
---|
| 25 | |
---|
[5988] | 26 | collisionType = "dynamic" |
---|
| 27 | mass = 100 |
---|
| 28 | linearDamping = 0.7 |
---|
| 29 | angularDamping = 0.9999999 |
---|
| 30 | > |
---|
[8706] | 31 | <engines> |
---|
| 32 | <MultiStateEngine position="0,0,0" template=spaceshipghostengine/> |
---|
| 33 | </engines> |
---|
[5988] | 34 | <attached> |
---|
| 35 | <Model position="0,0,0" scale=2 yaw=90 pitch=-90 roll=0 mesh="ghost.mesh" /> |
---|
| 36 | </attached> |
---|
| 37 | <collisionShapes> |
---|
[12216] | 38 | <BoxCollisionShape position="0,-2 ,7" halfExtents="7, 4 ,30" /> |
---|
[5988] | 39 | </collisionShapes> |
---|
[11052] | 40 | <explosion > |
---|
| 41 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
| 42 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> |
---|
| 43 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
| 44 | |
---|
| 45 | <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" /> |
---|
| 46 | <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 47 | <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 48 | <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 49 | <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 50 | </explosion> |
---|
[12267] | 51 | <!-- <?lua |
---|
[12261] | 52 | include("../includes/weaponSettingsGhost.oxi") |
---|
[6417] | 53 | ?> |
---|
[12267] | 54 | --> </SpaceShip> |
---|
[5988] | 55 | </Template> |
---|
| 56 | |
---|
| 57 | <Template name=spaceshipghostcameras defaults=0> |
---|
| 58 | <SpaceShip> |
---|
| 59 | <camerapositions> |
---|
| 60 | <CameraPosition position="0,20,80" drag=true mouselook=true /> |
---|
| 61 | <CameraPosition position="0,40,160" drag=true mouselook=true /> |
---|
| 62 | <CameraPosition position="0,50,200" drag=true mouselook=true /> |
---|
| 63 | </camerapositions> |
---|
| 64 | </SpaceShip> |
---|
| 65 | </Template> |
---|
| 66 | |
---|
| 67 | <Template name=spaceshipghostengine baseclass=MultiStateEngine> |
---|
| 68 | <MultiStateEngine |
---|
| 69 | boostfactor = 2 |
---|
| 70 | |
---|
[12267] | 71 | speedfront = 50 |
---|
[5988] | 72 | speedback = 50 |
---|
| 73 | speedleftright = 50 |
---|
[12216] | 74 | speedupdown = 0 |
---|
[5988] | 75 | |
---|
[8857] | 76 | accelerationfront = 1000 |
---|
[5988] | 77 | accelerationbrake = 300 |
---|
| 78 | accelerationback = 100 |
---|
| 79 | accelerationleftright = 100 |
---|
[12267] | 80 | accelerationupdown = 0 |
---|
[5988] | 81 | > |
---|
[6417] | 82 | <EffectContainer condition="normal or boost"> |
---|
| 83 | <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" /> |
---|
| 84 | <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" /> |
---|
| 85 | </EffectContainer> |
---|
| 86 | <EffectContainer condition="boost"> |
---|
| 87 | <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" /> |
---|
| 88 | <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" /> |
---|
| 89 | </EffectContainer> |
---|
| 90 | <EffectContainer condition="not idle"> |
---|
[7071] | 91 | <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 /> |
---|
| 92 | <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] | 93 | </EffectContainer> |
---|
| 94 | <EffectContainer condition="brake"> |
---|
| 95 | <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 /> |
---|
| 96 | <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 /> |
---|
| 97 | </EffectContainer> |
---|
| 98 | </MultiStateEngine> |
---|
[5988] | 99 | </Template> |
---|
| 100 | |
---|