Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/mergeFS18/data/levels/ScriptableControllerTestSpawn.oxw @ 12405

Last change on this file since 12405 was 12028, checked in by merholzl, 6 years ago

added scriptable controller

File size: 1.0 KB
RevLine 
[11928]1<LevelInfo
[12006]2 name = "Scriptable Controller Spawning Pawn"
3 description = "Demonstrates spawning a drone by using a lua script."
[11928]4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12  include("templates/HeavyCruiser.oxt")
13?>
14
15<?lua
16  include("templates/spaceshipEscort.oxt")
17  include("templates/endurancetest_template.oxt")
[12006]18  include("templates/ScriptableControllerDroneTemplate.oxt")
[11928]19?>
20
[12006]21<Level script="scripts/ScriptableControllerSpawn.lua">
[11928]22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
28    ambientlight = "0.8, 0.8, 0.8"
29    skybox       = "Orxonox/Starbox"
30  >
31
32    <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"/>
[11936]33    <SpawnPoint team=0 position="100,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
[11974]34   
[11928]35
36   
[11936]37 
38
39
[11928]40  </Scene>
41</Level>
Note: See TracBrowser for help on using the repository browser.