Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Waypoints_HS17/data/levels/tutorial.oxw @ 11523

Last change on this file since 11523 was 11523, checked in by jostoffe, 7 years ago

EmptyLevel funktioniert nicht wegen AutonomousDroneController, HUD geaendert aber brauch ich nicht mehr. Mit movableentity weitermachen

  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[7648]1<LevelInfo
2 name = "Coding Tutorial"
3 description = "Level for the coding tutorial."
[11523]4 tags = "tutorial"
[9016]5 screenshot = "codingtutorial.png"
[7648]6/>
7
[5378]8<?lua
[7679]9  include("HUDTemplates3.oxo")
[5654]10  include("stats.oxo")
[7679]11  include("templates/spaceshipAssff.oxt")
12  include("templates/lodInformation.oxt")
[5378]13?>
14
[9016]15<Level>
[7163]16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
[8706]19  <?lua include("includes/notifications.oxi") ?>
[7163]20
[5378]21  <Scene
22   ambientlight = "0.5, 0.5, 0.5"
[11523]23   skybox       = "Orxonox/Starbox"
[5378]24  >
[7404]25
26
[5378]27    <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" />
28
[5403]29
[7163]30    <?lua
31      for i = 1, 10, 1 do
32    ?>
[11523]33      <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 />
[7163]34    <?lua end ?>
[5383]35
[11523]36   
37    <AutonomousDroneController>
38    </AutonomousDroneController>
39   
40    <AutonomousDrone mass=50 linearDamping=0.9 angularDamping=0.7>
41       <attached>
42        <Model scale="10" mesh="drone.mesh"/>
43      </attached>
44     
[7404]45      <collisionShapes>
[11523]46        <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" />
[7404]47      </collisionShapes>
[11523]48    </AutonomousDrone>
[7163]49
[7404]50
51
[5378]52  </Scene>
53</Level>
Note: See TracBrowser for help on using the repository browser.