Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorial5/data/levels/templates/spaceshipTurret.oxt @ 12412

Last change on this file since 12412 was 9664, checked in by landauf, 11 years ago

eol-style native

  • Property svn:eol-style set to native
File size: 1.5 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   reloadrate          = 1
18   reloadwaittime      = 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<?lua
47  include("../includes/weaponSettingsTurret.oxi")
48?>
49  </SpaceShip>
50</Template>
51
52<Template name=spaceshipturretcameras defaults=0>
53  <SpaceShip>
54    <camerapositions>
55      <CameraPosition position="0,10, 40" drag=true mouselook=true />
56      <CameraPosition position="0,20, 80" drag=true mouselook=true />
57      <CameraPosition position="0,30,120" drag=true mouselook=true />
58    </camerapositions>
59  </SpaceShip>
60</Template>
Note: See TracBrowser for help on using the repository browser.