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; |
---|
16 | rotationThrust = 25; |
---|
17 | |
---|
18 | collisionType = "dynamic" |
---|
19 | mass = 100 |
---|
20 | linearDamping = 0.7 |
---|
21 | angularDamping = 0.9999999 |
---|
22 | > |
---|
23 | <attached> |
---|
24 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
25 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
26 | <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 /> |
---|
27 | </attached> |
---|
28 | <collisionShapes> |
---|
29 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
30 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
31 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
32 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
33 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
34 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
35 | </collisionShapes> |
---|
36 | </SpaceShip> |
---|
37 | </Template> |
---|
38 | |
---|
39 | <Template name=spaceshipassffcameras defaults=0> |
---|
40 | <SpaceShip> |
---|
41 | <camerapositions> |
---|
42 | <CameraPosition position="0,10, 40" drag=true mouselook=true /> |
---|
43 | <CameraPosition position="0,20, 80" drag=true mouselook=true /> |
---|
44 | <CameraPosition position="0,30,120" drag=true mouselook=true /> |
---|
45 | <!--CameraPosition position="0,150,-25" pitch=-90 drag=true /> |
---|
46 | <CameraPosition position="0,0,-40" yaw=180 drag=true /> |
---|
47 | <CameraPosition position="0,3,-14" yaw=0 /> |
---|
48 | <CameraPosition position="-50,5,-8" yaw=-90 drag=true /> |
---|
49 | <CameraPosition position="50,5,-8" yaw=90 drag=true /--> |
---|
50 | </camerapositions> |
---|
51 | </SpaceShip> |
---|
52 | </Template> |
---|
53 | |
---|
54 | <Template name=spaceshipassffengine baseclass=MultiStateEngine> |
---|
55 | <MultiStateEngine |
---|
56 | boostfactor = 2 |
---|
57 | |
---|
58 | speedfront = 150 |
---|
59 | speedback = 50 |
---|
60 | speedleftright = 50 |
---|
61 | speedupdown = 50 |
---|
62 | |
---|
63 | accelerationfront = 500 |
---|
64 | accelerationbrake = 500 |
---|
65 | accelerationback = 125 |
---|
66 | accelerationleftright = 125 |
---|
67 | accelerationupdown = 125 |
---|
68 | > |
---|
69 | <active> |
---|
70 | <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 /> |
---|
71 | <!-- |
---|
72 | <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 /> |
---|
73 | <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 /> |
---|
74 | --> |
---|
75 | </active> |
---|
76 | <forward> |
---|
77 | <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" /> |
---|
78 | <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" /> |
---|
79 | </forward> |
---|
80 | <boost> |
---|
81 | <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" /> |
---|
82 | <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" /> |
---|
83 | </boost> |
---|
84 | <brake> |
---|
85 | <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 /> |
---|
86 | <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 /> |
---|
87 | <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 /> |
---|
88 | <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 /> |
---|
89 | </brake> |
---|
90 | </MultiStateEngine> |
---|
91 | </Template> |
---|
92 | |
---|
93 | <!--Template name=spaceshippirate> |
---|
94 | <SpaceShip |
---|
95 | health = 100 |
---|
96 | maxhealth = 200 |
---|
97 | initialhealth = 100 |
---|
98 | |
---|
99 | maxspeed = 250 |
---|
100 | maxsecondaryspeed = 50 |
---|
101 | maxrotation = 100 |
---|
102 | transacc = 200 |
---|
103 | rotacc = 140 |
---|
104 | transdamp = 75 |
---|
105 | > |
---|
106 | <attached> |
---|
107 | <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" /> |
---|
108 | </attached> |
---|
109 | </SpaceShip> |
---|
110 | </Template> |
---|
111 | |
---|
112 | <Template name=spaceshipspacecruiser> |
---|
113 | <SpaceShip |
---|
114 | health = 100 |
---|
115 | maxhealth = 200 |
---|
116 | initialhealth = 100 |
---|
117 | |
---|
118 | maxspeed = 250 |
---|
119 | maxsecondaryspeed = 50 |
---|
120 | maxrotation = 100 |
---|
121 | transacc = 200 |
---|
122 | rotacc = 140 |
---|
123 | transdamp = 75 |
---|
124 | > |
---|
125 | <attached> |
---|
126 | <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" /> |
---|
127 | </attached> |
---|
128 | </SpaceShip> |
---|
129 | </Template--> |
---|