[5267] | 1 | <Template name=spaceshipassff> |
---|
| 2 | <SpaceShip |
---|
[5286] | 3 | hudtemplate = spaceshiphud |
---|
[5267] | 4 | camerapositiontemplate = spaceshipassffcameras |
---|
[5285] | 5 | engine = spaceshipassffengine |
---|
[5351] | 6 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 7 | spawnparticleduration = 3 |
---|
[5354] | 8 | explosionchunks = 6 |
---|
[5267] | 9 | |
---|
| 10 | health = 100 |
---|
| 11 | maxhealth = 200 |
---|
| 12 | initialhealth = 100 |
---|
| 13 | |
---|
| 14 | maxrotation = 100 |
---|
| 15 | rotacc = 140 |
---|
[5285] | 16 | transdamp = 50 |
---|
[5267] | 17 | > |
---|
| 18 | <attached> |
---|
| 19 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
| 20 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
| 21 | <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 /> |
---|
| 22 | </attached> |
---|
| 23 | </SpaceShip> |
---|
| 24 | </Template> |
---|
| 25 | |
---|
| 26 | <Template name=spaceshipassffcameras defaults=0> |
---|
| 27 | <SpaceShip> |
---|
| 28 | <camerapositions> |
---|
[5357] | 29 | <CameraPosition position="0,10, 40" drag=true mouselook=true /> |
---|
| 30 | <CameraPosition position="0,20, 80" drag=true mouselook=true /> |
---|
| 31 | <CameraPosition position="0,30,120" drag=true mouselook=true /> |
---|
| 32 | <!--CameraPosition position="0,150,-25" pitch=-90 drag=true /> |
---|
| 33 | <CameraPosition position="0,0,-40" yaw=180 drag=true /> |
---|
[5267] | 34 | <CameraPosition position="0,3,-14" yaw=0 /> |
---|
[5357] | 35 | <CameraPosition position="-50,5,-8" yaw=-90 drag=true /> |
---|
| 36 | <CameraPosition position="50,5,-8" yaw=90 drag=true /--> |
---|
[5267] | 37 | </camerapositions> |
---|
| 38 | </SpaceShip> |
---|
| 39 | </Template> |
---|
| 40 | |
---|
[5285] | 41 | <Template name=spaceshipassffengine baseclass=MultiStateEngine> |
---|
| 42 | <MultiStateEngine |
---|
| 43 | boostfactor = 2 |
---|
| 44 | |
---|
| 45 | speedfront = 150 |
---|
| 46 | speedback = 50 |
---|
| 47 | speedleftright = 50 |
---|
| 48 | speedupdown = 50 |
---|
| 49 | |
---|
| 50 | accelerationfront = 100 |
---|
| 51 | accelerationbrake = 100 |
---|
| 52 | accelerationback = 25 |
---|
| 53 | accelerationleftright = 25 |
---|
| 54 | accelerationupdown = 25 |
---|
| 55 | > |
---|
| 56 | <active> |
---|
| 57 | <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 /> |
---|
[5357] | 58 | <!-- |
---|
[5354] | 59 | <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 /> |
---|
| 60 | <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 /> |
---|
[5357] | 61 | --> |
---|
[5285] | 62 | </active> |
---|
| 63 | <forward> |
---|
| 64 | <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" /> |
---|
| 65 | <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" /> |
---|
| 66 | </forward> |
---|
| 67 | <boost> |
---|
[5323] | 68 | <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" /> |
---|
| 69 | <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" /> |
---|
[5285] | 70 | </boost> |
---|
| 71 | <brake> |
---|
| 72 | <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 /> |
---|
| 73 | <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 /> |
---|
| 74 | <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 /> |
---|
| 75 | <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 /> |
---|
| 76 | </brake> |
---|
| 77 | </MultiStateEngine> |
---|
| 78 | </Template> |
---|
| 79 | |
---|
[5267] | 80 | <!--Template name=spaceshippirate> |
---|
| 81 | <SpaceShip |
---|
| 82 | health = 100 |
---|
| 83 | maxhealth = 200 |
---|
| 84 | initialhealth = 100 |
---|
| 85 | |
---|
| 86 | maxspeed = 250 |
---|
| 87 | maxsecondaryspeed = 50 |
---|
| 88 | maxrotation = 100 |
---|
| 89 | transacc = 200 |
---|
| 90 | rotacc = 140 |
---|
| 91 | transdamp = 75 |
---|
| 92 | > |
---|
| 93 | <attached> |
---|
| 94 | <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" /> |
---|
| 95 | </attached> |
---|
| 96 | </SpaceShip> |
---|
| 97 | </Template> |
---|
| 98 | |
---|
| 99 | <Template name=spaceshipspacecruiser> |
---|
| 100 | <SpaceShip |
---|
| 101 | health = 100 |
---|
| 102 | maxhealth = 200 |
---|
| 103 | initialhealth = 100 |
---|
| 104 | |
---|
| 105 | maxspeed = 250 |
---|
| 106 | maxsecondaryspeed = 50 |
---|
| 107 | maxrotation = 100 |
---|
| 108 | transacc = 200 |
---|
| 109 | rotacc = 140 |
---|
| 110 | transdamp = 75 |
---|
| 111 | > |
---|
| 112 | <attached> |
---|
| 113 | <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" /> |
---|
| 114 | </attached> |
---|
| 115 | </SpaceShip> |
---|
| 116 | </Template--> |
---|