1 | <Template name=spaceshipzombie> |
---|
2 | <SpaceShip |
---|
3 | hudtemplate = spaceshiphud |
---|
4 | camerapositiontemplate = spaceshiphovercameras |
---|
5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
6 | spawnparticleduration = 3 |
---|
7 | explosionchunks = 6 |
---|
8 | |
---|
9 | health = 60 |
---|
10 | maxhealth = 200 |
---|
11 | initialhealth = 60 |
---|
12 | |
---|
13 | shieldhealth = 25 |
---|
14 | initialshieldhealth = 0 |
---|
15 | maxshieldhealth = 40 |
---|
16 | shieldabsorption = 0.6 |
---|
17 | reloadrate = 2 |
---|
18 | reloadwaittime = 0.5 |
---|
19 | |
---|
20 | primaryThrust = 200 |
---|
21 | auxilaryThrust = 30 |
---|
22 | rotationThrust = 20 |
---|
23 | |
---|
24 | jumpBoost = 90 |
---|
25 | |
---|
26 | lift = 1; |
---|
27 | stallSpeed = 220; |
---|
28 | |
---|
29 | boostPower = 30 |
---|
30 | boostPowerRate = 1 |
---|
31 | boostRate = 5 |
---|
32 | boostCooldownDuration = 10 |
---|
33 | |
---|
34 | collisionType = "dynamic" |
---|
35 | mass = 100 |
---|
36 | linearDamping = 0.2 |
---|
37 | angularDamping = 0.9999999 |
---|
38 | collisiondamage = 100 |
---|
39 | enablecollisiondamage = true |
---|
40 | |
---|
41 | |
---|
42 | > |
---|
43 | <engines> |
---|
44 | <MultiStateEngine position=" 0, 0, 0" template=spaceshiphoverengine /> |
---|
45 | </engines> |
---|
46 | <attached> |
---|
47 | <Model position="0,0,0" yaw=90 pitch=0 roll=0 scale=4 mesh="escortShip.mesh" /> |
---|
48 | <Model position="0,0,0" yaw=180 pitch=90 roll=0 scale=4 mesh="escortWeapon.mesh" /> |
---|
49 | |
---|
50 | </attached> |
---|
51 | <collisionShapes> |
---|
52 | <BoxCollisionShape position="0 ,0 , 3" halfExtents="10, 4,8" /> |
---|
53 | <BoxCollisionShape position="12.6 ,-2, 3" halfExtents="2.8,2.8,11"/> |
---|
54 | <BoxCollisionShape position="-12.6,-2, 3" halfExtents="2.8,2.8,11"/> |
---|
55 | <BoxCollisionShape position="0, 0,-12" halfExtents="4 , 4 ,7" /> |
---|
56 | </collisionShapes> |
---|
57 | <explosion > |
---|
58 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
59 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> |
---|
60 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
61 | |
---|
62 | <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" /> |
---|
63 | <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
64 | <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
65 | <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
66 | <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
67 | </explosion> |
---|
68 | |
---|
69 | <!-- <?lua |
---|
70 | include("../includes/weaponSettingsHover.oxi") |
---|
71 | ?> --> |
---|
72 | </SpaceShip> |
---|
73 | </Template> |
---|
74 | |
---|
75 | <Template name=spaceshiphovercameras defaults=0> |
---|
76 | <SpaceShip> |
---|
77 | <camerapositions> |
---|
78 | <CameraPosition position="0,8, 5" drag=true mouselook=true /> |
---|
79 | <CameraPosition position="0,8,5" yaw="180" drag=true mouselook=true /> |
---|
80 | </camerapositions> |
---|
81 | </SpaceShip> |
---|
82 | </Template> |
---|
83 | |
---|
84 | <Template name=spaceshiphoverengine baseclass=Engine> |
---|
85 | <MultiStateEngine |
---|
86 | boostfactor = 2 |
---|
87 | |
---|
88 | speedfront = 90 |
---|
89 | speedback = 90 |
---|
90 | speedleftright = 90 |
---|
91 | speedupdown = 0 |
---|
92 | |
---|
93 | accelerationfront = 500 |
---|
94 | accelerationbrake = 500 |
---|
95 | accelerationback = 500 |
---|
96 | accelerationleftright = 500 |
---|
97 | accelerationupdown = 0 |
---|
98 | > |
---|
99 | <EffectContainer condition="not idle"> |
---|
100 | <FadingBillboard mainstate=activity active=false scale=0.02 position=" 1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
101 | <FadingBillboard mainstate=activity active=false scale=0.02 position=" 0, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
102 | <FadingBillboard mainstate=activity active=false scale=0.02 position="-1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 /> |
---|
103 | </EffectContainer> |
---|
104 | <EffectContainer condition="normal or boost"> |
---|
105 | <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
106 | |
---|
107 | </EffectContainer> |
---|
108 | <EffectContainer condition="boost"> |
---|
109 | <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=1600 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> |
---|
110 | </EffectContainer> |
---|
111 | <EffectContainer condition="brake"> |
---|
112 | <FadingBillboard mainstate=activity active=false scale=0.5 position=" 0, 0, 40" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> |
---|
113 | |
---|
114 | </EffectContainer> |
---|
115 | </MultiStateEngine> |
---|
116 | </Template> |
---|