| Line |   | 
|---|
| 1 | <LevelInfo | 
|---|
| 2 |  name = "Scriptable Controller Spawning Pawn" | 
|---|
| 3 |  description = "Demonstrates spawning a drone by using a lua script." | 
|---|
| 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") | 
|---|
| 18 |   include("templates/ScriptableControllerDroneTemplate.oxt") | 
|---|
| 19 | ?> | 
|---|
| 20 |  | 
|---|
| 21 | <Level script="scripts/ScriptableControllerSpawn.lua"> | 
|---|
| 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"/> | 
|---|
| 33 |     <SpawnPoint team=0 position="100,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> | 
|---|
| 34 |      | 
|---|
| 35 |  | 
|---|
| 36 |      | 
|---|
| 37 |    | 
|---|
| 38 |  | 
|---|
| 39 |  | 
|---|
| 40 |   </Scene> | 
|---|
| 41 | </Level> | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.