Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2011, 6:07:32 PM (13 years ago)
Author:
eceline
Message:

added waypoint patrol controller to level, RaceCheckPoint::fire works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceraceTwo/data/levels/Spacerace2.oxw

    r8959 r8968  
    3939        <SpaceRaceManager>
    4040<checkpoints>   
    41         <RaceCheckPoint name="checkpoint1" position="0,-200,100" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false" nextcheckpoints=(1,2,0)>
     41        <RaceCheckPoint name="checkpoint1" position="0,-2000,1000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false" nextcheckpoints="1,2,0">
    4242        <attached>
    4343            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    5151    </RaceCheckPoint>
    5252
    53 <RaceCheckPoint name="checkpoint2" position="0,-200,300" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false" nextcheckpoints=(3,0,0)>
     53<RaceCheckPoint name="checkpoint2" position="0,2100,2300" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false" nextcheckpoints="3,-1,-1">
    5454        <attached>
    5555            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    6363    </RaceCheckPoint>
    6464
    65 <RaceCheckPoint name="checkpoint3" position="0,-400,200" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false" nextcheckpoints=(3,0,0)>
     65<RaceCheckPoint name="checkpoint3" position="0,700,2700" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
    6666        <attached>
    6767            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    9090
    9191 
    92 
     92<SpaceShip position="0,0,200" lookat="0,0,0">
     93      <templates>
     94        <Template link=spaceshipassff />
     95      </templates>
     96      <controller>
     97        <WaypointPatrolController alertnessradius=1000 team=10>
     98          <waypoints>
     99            <Model mesh="cube.mesh" scale=8 position="0,-2000,1000" />
     100            <Model mesh="cube.mesh" scale=8 position="0,2100,2300" />
     101            <Model mesh="cube.mesh" scale=8 position="0,-400,300" />
     102          </waypoints>
     103        </WaypointPatrolController>
     104      </controller>
     105    </SpaceShip>
    93106
    94107    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
Note: See TracChangeset for help on using the changeset viewer.