1 | <Template name=spaceshipHtwo> |
---|
2 | <SpaceShip |
---|
3 | hudtemplate = spaceshiphud |
---|
4 | camerapositiontemplate = spaceshipHtwocameras |
---|
5 | engine = spaceshipHtwoengine |
---|
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 | |
---|
24 | <?lua |
---|
25 | include("includes/weaponsettings_H2.oxi") |
---|
26 | ?> |
---|
27 | |
---|
28 | <attached> |
---|
29 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale3D="3,0.833,0.833" mesh="h2_green.mesh" /> |
---|
30 | <BlinkingBillboard position=" 11.7,4.0,8.5" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
31 | <BlinkingBillboard position="-11.7,4.0,8.5" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> |
---|
32 | </attached> |
---|
33 | <collisionShapes> |
---|
34 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
35 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
36 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
37 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
38 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
39 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
40 | </collisionShapes> |
---|
41 | |
---|
42 | </SpaceShip> |
---|
43 | </Template> |
---|
44 | |
---|
45 | <Template name=spaceshipHtwocameras 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 | </camerapositions> |
---|
52 | </SpaceShip> |
---|
53 | </Template> |
---|
54 | |
---|
55 | <Template name=spaceshipHtwoengine baseclass=MultiStateEngine> |
---|
56 | <MultiStateEngine |
---|
57 | boostfactor = 2 |
---|
58 | |
---|
59 | speedfront = 150 |
---|
60 | speedback = 50 |
---|
61 | speedleftright = 50 |
---|
62 | speedupdown = 50 |
---|
63 | |
---|
64 | accelerationfront = 500 |
---|
65 | accelerationbrake = 500 |
---|
66 | accelerationback = 125 |
---|
67 | accelerationleftright = 125 |
---|
68 | accelerationupdown = 125 |
---|
69 | > |
---|
70 | <active> |
---|
71 | <FadingBillboard mainstate=activity active=false scale=0.05 position=" 0.0, 2.0, 12.0" colour="0.0, 0.65, 0.0, 0.5" material="Examples/FlareZwei_1" turnontime=0.5 turnofftime=0.5 /> |
---|
72 | <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
73 | <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
74 | <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
75 | <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
76 | </active> |
---|
77 | <forward> |
---|
78 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
79 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
80 | </forward> |
---|
81 | <boost> |
---|
82 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
83 | <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> |
---|
84 | </boost> |
---|
85 | </MultiStateEngine> |
---|
86 | </Template> |
---|
87 | |
---|