Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2010, 9:55:49 PM (14 years ago)
Author:
dafrick
Message:

Removed some things that were thought to be commented but actually weren't. ⇒ FPS test level working again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/data/levels/fps_test.oxw

    r7083 r7091  
    6363  </Scene>
    6464</Level>
    65 <!--
    66 <Level
    67  name         = "fps test"
    68  description  = "level to test fps navigation"
    69 >
    70   <Scene
    71    ambientlight = "0.5, 0.5, 0.5"
    72    skybox       = "Orxonox/skypanoramagen1"
    73   >
    74     <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
    7565
    76 
    77 <?lua
    78 for i = 1, 10, 1
    79 do ?>
    80     <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,0,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=FpsPlayer pawndesign=fps />
    81 <?lua
    82 end
    83 ?>
    84 
    85     <GlobalShader compositor="Bloom" visible=false>
    86       <events>
    87         <visibility>
    88           <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
    89         </visibility>
    90       </events>
    91     </GlobalShader>
    92 
    93 
    94 <?lua
    95 for i = 1, 100, 1
    96 do
    97 j = math.random()
    98 ?>
    99 
    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 * 50) ?> 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 * 70) ?>" />
    106       </collisionShapes>
    107     </MovableEntity>
    108 <?lua
    109 end
    110 ?>
    111 
    112 <!--
    113 <?lua
    114 for i = 1, 70, 1
    115 do ?>
    116   <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    117     <attached>
    118       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    119     </attached>
    120   </MovableEntity>
    121   <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    122     <attached>
    123       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    124     </attached>
    125   </MovableEntity>
    126 
    127   <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    128     <attached>
    129       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    130     </attached>
    131   </MovableEntity>
    132   <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    133     <attached>
    134       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    135     </attached>
    136   </MovableEntity>
    137 
    138   <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    139     <attached>
    140       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    141     </attached>
    142   </MovableEntity>
    143   <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    144     <attached>
    145       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    146     </attached>
    147   </MovableEntity>
    148 <?lua
    149 end
    150 ?>
    151 
    152   </Scene>
    153 </Level>
    154 -->
Note: See TracChangeset for help on using the changeset viewer.