Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5487


Ignore:
Timestamp:
May 4, 2009, 4:36:38 PM (16 years ago)
Author:
mockm
Message:

level file for gametype UnderAttack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/gametype_underattack.oxw

    r5474 r5487  
    1616    <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" />
    1717
    18 <?lua
    19 for i = 1, 10, 1
    20 do ?>
    21     <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    22 <?lua
    23 end
    24 ?>
    2518
    26     <Destroyer>
    27         <attached>
    28             <Model position="0,0,50" mesh="UEATransporter036T.mesh" scale="1" />
    29         </attached>     
    30     </Destroyer>
     19        <Destroyer
     20     position          = "0,0,150"
     21     collisionType     = dynamic
     22     mass              = 100
     23     velocity          = "50,50,0"
     24        >
     25<!--
     26     linearDamping     = 0.7
     27     angularDamping    = 0.9999999
     28-->
     29          <attached>
     30            <?lua
     31            for i = 1, 10, 1
     32            do ?>
     33            <SpawnPoint position="<?lua print(math.random() * 50 - 25) ?>,<?lua print(math.random() * 50 - 25) ?>,<?lua print(100 + math.random() * 50 - 25) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     34            <?lua end ?>
     35            <Model mesh="Carrier.mesh" scale="1" />
     36            <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     37           </attached>     
     38            <collisionShapes>
     39                <SphereCollisionShape radius="30" />
     40            </collisionShapes>
     41        </Destroyer>
     42
    3143    <GlobalShader compositor="Bloom" visible=false>
    3244      <events>
     
    3648      </events>
    3749    </GlobalShader>
     50
    3851    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
    3952    <StaticEntity position="0,0,0" collisionType=static>
     
    4255      </collisionShapes>
    4356    </StaticEntity>
    44 <!--
    45 <?lua
    46 for i = 1, 70, 1
    47 do ?>
    48   <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) ?>">
    49     <attached>
    50       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    51     </attached>
    52   </MovableEntity>
    53   <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) ?>">
    54     <attached>
    55       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    56     </attached>
    57   </MovableEntity>
    58 
    59   <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) ?>">
    60     <attached>
    61       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    62     </attached>
    63   </MovableEntity>
    64   <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) ?>">
    65     <attached>
    66       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    67     </attached>
    68   </MovableEntity>
    69 
    70   <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) ?>">
    71     <attached>
    72       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    73     </attached>
    74   </MovableEntity>
    75   <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) ?>">
    76     <attached>
    77       <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    78     </attached>
    79   </MovableEntity>
    80 <?lua
    81 end
    82 ?>
    83 -->
    8457  </Scene>
    8558</Level>
Note: See TracChangeset for help on using the changeset viewer.