Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9215 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
RevLine 
[6867]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
[6872]11   primaryThrust     = 0;
12   auxilaryThrust    = 0;
13   rotationThrust    = 0;
[6867]14
15   collisionType     = "dynamic"
16   mass              = 100
17   linearDamping     = 0.7
18   angularDamping    = 0.9999999
[6872]19   friction          = 0.01
[7052]20   
21   weapon            = "hs-w01.mesh"
[6867]22  >
23    <collisionShapes>
[7057]24      <BoxCollisionShape position="0,-20,0" halfExtents="15,25,15" />
[6867]25    </collisionShapes>
[7052]26   
27    <camerapositions>
[7055]28      <CameraPosition position="-1,1,2.2" drag=false mouselook=true />
[7052]29    </camerapositions>
30   
31    <?lua
[8820]32        include("../includes/weaponSettingsFPS.oxi")
[7052]33    ?>
[6867]34
35  </FpsPlayer>
36</Template>
[7052]37<!--
[6867]38<Template name=fpscamera defaults=0>
39  <FpsPlayer>
40    <camerapositions>
[6908]41      <CameraPosition position="0,0,20" drag=false mouselook=true />
[7052]42     
43      <!--
44      CameraPosition position="0,150,-25" pitch=-90 drag=true />
[6867]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 />
[7052]48      <CameraPosition position="50,5,-8" yaw=90 drag=true /
49     
[6867]50    </camerapositions>
51  </FpsPlayer>
[6883]52</Template>
[8820]53-->
Note: See TracBrowser for help on using the repository browser.