[5528] | 1 | <Template name=spaceshipassff> |
---|
| 2 | <SpaceShip |
---|
| 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipassffcameras |
---|
| 5 | engine = spaceshipassffengine |
---|
| 6 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 7 | spawnparticleduration = 3 |
---|
| 8 | explosionchunks = 6 |
---|
| 9 | |
---|
| 10 | health = 100 |
---|
| 11 | maxhealth = 200 |
---|
| 12 | initialhealth = 100 |
---|
| 13 | |
---|
| 14 | primaryThrust = 100; |
---|
| 15 | auxilaryThrust = 30; |
---|
[8430] | 16 | rotationThrust = 60; |
---|
[5528] | 17 | |
---|
[8430] | 18 | lift = 0.2; |
---|
| 19 | stallSpeed = 220; |
---|
| 20 | |
---|
[5528] | 21 | collisionType = "dynamic" |
---|
| 22 | mass = 100 |
---|
| 23 | linearDamping = 0.7 |
---|
| 24 | angularDamping = 0.9999999 |
---|
| 25 | > |
---|
| 26 | <attached> |
---|
| 27 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
| 28 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
| 29 | <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 /> |
---|
| 30 | </attached> |
---|
| 31 | <collisionShapes> |
---|
| 32 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 33 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 34 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 35 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 36 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 37 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 38 | </collisionShapes> |
---|
| 39 | <?lua |
---|
[7845] | 40 | include("includes/weaponSettingsAssff.oxi") |
---|
[5528] | 41 | ?> |
---|
| 42 | </SpaceShip> |
---|
| 43 | </Template> |
---|
| 44 | |
---|
| 45 | <Template name=spaceshipassffcameras defaults=0> |
---|
| 46 | <SpaceShip> |
---|
| 47 | <camerapositions> |
---|
| 48 | <CameraPosition position="0,10, 40" drag=true mouselook=true /> |
---|
| 49 | <CameraPosition position="0,20, 80" drag=true mouselook=true /> |
---|
| 50 | <CameraPosition position="0,30,120" drag=true mouselook=true /> |
---|
| 51 | <!--CameraPosition position="0,150,-25" pitch=-90 drag=true /> |
---|
| 52 | <CameraPosition position="0,0,-40" yaw=180 drag=true /> |
---|
| 53 | <CameraPosition position="0,3,-14" yaw=0 /> |
---|
| 54 | <CameraPosition position="-50,5,-8" yaw=-90 drag=true /> |
---|
| 55 | <CameraPosition position="50,5,-8" yaw=90 drag=true /--> |
---|
| 56 | </camerapositions> |
---|
| 57 | </SpaceShip> |
---|
| 58 | </Template> |
---|
| 59 | |
---|
| 60 | <Template name=spaceshipassffengine baseclass=MultiStateEngine> |
---|
| 61 | <MultiStateEngine |
---|
| 62 | boostfactor = 2 |
---|
| 63 | |
---|
| 64 | speedfront = 150 |
---|
| 65 | speedback = 50 |
---|
| 66 | speedleftright = 50 |
---|
| 67 | speedupdown = 50 |
---|
| 68 | |
---|
[6417] | 69 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
| 70 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
| 71 | |
---|
[5528] | 72 | accelerationfront = 500 |
---|
| 73 | accelerationbrake = 500 |
---|
| 74 | accelerationback = 125 |
---|
| 75 | accelerationleftright = 125 |
---|
| 76 | accelerationupdown = 125 |
---|
| 77 | > |
---|
[6417] | 78 | <EffectContainer condition="idle"> |
---|
[6436] | 79 | <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> |
---|
[6417] | 80 | </EffectContainer> |
---|
| 81 | <EffectContainer condition="not idle"> |
---|
[5528] | 82 | <FadingBillboard mainstate=activity active=false scale=0.1 position="0, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
| 83 | <!-- |
---|
| 84 | <Light mainstate=visibility position=" 8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point /> |
---|
| 85 | <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point /> |
---|
| 86 | --> |
---|
[6417] | 87 | </EffectContainer> |
---|
| 88 | <EffectContainer condition="normal or brake"> |
---|
| 89 | |
---|
| 90 | </EffectContainer> |
---|
| 91 | <EffectContainer condition="normal or boost"> |
---|
[5528] | 92 | <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" /> |
---|
| 93 | <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" /> |
---|
[6417] | 94 | </EffectContainer> |
---|
| 95 | <EffectContainer condition="boost"> |
---|
[5528] | 96 | <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" /> |
---|
| 97 | <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" /> |
---|
[6417] | 98 | </EffectContainer> |
---|
| 99 | <EffectContainer condition="brake"> |
---|
[5528] | 100 | <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 /> |
---|
| 101 | <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 /> |
---|
| 102 | <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 /> |
---|
| 103 | <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 /> |
---|
[6417] | 104 | </EffectContainer> |
---|
[5528] | 105 | </MultiStateEngine> |
---|
| 106 | </Template> |
---|
| 107 | |
---|
| 108 | <!--Template name=spaceshippirate> |
---|
| 109 | <SpaceShip |
---|
| 110 | health = 100 |
---|
| 111 | maxhealth = 200 |
---|
| 112 | initialhealth = 100 |
---|
| 113 | |
---|
| 114 | maxspeed = 250 |
---|
| 115 | maxsecondaryspeed = 50 |
---|
| 116 | maxrotation = 100 |
---|
| 117 | transacc = 200 |
---|
| 118 | rotacc = 140 |
---|
| 119 | transdamp = 75 |
---|
| 120 | > |
---|
| 121 | <attached> |
---|
| 122 | <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" /> |
---|
| 123 | </attached> |
---|
| 124 | </SpaceShip> |
---|
| 125 | </Template> |
---|
| 126 | |
---|
| 127 | <Template name=spaceshipspacecruiser> |
---|
| 128 | <SpaceShip |
---|
| 129 | health = 100 |
---|
| 130 | maxhealth = 200 |
---|
| 131 | initialhealth = 100 |
---|
| 132 | |
---|
| 133 | maxspeed = 250 |
---|
| 134 | maxsecondaryspeed = 50 |
---|
| 135 | maxrotation = 100 |
---|
| 136 | transacc = 200 |
---|
| 137 | rotacc = 140 |
---|
| 138 | transdamp = 75 |
---|
| 139 | > |
---|
| 140 | <attached> |
---|
| 141 | <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" /> |
---|
| 142 | </attached> |
---|
| 143 | </SpaceShip> |
---|
| 144 | </Template--> |
---|