Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 2:05:12 PM (6 years ago)
Author:
merholzl
Message:

Cleanup of level files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/data/levels/FlappyOrx.oxw

    r11580 r11596  
    11<LevelInfo
    22 name = "Flappy Orx"
    3  description = "TODO"
     3 description = "A clone of the iconic Flappy Bird"
    44 tags = "minigame"
    55 screenshot = "orxonoxArcade.png"
     
    77
    88<?lua
    9   include("stats.oxo")
    109  include("templates/lodInformation.oxt")
    11 ?>
     10  include("templates/spaceshipFlappyOrx.oxt")
     11  include("overlays/FlappyOrxHUD.oxo")
    1212
    13 <?lua
    14   include("templates/spaceshipAssff2.oxt")
    15   include("templates/spaceshipPirate.oxt")
    16   include("templates/spaceshipFlappyOrx.oxt")
    17   include("templates/enemyFlappyOrx.oxt")
    18   include("overlays/FlappyOrxHUD.oxo")
    1913?>
    2014
     
    2620    <Template link=lodtemplate_default />
    2721  </templates>
    28   <?lua include("includes/notifications.oxi") ?>
    2922
    30     <!-- ambientlight = "0.8, 0.8, 0.8"
    31     skybox       = "Orxonox/Starbox" -->
    3223  <Scene
    3324    ambientlight = "0.8, 0.7, 0.4"
    3425    skybox     = "Orxonox/skyBoxBasic"
    3526  >
    36 
    3727  <WorldAmbientSound
    3828    source="Earth.ogg"
     
    4131  />
    4232
    43     <!-- <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"/> -->
    44     <Light type=directional position="11000, 11000, -7000" lookat="0, 0, 0" diffuse="1, 1, 1, 1" specular="1.0, 0.9, 0.9, 1.0" />
     33 <Light type=directional position="11000, 11000, -7000" lookat="0, 0, 0" diffuse="1, 1, 1, 1" specular="1.0, 0.9, 0.9, 1.0" />
    4534    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx />
    4635
     
    4837    <FlappyOrxCenterPoint name=flappyorxcenter />
    4938   
    50 
    51 
    5239    <?lua
    5340      for i = 1, 5, 1 do
     
    5542    ?>
    5643
    57     <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>>
    58       <MovableEntity
    59         collisionType = dynamic
    60         linearDamping = 0.8
    61         angularDamping = 0
    62         scale = "<?lua print(j) ?>"
    63         collisiondamage = 10000
    64         enablecollisiondamage = true
    65       >
    66      
    67         <attached>
    68           <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" />
    69         </attached>
    70         <collisionShapes>
    71           <SphereCollisionShape radius="<?lua print(j + 5) ?>" />
    72         </collisionShapes>
    73       </MovableEntity>
    74     </Template>
     44        <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>>
     45          <MovableEntity
     46            collisionType = dynamic
     47            linearDamping = 0.8
     48            angularDamping = 0
     49            scale = "<?lua print(j) ?>"
     50            collisiondamage = 10000
     51            enablecollisiondamage = true
     52          >
     53         
     54            <attached>
     55              <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" />
     56            </attached>
     57            <collisionShapes>
     58              <SphereCollisionShape radius="<?lua print(j + 5) ?>" />
     59            </collisionShapes>
     60          </MovableEntity>
     61        </Template>
    7562
    7663    <?lua
     
    7865      end
    7966    ?>
    80 
    81     <!--
    82      <?lua
    83       for i = 1, 30, 1 do
    84         j = math.random()
    85     ?>
    86 
    87     <MovableEntity
    88       position = "<?lua print(i* 300) ?>,0, <?lua print(j* 200) ?>"
    89       collisionType = dynamic
    90       linearDamping = 0.8
    91       angularDamping = 0
    92       scale = "<?lua print(10)?>"
    93       collisiondamage = 100000
    94       enablecollisiondamage = true
    95     >
    96    
    97       <attached>
    98         <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    99       </attached>
    100       <collisionShapes>
    101         <SphereCollisionShape radius="<?lua print(10) ?>" />
    102       </collisionShapes>
    103     </MovableEntity>
    104 
    105      <MovableEntity
    106       position = "<?lua print(i* 300) ?>,0,<?lua print(-150 + j* 200) ?>"
    107       collisionType = dynamic
    108       linearDamping = 0.8
    109       angularDamping = 0
    110       scale = "<?lua print(10)?>"
    111       collisiondamage = 100000
    112       enablecollisiondamage = true
    113     >
    114    
    115       <attached>
    116         <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    117       </attached>
    118       <collisionShapes>
    119         <SphereCollisionShape radius="<?lua print(10) ?>" />
    120       </collisionShapes>
    121     </MovableEntity>
    122 
    123     <?lua
    124       end
    125     ?>
    126   -->
    127    
    128    
    12967  </Scene>
    13068</Level>
Note: See TracChangeset for help on using the changeset viewer.