Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS15/data/levels/templates/FPS.oxt @ 11034

Last change on this file since 11034 was 10962, checked in by maxima, 9 years ago

Merged presentation and exlposionChunks branches. Works fine. Added explosion parts to hovership.

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