[12071] | 1 | |
---|
| 2 | <Template name=OrxoKartKart> |
---|
| 3 | <SpaceShip |
---|
[12079] | 4 | hudtemplate = spaceshiporxokarthud |
---|
[12147] | 5 | camerapositiontemplate = spaceshipcameras |
---|
[12071] | 6 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 7 | spawnparticleduration = 3 |
---|
| 8 | explosionchunks = 6 |
---|
| 9 | |
---|
| 10 | health = 100 |
---|
| 11 | maxhealth = 200 |
---|
| 12 | initialhealth = 100 |
---|
| 13 | |
---|
| 14 | shieldhealth = 25 |
---|
| 15 | initialshieldhealth = 25 |
---|
| 16 | maxshieldhealth = 40 |
---|
| 17 | shieldabsorption = 0.6 |
---|
| 18 | reloadrate = 2 |
---|
| 19 | reloadwaittime = 0.5 |
---|
| 20 | |
---|
| 21 | primaryThrust = 600 |
---|
| 22 | auxilaryThrust = 300 |
---|
| 23 | rotationThrust = 50 |
---|
| 24 | lift = 1; |
---|
| 25 | stallSpeed = 500; |
---|
| 26 | |
---|
[12155] | 27 | boostPower = 10 |
---|
[12192] | 28 | boostPowerRate = 1000 |
---|
| 29 | boostRate = 1 |
---|
| 30 | boostCooldownDuration = 1 |
---|
[12071] | 31 | |
---|
| 32 | collisionType = "dynamic" |
---|
[12168] | 33 | mass = 2000 |
---|
| 34 | linearDamping = 0.5 |
---|
[12192] | 35 | angularDamping = 0.99999 |
---|
[12071] | 36 | > |
---|
| 37 | <engines> |
---|
[12147] | 38 | <MultiStateEngine position=" 0, 0, 0" template=spaceshipengine /> |
---|
[12071] | 39 | </engines> |
---|
| 40 | <attached> |
---|
| 41 | <Model position="0,0,-20" mesh="hovership_body.mesh" scale="5" yaw=180/> |
---|
[12168] | 42 | <Model position="0,0,-20" mesh="hovership_engine.mesh" scale="5" yaw=180/> |
---|
[12071] | 43 | </attached> |
---|
| 44 | <collisionShapes> |
---|
| 45 | <BoxCollisionShape position="0,-2 ,7" halfExtents="7, 4 ,30" /> |
---|
| 46 | </collisionShapes> |
---|
| 47 | <explosion> |
---|
| 48 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
| 49 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" scale=2 /> |
---|
| 50 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
| 51 | |
---|
| 52 | <ExplosionPart mesh="explosionparts/pirate_part_1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 53 | <ExplosionPart mesh="explosionparts/pirate_part_2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 54 | <ExplosionPart mesh="explosionparts/pirate_part_3.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 55 | <ExplosionPart mesh="explosionparts/pirate_part_4.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 56 | </explosion> |
---|
| 57 | </SpaceShip> |
---|
| 58 | </Template> |
---|
[12147] | 59 | |
---|
| 60 | <Template name=spaceshipcameras defaults=0> |
---|
[12071] | 61 | <SpaceShip> |
---|
| 62 | <camerapositions> |
---|
[12147] | 63 | <CameraPosition position="0,8, 5" drag=True mouselook=False /> |
---|
| 64 | <CameraPosition position="0,8,5" yaw="180" drag=True mouselook=False /> |
---|
[12071] | 65 | </camerapositions> |
---|
| 66 | </SpaceShip> |
---|
| 67 | </Template> |
---|
| 68 | |
---|
[12147] | 69 | <Template name=spaceshipengine baseclass=Engine> |
---|
[12071] | 70 | <MultiStateEngine |
---|
| 71 | boostfactor = 2 |
---|
| 72 | |
---|
[12155] | 73 | speedfront = 300 |
---|
[12071] | 74 | speedback = 40 |
---|
[12155] | 75 | speedleftright = 300 |
---|
[12071] | 76 | speedupdown = 40 |
---|
| 77 | |
---|
[12147] | 78 | accelerationfront = 300 |
---|
[12155] | 79 | accelerationbrake = 300 |
---|
[12071] | 80 | accelerationback = 125 |
---|
[12155] | 81 | accelerationleftright = 125 |
---|
[12071] | 82 | accelerationupdown = 125 |
---|
| 83 | > |
---|
| 84 | <EffectContainer condition="not idle"> |
---|
| 85 | <FadingBillboard mainstate=activity active=false scale=0.02 position=" 1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
| 86 | <FadingBillboard mainstate=activity active=false scale=0.02 position=" 0, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
| 87 | <FadingBillboard mainstate=activity active=false scale=0.02 position="-1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
| 88 | </EffectContainer> |
---|
| 89 | <EffectContainer condition="normal or boost"> |
---|
| 90 | <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 91 | |
---|
| 92 | </EffectContainer> |
---|
| 93 | <EffectContainer condition="boost"> |
---|
| 94 | <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=1600 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 95 | </EffectContainer> |
---|
| 96 | <EffectContainer condition="brake"> |
---|
| 97 | <FadingBillboard mainstate=activity active=false scale=0.5 position=" 0, 0, 40" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 98 | |
---|
| 99 | </EffectContainer> |
---|
| 100 | </MultiStateEngine> |
---|
| 101 | </Template> |
---|