Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2011, 2:38:31 PM (13 years ago)
Author:
eceline
Message:

RaceCheckPoint::fire doesn't work

File:
1 edited

Legend:

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

    r8949 r8959  
    3939        <SpaceRaceManager>
    4040<checkpoints>   
    41         <RaceCheckPoint name="checkpoint1" position="0,-2000,1000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="true">
     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)>
     42        <attached>
     43            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     44        </attached>
     45        <collisionShapes>
     46            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     47            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
     48            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     49            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
     50        </collisionShapes>
     51    </RaceCheckPoint>
     52
     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)>
     54        <attached>
     55            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     56        </attached>
     57        <collisionShapes>
     58            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     59            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
     60            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     61            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
     62        </collisionShapes>
     63    </RaceCheckPoint>
     64
     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)>
     66        <attached>
     67            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     68        </attached>
     69        <collisionShapes>
     70            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     71            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
     72            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     73            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
     74        </collisionShapes>
     75    </RaceCheckPoint>
     76
     77<RaceCheckPoint name="checkpoint4" position="0,-400,300" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="3" islast="true">
    4278        <attached>
    4379            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    5389</SpaceRaceManager>
    5490
    55  <SpaceShip position="0,2000,2000" lookat="0,0,0" team=1 >
    56       <templates>
    57         <Template link=spaceshipassff />
    58       </templates>
    59       <controller>
    60          <WaypointPatrolController alertnessradius=1500 team=0 >
    61             <waypoints>
    62                 <Model scale=0 position="0,2000,2000" />
    63             </waypoints>
    64          </WaypointPatrolController>
    65       </controller>
    66     </SpaceShip>
     91 
    6792
    6893
Note: See TracChangeset for help on using the changeset viewer.