Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/spaceshipTurret.oxt @ 12288

Last change on this file since 12288 was 11052, checked in by landauf, 9 years ago

merged branch presentationHS15 back to trunk

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1<Template name=spaceshipturret>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipturretcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 6
8
9   health            = 100
10   maxhealth         = 200
11   initialhealth     = 100
12
13   shieldhealth        = 30
14   initialshieldhealth = 30
15   maxshieldhealth     = 50
16   shieldabsorption    = 0.8
17   shieldrechargerate  = 1
18   shieldrechargewaittime = 1
19
20   primaryThrust     = 100
21   auxilaryThrust    = 30
22   rotationThrust    = 50
23
24   lift = 1;
25   stallSpeed = 220;
26
27   boostPower            = 15
28   boostPowerRate        = 1
29   boostRate             = 5
30   boostCooldownDuration = 10
31
32   shakeFrequency = 15
33   shakeAmplitude = 9
34
35   collisionType     = "dynamic"
36   mass              = 100
37   linearDamping     = 0.7
38   angularDamping    = 0.9999999
39  >
40    <attached>
41        <Model position="0,0,0" yaw="90" roll="-90" mesh="turretHead.mesh" scale3D="10,10,10"/>
42    </attached>
43    <collisionShapes>
44        <SphereCollisionShape radius="10"   position = "0,0,0"/>
45    </collisionShapes>
46    <explosion >
47      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
48      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
49      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
50
51      <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" />
52      <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
53      <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
54      <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
55      <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
56    </explosion>
57<?lua
58  include("../includes/weaponSettingsTurret.oxi")
59?>
60  </SpaceShip>
61</Template>
62
63<Template name=spaceshipturretcameras defaults=0>
64  <SpaceShip>
65    <camerapositions>
66      <CameraPosition position="0,10, 40" drag=true mouselook=true />
67      <CameraPosition position="0,20, 80" drag=true mouselook=true />
68      <CameraPosition position="0,30,120" drag=true mouselook=true />
69    </camerapositions>
70  </SpaceShip>
71</Template>
Note: See TracBrowser for help on using the repository browser.