[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> |
---|
| 29 | <CameraPosition position="0,10,40" /> |
---|
[5354] | 30 | <CameraPosition position="0,20,80" /> |
---|
[5267] | 31 | <CameraPosition position="0,150,-25" pitch=-90 /> |
---|
| 32 | <CameraPosition position="0,0,-30" yaw=180 /> |
---|
| 33 | <CameraPosition position="0,3,-14" yaw=0 /> |
---|
| 34 | <CameraPosition position="-50,5,-8" yaw=-90 /> |
---|
| 35 | <CameraPosition position="50,5,-8" yaw=90 /> |
---|
| 36 | </camerapositions> |
---|
| 37 | </SpaceShip> |
---|
| 38 | </Template> |
---|
| 39 | |
---|
[5285] | 40 | <Template name=spaceshipassffengine baseclass=MultiStateEngine> |
---|
| 41 | <MultiStateEngine |
---|
| 42 | boostfactor = 2 |
---|
| 43 | |
---|
| 44 | speedfront = 150 |
---|
| 45 | speedback = 50 |
---|
| 46 | speedleftright = 50 |
---|
| 47 | speedupdown = 50 |
---|
| 48 | |
---|
| 49 | accelerationfront = 100 |
---|
| 50 | accelerationbrake = 100 |
---|
| 51 | accelerationback = 25 |
---|
| 52 | accelerationleftright = 25 |
---|
| 53 | accelerationupdown = 25 |
---|
| 54 | > |
---|
| 55 | <active> |
---|
| 56 | <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 /> |
---|
[5354] | 57 | <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 /> |
---|
| 58 | <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 /> |
---|
[5285] | 59 | </active> |
---|
| 60 | <forward> |
---|
| 61 | <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" /> |
---|
| 62 | <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" /> |
---|
| 63 | </forward> |
---|
| 64 | <boost> |
---|
[5323] | 65 | <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" /> |
---|
| 66 | <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] | 67 | </boost> |
---|
| 68 | <brake> |
---|
| 69 | <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 /> |
---|
| 70 | <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 /> |
---|
| 71 | <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 /> |
---|
| 72 | <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 /> |
---|
| 73 | </brake> |
---|
| 74 | </MultiStateEngine> |
---|
| 75 | </Template> |
---|
| 76 | |
---|
[5267] | 77 | <!--Template name=spaceshippirate> |
---|
| 78 | <SpaceShip |
---|
| 79 | health = 100 |
---|
| 80 | maxhealth = 200 |
---|
| 81 | initialhealth = 100 |
---|
| 82 | |
---|
| 83 | maxspeed = 250 |
---|
| 84 | maxsecondaryspeed = 50 |
---|
| 85 | maxrotation = 100 |
---|
| 86 | transacc = 200 |
---|
| 87 | rotacc = 140 |
---|
| 88 | transdamp = 75 |
---|
| 89 | > |
---|
| 90 | <attached> |
---|
| 91 | <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" /> |
---|
| 92 | </attached> |
---|
| 93 | </SpaceShip> |
---|
| 94 | </Template> |
---|
| 95 | |
---|
| 96 | <Template name=spaceshipspacecruiser> |
---|
| 97 | <SpaceShip |
---|
| 98 | health = 100 |
---|
| 99 | maxhealth = 200 |
---|
| 100 | initialhealth = 100 |
---|
| 101 | |
---|
| 102 | maxspeed = 250 |
---|
| 103 | maxsecondaryspeed = 50 |
---|
| 104 | maxrotation = 100 |
---|
| 105 | transacc = 200 |
---|
| 106 | rotacc = 140 |
---|
| 107 | transdamp = 75 |
---|
| 108 | > |
---|
| 109 | <attached> |
---|
| 110 | <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" /> |
---|
| 111 | </attached> |
---|
| 112 | </SpaceShip> |
---|
| 113 | </Template--> |
---|