Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11938 for code


Ignore:
Timestamp:
May 3, 2018, 4:09:37 PM (7 years ago)
Author:
arismu
Message:

checkpoints, boost, AI

Location:
code/branches/RacingBots_FS18
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/RacingBots_FS18/data/levels/newnewnewspacerace.oxw

    r11913 r11938  
    261261
    262262
    263 <RaceCheckPoint name="checkpoint3" yaw=90 pitch=90 position="5000,-100,500" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
     263<RaceCheckPoint name="checkpoint3" yaw=90 pitch=90 position="5000,80,500" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
    264264        <attached>
    265265      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    301301
    302302
    303 <RaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,-50,400" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
     303<RaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,-70,350" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
    304304        <attached>
    305305      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    352352    </collisionShapes>
    353353    </RaceCheckPoint>
    354 
    355354<RaceCheckPoint name="checkpoint10" yaw=90 pitch=90 position="24000,-150,-80" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
    356355        <attached>
     
    379378
    380379
    381 <RaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-300,900" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
    382         <attached>
    383       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    384     </attached>
    385     <collisionShapes>
    386         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    387         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    388         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    389         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    390     </collisionShapes>
    391     </RaceCheckPoint>
    392 
    393 
    394 <RaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,600,60" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
    395         <attached>
    396       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    397     </attached>
    398     <collisionShapes>
    399         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    400         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    401         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    402         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    403     </collisionShapes>
    404     </RaceCheckPoint>
    405 
    406 
    407 
    408 <RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,700,20" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
    409         <attached>
    410       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    411     </attached>
    412     <collisionShapes>
    413         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    414         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    415         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    416         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    417     </collisionShapes>
    418     </RaceCheckPoint>
    419 
    420 <RaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,-200,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
     380<RaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-250,670" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
     381        <attached>
     382      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     383    </attached>
     384    <collisionShapes>
     385        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     386        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     387        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     388        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     389    </collisionShapes>
     390    </RaceCheckPoint>
     391
     392
     393<RaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,150,600" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
     394        <attached>
     395      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     396    </attached>
     397    <collisionShapes>
     398        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     399        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     400        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     401        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     402    </collisionShapes>
     403    </RaceCheckPoint>
     404
     405
     406
     407<RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,500,300" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
     408        <attached>
     409      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     410    </attached>
     411    <collisionShapes>
     412        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     413        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     414        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     415        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     416    </collisionShapes>
     417    </RaceCheckPoint>
     418
     419<RaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,150,150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
    421420        <attached>
    422421      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    479478
    480479<!-- the last checkpoint is bigger and red -->
    481     <RaceCheckPoint name="checkpoint20" yaw=90 pitch=90 position="51000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="19" islast="true">
     480    <RaceCheckPoint name="checkpoint20" yaw=90 pitch=90 position="53000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="19" islast="true">
    482481        <attached>
    483482      <Model position="0,0,0" scale="70" mesh="Checkpoint_Finish.mesh"/>
     
    534533   
    535534    <PickupSpawner pickup=mediumboostpickup position="24000,-165,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    536     <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    537 
    538     <PickupSpawner pickup=smallspeedpickup position="9000,-150,150" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     535   
     536    <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     537    <PickupSpawner pickup=smallboostpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     538
     539    <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    539540 
    540541  </Scene>
  • code/branches/RacingBots_FS18/data/levels/templates/fastship.oxt

    r11783 r11938  
    2121   rotationThrust    = 50
    2222
    23    lift = 0;
    24    stallSpeed = 220;
     23   lift = 0
     24   stallSpeed = 220
    2525
    2626
    27    boostPower            = 8
     27   boostPower            = 8 
    2828   boostPowerRate        = 3
    29    boostRate             = 8
     29   boostRate             = 8 
    3030   boostCooldownDuration = 6
    3131
  • code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRace.cc

    r11913 r11938  
    125125        {
    126126            engine->setActive(false);
    127             engine->addSpeedMultiply(3.5f);
    128         }
     127            engine->addSpeedMultiply(1.7);
     128
     129           
     130        }
     131
    129132
    130133        //append spawn positions to bots
  • code/branches/RacingBots_FS18/src/orxonox/worldentities/pawns/SpaceShip.cc

    r11083 r11938  
    6565        this->boostPowerRate_ = 1.0f;
    6666        this->boostRate_ = 5.0f;
    67         this->boostCooldownDuration_ = 5.0f;
     67        this->boostCooldownDuration_ = 10.0f;
    6868
    6969        this->shakeFrequency_ = 15.0f;
Note: See TracChangeset for help on using the changeset viewer.