[11831] | 1 | <Template name=PacmanGelb> |
---|
[11862] | 2 | <PacmanGelb |
---|
[11831] | 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipescortcameras |
---|
| 5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 6 | spawnparticleduration = 3 |
---|
| 7 | explosionchunks = 10 |
---|
| 8 | |
---|
| 9 | health = 80 |
---|
| 10 | maxhealth = 200 |
---|
| 11 | initialhealth = 80 |
---|
| 12 | |
---|
| 13 | shieldhealth = 35 |
---|
| 14 | initialshieldhealth = 35 |
---|
| 15 | maxshieldhealth = 60 |
---|
| 16 | shieldabsorption = 0.9 |
---|
| 17 | shieldrechargerate = 1 |
---|
| 18 | shieldrechargewaittime = 1 |
---|
| 19 | |
---|
| 20 | primaryThrust = 150 |
---|
| 21 | auxilaryThrust = 30 |
---|
| 22 | rotationThrust = 50 |
---|
| 23 | |
---|
| 24 | lift = 1; |
---|
| 25 | stallSpeed = 220; |
---|
| 26 | |
---|
| 27 | boostPower = 20 |
---|
| 28 | boostPowerRate = 1 |
---|
| 29 | boostRate = 5 |
---|
| 30 | boostCooldownDuration = 10 |
---|
| 31 | |
---|
[11897] | 32 | shakeFrequency = 0 |
---|
| 33 | shakeAmplitude = 0 |
---|
[11831] | 34 | |
---|
| 35 | collisionType = "dynamic" |
---|
| 36 | mass = 80 |
---|
[11900] | 37 | linearDamping = 0.9 |
---|
[11831] | 38 | angularDamping = 0.9999999 |
---|
| 39 | > |
---|
| 40 | <engines> |
---|
| 41 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipescortengine /> |
---|
| 42 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipescortengine /> |
---|
| 43 | </engines> |
---|
| 44 | <attached> |
---|
[11897] | 45 | <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=5 mesh="PacmanGelb.mesh" /> |
---|
| 46 | <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" /> |
---|
| 47 | <Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
| 48 | <Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
| 49 | <Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /--> |
---|
[11831] | 50 | </attached> |
---|
| 51 | <collisionShapes> |
---|
[11931] | 52 | <BoxCollisionShape position="0 ,0 , 0" halfExtents="1,1,1" /> |
---|
[11831] | 53 | </collisionShapes> |
---|
| 54 | |
---|
| 55 | <?lua |
---|
| 56 | include("../includes/weaponSettingsEscort.oxi") |
---|
| 57 | ?> |
---|
[11862] | 58 | </PacmanGelb> |
---|
[11831] | 59 | </Template> |
---|
| 60 | |
---|
| 61 | <Template name=spaceshipescortcameras defaults=0> |
---|
[11862] | 62 | <PacmanGelb> |
---|
[11831] | 63 | <camerapositions> |
---|
[11897] | 64 | <CameraPosition position="0,7, 5" drag=true mouselook=true /> |
---|
[11831] | 65 | </camerapositions> |
---|
[11862] | 66 | </PacmanGelb> |
---|
[11831] | 67 | </Template> |
---|
| 68 | |
---|
| 69 | <Template name=spaceshipescortengine baseclass=MultiStateEngine> |
---|
| 70 | <MultiStateEngine |
---|
[11897] | 71 | boostfactor = 1.0 |
---|
[11831] | 72 | |
---|
[11931] | 73 | speedfront = 60 |
---|
[11898] | 74 | speedback = 20 |
---|
| 75 | speedleftright = 1 |
---|
| 76 | speedupdown = 1 |
---|
[11831] | 77 | |
---|
| 78 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
| 79 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
| 80 | |
---|
[11898] | 81 | accelerationfront = 500 |
---|
| 82 | accelerationbrake = 5 |
---|
| 83 | accelerationback = 500 |
---|
[11897] | 84 | accelerationleftright = 5 |
---|
[11898] | 85 | accelerationupdown = 5 |
---|
[11831] | 86 | > |
---|
[11897] | 87 | <EffectContainer condition="idle"> |
---|
| 88 | <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> |
---|
| 89 | /> |
---|
| 90 | <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=150 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 91 | <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=15 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 92 | </EffectContainer> |
---|
| 93 | <EffectContainer condition="not idle"> |
---|
| 94 | <FadingBillboard mainstate=activity active=false scale=0.09 position="12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 95 | <FadingBillboard mainstate=activity active=false scale=0.09 position="-12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 96 | </EffectContainer> |
---|
| 97 | <EffectContainer condition="normal or brake"> |
---|
[11831] | 98 | |
---|
[11897] | 99 | </EffectContainer> |
---|
| 100 | <EffectContainer condition="normal or boost"> |
---|
| 101 | <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=5 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 102 | <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
| 103 | </EffectContainer> |
---|
| 104 | |
---|
[11831] | 105 | </MultiStateEngine> |
---|
| 106 | </Template> |
---|