Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FlappyOrx_HS17/data/levels/Invaders.oxw @ 11589

Last change on this file since 11589 was 11589, checked in by pascscha, 6 years ago

svn commit -m

  • Property svn:eol-style set to native
File size: 2.6 KB
RevLine 
[9698]1<LevelInfo
[9866]2 name = "Orxonox Arcade"
[9874]3 description = "2D Arcade shooter. Maximise your points!!!\nTip: try to keep the multiplier high by avoiding shots and enemies."
[9866]4 tags = "minigame"
[9905]5 screenshot = "orxonoxArcade.png"
[9698]6/>
[11503]7
[9698]8<?lua
9  include("stats.oxo")
10  include("templates/lodInformation.oxt")
11?>
12
13<?lua
14  include("templates/spaceshipAssff2.oxt")
15  include("templates/spaceshipPirate.oxt")
[9701]16  include("templates/spaceshipInvader.oxt")
[9777]17  include("templates/enemyInvader.oxt")
[9828]18  include("overlays/InvaderHUD.oxo")
[9698]19?>
20
[10624]21<Level
22  plugins = invader
23  gametype = Invader
24>
[9698]25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
[9868]30    <!-- ambientlight = "0.8, 0.8, 0.8"
31    skybox       = "Orxonox/Starbox" -->
[9698]32  <Scene
[9868]33    ambientlight = "0.8, 0.7, 0.4"
34    skybox     = "Orxonox/skyBoxBasic"
[9698]35  >
36
[9884]37  <WorldAmbientSound
38    source="Earth.ogg"
39    looping="true"
40    playOnLoad="true"
41  />
42
[9868]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="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
[9709]45    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader />
46
[11509]47    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx />
[9724]48
[9698]49   
[11589]50    <InvaderCenterPoint name=invadercenter />
[9724]51    <?lua
[11504]52      for i = 1, 30, 1 do
[9777]53        j = math.random()
[9724]54    ?>
55
56    <MovableEntity
[11504]57      position = "<?lua print(i* 3000) ?>,0, <?lua print(j* 200) ?>"
[9724]58      collisionType = dynamic
59      linearDamping = 0.8
60      angularDamping = 0
[11504]61      scale = "<?lua print(10)?>"
[9777]62      collisiondamage = 0
[9724]63      enablecollisiondamage = true
64    >
[11504]65   
[9724]66      <attached>
[11504]67        <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
[9724]68      </attached>
69      <collisionShapes>
[11504]70        <SphereCollisionShape radius="<?lua print(10) ?>" />
[9724]71      </collisionShapes>
72    </MovableEntity>
73
[11504]74     <MovableEntity
75      position = "<?lua print(i* 3000) ?>,0,<?lua print(-150 + j* 200) ?>"
76      collisionType = dynamic
77      linearDamping = 0.8
78      angularDamping = 0
79      scale = "<?lua print(10)?>"
80      collisiondamage = 0
81      enablecollisiondamage = true
82    >
83   
84      <attached>
85        <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
86      </attached>
87      <collisionShapes>
88        <SphereCollisionShape radius="<?lua print(10) ?>" />
89      </collisionShapes>
90    </MovableEntity>
91
[9724]92    <?lua
93      end
94    ?>
95   
[9698]96  </Scene>
97</Level>
98
Note: See TracBrowser for help on using the repository browser.