Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/fps/data/levels/templates/fps.oxt @ 6872

Last change on this file since 6872 was 6872, checked in by edwind, 14 years ago

commit by ed

File size: 2.1 KB
Line 
1<Template name=fps>
2  <FpsPlayer
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = fpscamera
5 
6   spawnparticlesource    = "Orxonox/fairytwirl"
7   spawnparticleduration  = 3
8   explosionchunks        = 6
9
10   health            = 100
11   maxhealth         = 200
12   initialhealth     = 100
13
14   primaryThrust     = 0;
15   auxilaryThrust    = 0;
16   rotationThrust    = 0;
17
18   collisionType     = "dynamic"
19   mass              = 100
20   linearDamping     = 0.7
21   angularDamping    = 0.9999999
22   friction          = 0.01
23  >
24 <!--   <attached>
25      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
26      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
27      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
28    </attached>
29-->
30    <collisionShapes>
31      <BoxCollisionShape position="0,0,0" halfExtents="100,10,100" />
32    <!--
33      <SphereCollisionShape radius="10" />
34     
35      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
36      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
37      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
38      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
39      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
40      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
41    -->
42    </collisionShapes>
43
44<?lua
45  include("includes/weaponsettings_fps.oxi")
46?>
47  </FpsPlayer>
48</Template>
49
50<Template name=fpscamera defaults=0>
51  <FpsPlayer>
52    <camerapositions>
53      <CameraPosition position="0,0,0" drag=false mouselook=true />
54      <!--CameraPosition position="0,150,-25" pitch=-90 drag=true />
55      <CameraPosition position="0,0,-40" yaw=180 drag=true />
56      <CameraPosition position="0,3,-14" yaw=0 />
57      <CameraPosition position="-50,5,-8" yaw=-90 drag=true />
58      <CameraPosition position="50,5,-8" yaw=90 drag=true /-->
59    </camerapositions>
60  </FpsPlayer>
61</Template>
Note: See TracBrowser for help on using the repository browser.