Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2018, 4:01:23 PM (6 years ago)
Author:
adamc
Message:

Trying to spawn entity (2nd attempt)

File:
1 edited

Legend:

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

    r11928 r11936  
    11<LevelInfo
    22 name = "AAAScriptableControllerTest"
    3  description = "A level with absolutely nothing in it."
     3 description = "Demonstrates moving and killing a drone by use of a script."
    44 tags = "test"
    55 screenshot = "emptylevel.png"
     
    3030
    3131    <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"/>
    32     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     32    <SpawnPoint team=0 position="100,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    3333
    3434
    35     <ModularSpaceShip id="Station" velocity= "0,0,0" position="50000000,0,0" lookat= "0,0,0" health="500" maxhealth="500" initialhealth="500">
    36       <templates>
    37         <Template link=endurance />
    38       </templates>
    39     </ModularSpaceShip>
     35  <AAAAutonomousDrone id="dummy" position="0,0,0">
     36    <attached>
     37      <Model scale="10" mesh="drone.mesh"/>
     38    </attached>
     39    <collisionShapes>
     40      <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" />
     41    </collisionShapes>
     42  </AAAAutonomousDrone>
    4043   
     44 
     45
     46
    4147  </Scene>
    4248</Level>
Note: See TracChangeset for help on using the changeset viewer.