Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2012, 5:22:56 PM (13 years ago)
Author:
mentzerf
Message:

+ Tried to create waypoints programmatically, succeeded, BUT: the spaceship does not follow them!!

  • Changed WaypointController to log some debug info
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9141 r9142  
    6565        <!-- Spawns the camera, attached to a crate -->
    6666        <SpawnPoint team=0 position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark />
     67        <!--TeamSpawnPoint team=1 position="-7,7,4" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    6768       
    6869        <!--SpawnPoint team=1 position="0,0,10" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff  /-->
    6970        <!--SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    7071       
    71         <!--SpaceShip position="-10,0,20" lookat="0,0,0">
     72        <!--SpaceShip position="-10,0,20" lookat="0,0,0" scale=0.3>
    7273      <templates>
    7374        <Template link=spaceshipassff />
     
    7677        <WaypointController accuracy=3>
    7778          <waypoints>
    78             <Model mesh="cube.mesh" scale=1 position="110,90,20" />
    79             <Model mesh="cube.mesh" scale=2 position="290,90,20" />
    80             <Model mesh="cube.mesh" scale=3 position="290,-90,20" />
    81             <Model mesh="cube.mesh" scale=4 position="110,-90,20" />
     79            <Model mesh="cube.mesh" scale=0.2 position="-8,-8,3" />
     80            <Model mesh="cube.mesh" scale=0.2 position="8,8,3" />
     81            <Model mesh="cube.mesh" scale=0.2 position="8,-8,3" />
     82            <Model mesh="cube.mesh" scale=0.2 position="-8,8,3" />
    8283          </waypoints>
    8384        </WaypointController>
Note: See TracChangeset for help on using the changeset viewer.