1 | <Template name=PacmanGelb> |
---|
2 | <SpaceShip |
---|
3 | hudtemplate = spaceshiphud |
---|
4 | camerapositiontemplate = spaceshipescortcameras |
---|
5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
6 | spawnparticleduration = 3 |
---|
7 | explosionchunks = 10 |
---|
8 | |
---|
9 | health = 80 |
---|
10 | maxhealth = 200 |
---|
11 | initialhealth = 80 |
---|
12 | |
---|
13 | shieldhealth = 35 |
---|
14 | initialshieldhealth = 35 |
---|
15 | maxshieldhealth = 60 |
---|
16 | shieldabsorption = 0.9 |
---|
17 | shieldrechargerate = 1 |
---|
18 | shieldrechargewaittime = 1 |
---|
19 | |
---|
20 | primaryThrust = 150 |
---|
21 | auxilaryThrust = 30 |
---|
22 | rotationThrust = 50 |
---|
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 = 80 |
---|
37 | linearDamping = 0.7 |
---|
38 | angularDamping = 0.9999999 |
---|
39 | > |
---|
40 | <engines> |
---|
41 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipescortengine /> |
---|
42 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipescortengine /> |
---|
43 | </engines> |
---|
44 | <attached> |
---|
45 | <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=7 mesh="PacmanGelb.mesh" /> |
---|
46 | </attached> |
---|
47 | <collisionShapes> |
---|
48 | <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" /> |
---|
49 | </collisionShapes> |
---|
50 | <explosion> |
---|
51 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
52 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> |
---|
53 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
54 | |
---|
55 | <ExplosionPart mesh="explosionparts/escort_part_1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
56 | <ExplosionPart mesh="explosionparts/escort_part_2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
57 | <ExplosionPart mesh="explosionparts/escort_part_3.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
58 | <ExplosionPart mesh="explosionparts/escort_part_4.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
59 | <ExplosionPart mesh="explosionparts/escort_part_5.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
60 | <ExplosionPart mesh="explosionparts/escort_part_6.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
61 | </explosion> |
---|
62 | <?lua |
---|
63 | include("../includes/weaponSettingsEscort.oxi") |
---|
64 | ?> |
---|
65 | </SpaceShip> |
---|
66 | </Template> |
---|
67 | |
---|
68 | <Template name=spaceshipescortcameras defaults=0> |
---|
69 | <SpaceShip> |
---|
70 | <camerapositions> |
---|
71 | <CameraPosition position="0,0, 60" drag=false mouselook=true /> |
---|
72 | </camerapositions> |
---|
73 | </SpaceShip> |
---|
74 | </Template> |
---|
75 | |
---|
76 | <Template name=spaceshipescortengine baseclass=MultiStateEngine> |
---|
77 | <MultiStateEngine |
---|
78 | boostfactor = 2.2 |
---|
79 | |
---|
80 | speedfront = 200 |
---|
81 | speedback = 70 |
---|
82 | speedleftright = 70 |
---|
83 | speedupdown = 0 |
---|
84 | |
---|
85 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
86 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
87 | |
---|
88 | accelerationfront = 700 |
---|
89 | accelerationbrake = 700 |
---|
90 | accelerationback = 125 |
---|
91 | accelerationleftright = 125 |
---|
92 | accelerationupdown = 0 |
---|
93 | > |
---|
94 | |
---|
95 | </MultiStateEngine> |
---|
96 | </Template> |
---|