[8591] | 1 | <Template name=spaceshipassff2> |
---|
| 2 | <SpaceShip |
---|
| 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipassffcameras2 |
---|
| 5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 6 | spawnparticleduration = 3 |
---|
| 7 | explosionchunks = 6 |
---|
| 8 | |
---|
| 9 | health = 50 |
---|
| 10 | maxhealth = 100 |
---|
| 11 | initialhealth = 50 |
---|
| 12 | |
---|
[8593] | 13 | shieldhealth = 130 |
---|
| 14 | initialshieldhealth = 130 |
---|
| 15 | maxshieldhealth = 150 |
---|
| 16 | shieldabsorption = 0.95 |
---|
| 17 | reloadrate = 5 |
---|
| 18 | reloadwaittime = 0.5 |
---|
| 19 | |
---|
[8597] | 20 | primaryThrust = 100 |
---|
| 21 | auxilaryThrust = 30 |
---|
| 22 | rotationThrust = 50 |
---|
[8591] | 23 | |
---|
[8597] | 24 | lift = 1; |
---|
| 25 | stallSpeed = 220; |
---|
| 26 | |
---|
[8593] | 27 | boostPower = 10 |
---|
| 28 | boostPowerRate = 1 |
---|
| 29 | boostRate = 5 |
---|
| 30 | boostCooldownDuration = 10 |
---|
| 31 | |
---|
| 32 | shakeFrequency = 15 |
---|
[8679] | 33 | shakeAmplitude = 9 |
---|
[8593] | 34 | |
---|
[8591] | 35 | collisionType = "dynamic" |
---|
| 36 | mass = 100 |
---|
| 37 | linearDamping = 0.7 |
---|
| 38 | angularDamping = 0.9999999 |
---|
| 39 | > |
---|
[8593] | 40 | <engines> |
---|
| 41 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine2 /> |
---|
| 42 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine2 /> |
---|
| 43 | </engines> |
---|
[8591] | 44 | <attached> |
---|
| 45 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
| 46 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
| 47 | <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> |
---|
| 48 | </attached> |
---|
| 49 | <collisionShapes> |
---|
| 50 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 51 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 52 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 53 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 54 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 55 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 56 | </collisionShapes> |
---|
| 57 | <?lua |
---|
[8858] | 58 | include("../includes/weaponSettingsAssff2.oxi") |
---|
[8591] | 59 | ?> |
---|
| 60 | </SpaceShip> |
---|
| 61 | </Template> |
---|
| 62 | |
---|
| 63 | <Template name=spaceshipassffcameras2 defaults=0> |
---|
| 64 | <SpaceShip> |
---|
| 65 | <camerapositions> |
---|
| 66 | <CameraPosition position="0,10, 40" drag=true mouselook=true /> |
---|
| 67 | <CameraPosition position="0,20, 80" drag=true mouselook=true /> |
---|
| 68 | <CameraPosition position="0,30,120" drag=true mouselook=true /> |
---|
| 69 | <CameraPosition position="0,0,-40" yaw=180 drag=true /> |
---|
| 70 | <CameraPosition position="0,3,-14" yaw=0 /> |
---|
| 71 | <CameraPosition position="-50,5,-8" yaw=-90 drag=true /> |
---|
| 72 | <CameraPosition position="50,5,-8" yaw=90 drag=true /--> |
---|
| 73 | </camerapositions> |
---|
| 74 | </SpaceShip> |
---|
| 75 | </Template> |
---|
| 76 | |
---|
| 77 | <Template name=spaceshipassffengine2 baseclass=MultiStateEngine> |
---|
| 78 | <MultiStateEngine |
---|
| 79 | boostfactor = 2 |
---|
| 80 | |
---|
| 81 | speedfront = 150 |
---|
| 82 | speedback = 50 |
---|
| 83 | speedleftright = 50 |
---|
| 84 | speedupdown = 50 |
---|
| 85 | |
---|
| 86 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
| 87 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
| 88 | |
---|
| 89 | accelerationfront = 500 |
---|
| 90 | accelerationbrake = 500 |
---|
| 91 | accelerationback = 125 |
---|
| 92 | accelerationleftright = 125 |
---|
| 93 | accelerationupdown = 125 |
---|
| 94 | > |
---|
| 95 | <EffectContainer condition="idle"> |
---|
| 96 | <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> |
---|
| 97 | </EffectContainer> |
---|
| 98 | <EffectContainer condition="not idle"> |
---|
[8593] | 99 | <FadingBillboard mainstate=activity active=false scale=0.1 position="7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 100 | <FadingBillboard mainstate=activity active=false scale=0.1 position="-7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
[8591] | 101 | </EffectContainer> |
---|
| 102 | <EffectContainer condition="normal or brake"> |
---|
| 103 | |
---|
| 104 | </EffectContainer> |
---|
| 105 | <EffectContainer condition="normal or boost"> |
---|
[8727] | 106 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 107 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
[8591] | 108 | </EffectContainer> |
---|
| 109 | <EffectContainer condition="boost"> |
---|
| 110 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
| 111 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
| 112 | </EffectContainer> |
---|
[8593] | 113 | <!-- <EffectContainer condition="brake"> |
---|
[8591] | 114 | <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 115 | <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 116 | <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 117 | <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 118 | </EffectContainer> |
---|
[8593] | 119 | --> |
---|
[8591] | 120 | </MultiStateEngine> |
---|
| 121 | </Template> |
---|