1 | <Template name=spaceshipOrxoBlox> |
---|
2 | <OrxoBloxShip |
---|
3 | hudtemplate = spaceshiphud |
---|
4 | camerapositiontemplate = spaceshipescortcameras |
---|
5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
6 | spawnparticleduration = 3 |
---|
7 | explosionchunks = 4 |
---|
8 | |
---|
9 | health = 10 |
---|
10 | maxhealth = 10 |
---|
11 | initialhealth = 10 |
---|
12 | |
---|
13 | shieldhealth = 20 |
---|
14 | initialshieldhealth = 20 |
---|
15 | maxshieldhealth = 20 |
---|
16 | shieldabsorption = 0.1 |
---|
17 | shieldrechargerate = 1 |
---|
18 | shieldrechargewaittime = 1 |
---|
19 | |
---|
20 | primaryThrust = 150 |
---|
21 | auxilaryThrust = 30 |
---|
22 | rotationThrust = 100 |
---|
23 | |
---|
24 | lift = 1; |
---|
25 | stallSpeed = 220; |
---|
26 | |
---|
27 | boostPower = 20 |
---|
28 | boostPowerRate = 1 |
---|
29 | boostRate = 5 |
---|
30 | boostCooldownDuration = 10 |
---|
31 | |
---|
32 | shakeFrequency = 15 |
---|
33 | shakeAmplitude = 6 |
---|
34 | |
---|
35 | collisionType = "dynamic" |
---|
36 | mass = 4200000 |
---|
37 | linearDamping = 0.9 |
---|
38 | angularDamping = 0.9999999 |
---|
39 | |
---|
40 | collisiondamage = 100 |
---|
41 | enablecollisiondamage = true |
---|
42 | |
---|
43 | > |
---|
44 | <engines> |
---|
45 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipOrxoBloxengine /> |
---|
46 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipOrxoBloxengine /> |
---|
47 | </engines> |
---|
48 | <attached> |
---|
49 | <Model position="0,0,0" direction="0,0,0" roll=0 scale=1 mesh="escortShip.mesh" /> |
---|
50 | <Model position="0,0,0" direction="0,0,0" roll=0 scale=1 mesh="escortWeapon.mesh" /> |
---|
51 | <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" /> |
---|
52 | <Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
53 | <Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
54 | <Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /--> |
---|
55 | </attached> |
---|
56 | <explosion > |
---|
57 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
58 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> |
---|
59 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
60 | |
---|
61 | <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" /> |
---|
62 | <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
63 | <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
64 | <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
65 | <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
66 | </explosion> |
---|
67 | <?lua |
---|
68 | include("../includes/OrxoBloxWeapon.oxi") |
---|
69 | ?> |
---|
70 | </OrxoBloxShip> |
---|
71 | </Template> |
---|
72 | |
---|
73 | <Template name=spaceshipescortcameras defaults=0> |
---|
74 | <OrxoBloxShip> |
---|
75 | <camerapositions> |
---|
76 | <CameraPosition position="0,100,0" pitch=-90 absolute=true drag = false mouselook=true/> |
---|
77 | <CameraPosition position="0,0,0" drag=true mouselook=true /> |
---|
78 | <CameraPosition position="0,40,125" drag=true mouselook=true /> |
---|
79 | <CameraPosition position="0,30, 90" drag=true mouselook=true /> |
---|
80 | </camerapositions> |
---|
81 | </OrxoBloxShip> |
---|
82 | </Template> |
---|
83 | |
---|
84 | <Template name=spaceshipOrxoBloxengine baseclass=MultiStateEngine> |
---|
85 | <MultiStateEngine |
---|
86 | boostfactor = 2.2 |
---|
87 | |
---|
88 | |
---|
89 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
90 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
91 | > |
---|
92 | |
---|
93 | |
---|
94 | </MultiStateEngine> |
---|
95 | </Template> |
---|