Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/FPS.oxt @ 11488

Last change on this file since 11488 was 11104, checked in by fvultier, 9 years ago

Some HUDs (Health, Shield, Weapons, EnemyHealth, EnemyShield) are also displayed in FPS mode. Removed two unused redundant files.

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1<Template name=fps>
2  <FpsPlayer
3   hudtemplate            = fpshud
4   spawnparticlesource    = "Orxonox/fairytwirl"
5   spawnparticleduration  = 3
6   explosionchunks        = 6
7
8   health            = 100
9   maxhealth         = 200
10   initialhealth     = 100
11
12   shieldhealth        = 30
13   initialshieldhealth = 30
14   maxshieldhealth     = 30
15   shieldabsorption    = 0.9
16   shieldrechargerate  = 1
17   shieldrechargewaittime = 1
18
19   primaryThrust     = 0;
20   auxilaryThrust    = 0;
21   rotationThrust    = 0;
22
23   collisionType     = "dynamic"
24   mass              = 100
25   linearDamping     = 0.7
26   angularDamping    = 0.9999999
27   friction          = 0.01
28
29   weapon            = "hs-w01.mesh"
30  >
31    <collisionShapes>                   <!-- old values: position="0,-20,0"  halfExtents="15,25,15"  -->
32      <BoxCollisionShape position="0,-25,0" halfExtents="15,20,15" />
33    </collisionShapes>
34    <explosion >
35      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
36      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
37      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
38    </explosion>
39
40    <camerapositions>
41      <CameraPosition position="-1,1,2.2" drag=false mouselook=true />
42    </camerapositions>
43
44    <?lua
45        include("../includes/weaponSettingsFPS.oxi")
46    ?>
47
48  </FpsPlayer>
49</Template>
50<!--
51<Template name=fpscamera defaults=0>
52  <FpsPlayer>
53    <camerapositions>
54      <CameraPosition position="0,0,20" drag=false mouselook=true />
55
56      <!--
57      CameraPosition position="0,150,-25" pitch=-90 drag=true />
58      <CameraPosition position="0,0,-40" yaw=180 drag=true />
59      <CameraPosition position="0,3,-14" yaw=0 />
60      <CameraPosition position="-50,5,-8" yaw=-90 drag=true />
61      <CameraPosition position="50,5,-8" yaw=90 drag=true /
62
63    </camerapositions>
64  </FpsPlayer>
65</Template>
66-->
Note: See TracBrowser for help on using the repository browser.