Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2018, 4:42:43 PM (7 years ago)
Author:
adamc
Message:

first final draft

Location:
code/branches/ScriptableController_FS18/data/levels
Files:
5 moved

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_FS18/data/levels/ScriptableControllerTestMoveKillDrone.oxw

    r11999 r12006  
    11<LevelInfo
    2  name = "Scriptable Controller Spawning Pawn"
    3  description = "Demonstrates spawning a drone by using a lua script."
     2 name = "Scriptable Controller Moving and Killing Pawn"
     3 description = "Demonstrates moving and killing a drone by using a lua script."
    44 tags = "test"
    55 screenshot = "emptylevel.png"
     
    1818?>
    1919
    20 <Level script="scripts/BBBScriptableControllerTest.lua">
     20<Level script="scripts/ScriptableControllerMoveKill.lua">
    2121  <templates>
    2222    <Template link=lodtemplate_default />
     
    3333
    3434
    35   <AAAAutonomousDrone id="dummy" position="0,0,0">
     35  <ScriptableControllerDrone id="dummy" position="0,0,0">
    3636    <attached>
    3737      <Model scale="10" mesh="drone.mesh"/>
     
    4040      <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" />
    4141    </collisionShapes>
    42   </AAAAutonomousDrone>
     42  </ScriptableControllerDrone>
    4343   
    4444 
  • code/branches/ScriptableController_FS18/data/levels/ScriptableControllerTestSpawn.oxw

    r11999 r12006  
    11<LevelInfo
    2  name = "Scriptable Controller Moving and Killing Pawn"
    3  description = "Demonstrates moving and killing a drone by using a lua script."
     2 name = "Scriptable Controller Spawning Pawn"
     3 description = "Demonstrates spawning a drone by using a lua script."
    44 tags = "test"
    55 screenshot = "emptylevel.png"
     
    1616  include("templates/spaceshipEscort.oxt")
    1717  include("templates/endurancetest_template.oxt")
    18   include("templates/AAAAutonomousDroneTemplate.oxt")
     18  include("templates/ScriptableControllerDroneTemplate.oxt")
    1919?>
    2020
    21 <Level script="scripts/AAAScriptableControllerTest.lua">
     21<Level script="scripts/ScriptableControllerSpawn.lua">
    2222  <templates>
    2323    <Template link=lodtemplate_default />
     
    3232    <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"/>
    3333    <SpawnPoint team=0 position="100,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    34     <!-- <SpawnPoint team=2 position="0,0,0" lookat="0,0,0" spawnclass=AAAAutonomousDrone pawndesign=AAAAutonomousDroneTemplate />  -->
    3534   
    3635
  • code/branches/ScriptableController_FS18/data/levels/templates/ScriptableControllerDroneTemplate.oxt

    r11999 r12006  
    1 <Template name=AAAAutonomousDroneTemplate>
    2   <AAAAutonomousDrone>
     1<Template name=ScriptableControllerDroneTemplate>
     2  <ScriptableControllerDrone>
    33    <attached>
    44      <Model scale="10" mesh="drone.mesh"/>
     
    77      <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" />
    88    </collisionShapes>
    9   </AAAAutonomousDrone>
     9  </ScriptableControllerDrone>
    1010</Template>
Note: See TracChangeset for help on using the changeset viewer.