Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 3:40:41 PM (14 years ago)
Author:
freicy
Message:

by Cyrill Frei

Location:
code/branches/fps/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fps/data/levels/includes/weaponsettings_fps.oxi

    r6908 r7052  
    11    <weaponslots>
    2       <WeaponSlot position="0,-6,0.5" yaw=0 pitch=0 roll=0 />
    3  <!--     <WeaponSlot position="15,-1.5,-25" yaw=0 pitch=0 roll=0 />
     2      <WeaponSlot position="0,0,0" yaw=0 pitch=0 roll=0 />
     3 <!--      <WeaponSlot position="-0.5,0.8,2.5" yaw=0 pitch=0 roll=0 />
     4      <WeaponSlot position="15,-1.5,-25" yaw=0 pitch=0 roll=0 />
    45      <WeaponSlot position="0,0,-45" yaw=0 pitch=0 roll=0 /> -->
    56    </weaponslots>
     
    1617        </links>
    1718        <Weapon>
    18           <attached>
    19             <Model mesh="LightningGun.mesh" pitch="78" roll="90" yaw="90" position="0,-1.3,0" />
    20             <Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,0" />
    21             <Model mesh="hs-w01.mesh" roll="195" position="0,1,0" scale=2 />
    22             <Model mesh="hs-w01s.mesh" roll="195" position="0.1,0.5,0" scale=2 />
    23           </attached>
    24           <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5,-4" />
    25           <HsW01 mode=0 munitionpershot=0 delay=0     material="Flares/point_lensflare" muzzleoffset="-0.9, 1.1,-4" />
    26           <LightningGun mode=1 muzzleoffset="0,0,0" />
     19           <HsW01 mode=0 munitionpershot=0 delay=0.0 material="Flares/point_lensflare" muzzleoffset=" 0.7, 1.5, -4" />
     20           <LightningGun mode=1 muzzleoffset="0,0,0" />
    2721        </Weapon>
    2822        <LaserGun
  • code/branches/fps/data/levels/presentation_FS10.oxw

    r6908 r7052  
    2323  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
    2424      <attached>
    25         <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
     25        <Model position="0,0,0" mesh="fish.mesh" scale3D="5,5,5" />
    2626      </attached>
    2727      <collisionShapes>
     
    8383      </collisionShapes>
    8484  </StaticEntity>
     85 
    8586<?lua
    8687for i = 1, 10, 1
     
    9192?>
    9293
    93 <!--
    94 <?lua
    95 for i = 1, 200, 1
    96 do
    97 j = math.random()
    98 ?>
    9994
    100     <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 100) ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>" >
    101       <attached>
    102         <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    103       </attached>
    104       <collisionShapes>
    105         <SphereCollisionShape radius="<?lua print(j * 100) ?>" />
    106       </collisionShapes>
    107     </MovableEntity>
    108 <?lua
    109 end
    110 ?>
    111 -->
    11295  </Scene>
    11396</Level>
  • code/branches/fps/data/levels/templates/fps.oxt

    r6908 r7052  
    22  <FpsPlayer
    33   hudtemplate            = fpshud
    4    camerapositiontemplate = fpscamera
    5  
     4   
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221   friction          = 0.01
     22   
     23   weapon            = "hs-w01.mesh"
    2324  >
    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 -->
    3025    <collisionShapes>
    31       <BoxCollisionShape position="0,0,0" halfExtents="7,7,7" />
    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     -->
     26      <BoxCollisionShape position="0,0,0" halfExtents="8,20,8" />
    4227    </collisionShapes>
     28   
     29    <camerapositions>
     30      <CameraPosition position="-0.5,0.8,2.5" drag=false mouselook=true />
     31    </camerapositions>
     32   
     33    <?lua
     34        include("includes/weaponsettings_fps.oxi")
     35    ?>
    4336
    44 <?lua
    45   include("includes/weaponsettings_fps.oxi")
    46 ?>
    4737  </FpsPlayer>
    4838</Template>
    49 
     39<!--
    5040<Template name=fpscamera defaults=0>
    5141  <FpsPlayer>
    5242    <camerapositions>
    5343      <CameraPosition position="0,0,20" drag=false mouselook=true />
    54       <!--CameraPosition position="0,150,-25" pitch=-90 drag=true />
     44     
     45      <!--
     46      CameraPosition position="0,150,-25" pitch=-90 drag=true />
    5547      <CameraPosition position="0,0,-40" yaw=180 drag=true />
    5648      <CameraPosition position="0,3,-14" yaw=0 />
    5749      <CameraPosition position="-50,5,-8" yaw=-90 drag=true />
    58       <CameraPosition position="50,5,-8" yaw=90 drag=true /-->
     50      <CameraPosition position="50,5,-8" yaw=90 drag=true /
     51     
    5952    </camerapositions>
    6053  </FpsPlayer>
    6154</Template>
     55-->
Note: See TracChangeset for help on using the changeset viewer.