Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/output/data/levels/templates/FPS.oxt @ 9250

Last change on this file since 9250 was 8820, checked in by landauf, 13 years ago

fixed some stuff that became visible after the recent changes in the output system:

  • fixed ogre exception because of included files in xml template files (it was searching for templates/includes/*.oxi instead of includes/*.oxi)
  • initializing worldentities with mass 1 instead of 0 to avoid a warning
  • Loader::open now also supports a bVerbose flag to hide output for internal xml files (like resource files)
  • Property svn:eol-style set to native
File size: 1.3 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>
24      <BoxCollisionShape position="0,-20,0" halfExtents="15,25,15" />
25    </collisionShapes>
26   
27    <camerapositions>
28      <CameraPosition position="-1,1,2.2" drag=false mouselook=true />
29    </camerapositions>
30   
31    <?lua
32        include("../includes/weaponSettingsFPS.oxi")
33    ?>
34
35  </FpsPlayer>
36</Template>
37<!--
38<Template name=fpscamera defaults=0>
39  <FpsPlayer>
40    <camerapositions>
41      <CameraPosition position="0,0,20" drag=false mouselook=true />
42     
43      <!--
44      CameraPosition position="0,150,-25" pitch=-90 drag=true />
45      <CameraPosition position="0,0,-40" yaw=180 drag=true />
46      <CameraPosition position="0,3,-14" yaw=0 />
47      <CameraPosition position="-50,5,-8" yaw=-90 drag=true />
48      <CameraPosition position="50,5,-8" yaw=90 drag=true /
49     
50    </camerapositions>
51  </FpsPlayer>
52</Template>
53-->
Note: See TracBrowser for help on using the repository browser.