Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7561


Ignore:
Timestamp:
Oct 19, 2010, 11:26:35 PM (13 years ago)
Author:
jo
Message:

New, Improved Level. Should become similar to Stonehenge - maybe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/data/levels/gametype_lastmanstanding.oxw

    r7556 r7561  
    2121  <Scene
    2222    ambientlight = "0.8, 0.8, 0.8"
    23     skybox       = "Orxonox/Starbox"
     23    skybox       = "Orxonox/skypanoramagen1"
    2424  >
    2525<!----- Spawnpoints ----->
    2626    <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"/>
    27     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    28     <SpawnPoint team=0 position="-200,200,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    29     <SpawnPoint team=0 position="-200,0,200" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    30     <SpawnPoint team=0 position="200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    31     <SpawnPoint team=0 position="200,200,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    32     <SpawnPoint team=0 position="200,0,200" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     27    <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     28    <SpawnPoint team=0 position="1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     29    <SpawnPoint team=0 position="-700,0,700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     30    <SpawnPoint team=0 position="700,0,-700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     31    <SpawnPoint team=0 position="0,0,-1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     32    <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     33<Bot />
    3334
    34 <!-- ----------------random fog ------>
     35<!-- ------------ middle asteroid -------------- -->
     36    <StaticEntity position="0,20,0">
     37       <attached>
     38           <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true />
     39           <!--ParticleEmitter position="0,0,0" source="Orxonox/Steam" /-->
     40           <collisionShapes>
     41               <SphereCollisionShape radius="30" />
     42           </collisionShapes>
     43       </attached>
     44    </StaticEntity>
     45
     46
     47<!-- ---------------asteroid dome----------------- -->
    3548<?lua
    36 for i = 1, 100, 1
     49max = 17
     50for i = 1, max, 1
     51do
     52    y = math.sin(i/max*6)*750
     53    z = math.cos(i/max*6)*750
     54    x = i*10
     55    ?>
     56<?lua
     57for k = 1, 25, 1
    3758do
    3859j = math.random()
    3960?>
    4061
    41     <StaticEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>">
     62    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
    4263      <attached>
    43         <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
     64        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
     65        </Model>
     66      </attached>
     67    </StaticEntity>
     68
     69    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
     70      <attached>
     71        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
     72        </Model>
     73      </attached>
     74    </StaticEntity>#
     75
     76    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
     77      <attached>
     78        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
     79        </Model>
     80      </attached>
     81    </StaticEntity>
     82
     83    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
     84      <attached>
     85        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13,6) + 1) ?>.mesh">
     86        </Model>
     87      </attached>
     88    </StaticEntity>
     89
     90    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> >
     91      <attached>
     92        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh">
     93        </Model>
    4494      </attached>
    4595    </StaticEntity>
     
    4898end
    4999?>
    50 <!-- Carrier with guns not implemented yet-->
    51     <MovableEntity position="-2000,-1000,-2000" pitch="-90" roll="90">
    52       <attached>
    53         <Model position="0,0,0" scale=10 mesh="Carrier.mesh" />
    54         <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
    55         <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
    56       </attached>
    57               <collisionShapes>
    58         <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
    59         <BoxCollisionShape position="95,75,-16"     halfExtents="70, 10, 12" />
    60         <BoxCollisionShape position="95,-75,-16"    halfExtents="70, 10, 12" />
    61         <BoxCollisionShape position="77,47,30"      halfExtents="110, 2, 30" />
    62         <BoxCollisionShape position="77,-47,30"     halfExtents="110, 2, 30" />
    63         <BoxCollisionShape position="77,0,50"       halfExtents="110, 45, 6" />
    64         <BoxCollisionShape position="167,0,70"      halfExtents="17, 20, 20" />
    65       </collisionShapes>
    66     </MovableEntity>
     100<?lua end ?>
    67101
    68 <!-- ---------------- Space Station --------------- -->
    69 <?lua
    70     dofile("includes/CuboidSpaceStation.lua")
    71   ?>
    72       <StaticEntity scale=1 position="-5000,100,1000" roll=30>
    73         <attached>
    74           <?lua
    75             createSpaceStationPar(65461,2,1,2,1,2,1,100)
    76           ?>
    77           <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
    78         </attached>
    79       </StaticEntity>
    80 <!--
    81     <Destroyer position="3500, -2000, -1000" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=500>
    82       <attached>
    83         <CheckPoint />
    84         <Model position="0,0,0" scale="5" mesh="Carrier.mesh"/>
    85         <Backlight
    86           mainstate=activity
    87           active=false
    88           scale=0.4
    89           name=bltest
    90           position=" 7.6, 0, 6"
    91           colour="0.2, 0.65, 1.0, 1.0"
    92           width=15
    93           length=1500
    94           lifetime=2
    95           elements=50
    96           trailmaterial="Trail/backlighttrail"
    97           turnontime=1
    98           turnofftime=1
    99           material="Flares/ThrusterFlare1"
    100         />
    101       </attached>
    102       <collisionShapes>
    103         <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
    104         <BoxCollisionShape position="95,75,-16"     halfExtents="70, 10, 12" />
    105         <BoxCollisionShape position="95,-75,-16"    halfExtents="70, 10, 12" />
    106         <BoxCollisionShape position="77,47,30"      halfExtents="110, 2, 30" />
    107         <BoxCollisionShape position="77,-47,30"     halfExtents="110, 2, 30" />
    108         <BoxCollisionShape position="77,0,50"       halfExtents="110, 45, 6" />
    109         <BoxCollisionShape position="167,0,70"      halfExtents="17, 20, 20" />
    110       </collisionShapes>
    111     </Destroyer>
    112 -->
     102
    113103
    114104
     
    116106</Level>
    117107
     108
Note: See TracChangeset for help on using the changeset viewer.