Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2018, 2:23:47 PM (6 years ago)
Author:
patricwi
Message:

Added RacingBots

Location:
code/branches/PresentationFS18
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • code/branches/PresentationFS18

  • code/branches/PresentationFS18/data/levels/newnewnewspacerace.oxw

    r11783 r12015  
    2121
    2222  include("templates/spaceshipAssff.oxt")
    23   include("templates/pickupRepresentationTemplates.oxt")
     23  include("templates/SpaceRaceTemplates.oxt")
    2424
    2525?>
     
    214214  </StaticEntity>
    215215
    216 <StaticEntity position="10000,-70,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
     216<StaticEntity position="11000,-60,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
    217217    <attached>
    218218      <Model scale="20" mesh="Board2.mesh" />
     
    229229   
    230230    <!-- distance = how far from the middle point of a check point do i have to fly ? distance variable answers this question   -->
     231   
     232
     233     
    231234
    232235
     
    242245    </collisionShapes>
    243246    </RaceCheckPoint>
    244 
    245 
     247            <Model mesh="cube.mesh" scale=2 position="3000,200,100"/>
     248            <Model mesh="cube.mesh" scale=2 position="5000,100,500"/>
    246249
    247250<RaceCheckPoint name="checkpoint2" yaw=90 pitch=90 position="3000,200,100" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
     
    258261
    259262
    260 <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">
    261264        <attached>
    262265      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    284287
    285288
    286 <RaceCheckPoint name="checkpoint5"  yaw=90 pitch=90 position="10000,-200,200" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
    287         <attached>
    288       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    289     </attached>
    290     <collisionShapes>
    291         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    292         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    293         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    294         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    295     </collisionShapes>
    296     </RaceCheckPoint>
    297 
    298 
    299 
    300 <RaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,200,400" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
    301         <attached>
    302       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    303     </attached>
    304     <collisionShapes>
    305         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    306         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    307         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    308         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    309     </collisionShapes>
    310     </RaceCheckPoint>
    311 
    312 
    313 
    314 <RaceCheckPoint name="checkpoint7" yaw=90 pitch=90 position="15000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
     289<RaceCheckPoint name="checkpoint5"  yaw=90 pitch=90 position="11000,-200,200" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
     290        <attached>
     291      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     292    </attached>
     293    <collisionShapes>
     294        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     295        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     296        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     297        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     298    </collisionShapes>
     299    </RaceCheckPoint>
     300
     301
     302
     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">
     304        <attached>
     305      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     306    </attached>
     307    <collisionShapes>
     308        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     309        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     310        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     311        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     312    </collisionShapes>
     313    </RaceCheckPoint>
     314
     315
     316
     317<RaceCheckPoint name="checkpoint7" yaw=90 pitch=90 position="15500,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
    315318        <attached>
    316319      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    349352    </collisionShapes>
    350353    </RaceCheckPoint>
    351 
    352354<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">
    353355        <attached>
     
    376378
    377379
    378 <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">
    379         <attached>
    380       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    381     </attached>
    382     <collisionShapes>
    383         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    384         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    385         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    386         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    387     </collisionShapes>
    388     </RaceCheckPoint>
    389 
    390 
    391 <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">
    392         <attached>
    393       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    394     </attached>
    395     <collisionShapes>
    396         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    397         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    398         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    399         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    400     </collisionShapes>
    401     </RaceCheckPoint>
    402 
    403 
    404 
    405 <RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,120,20" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
    406         <attached>
    407       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    408     </attached>
    409     <collisionShapes>
    410         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    411         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    412         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    413         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    414     </collisionShapes>
    415     </RaceCheckPoint>
    416 
    417 <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">
    418420        <attached>
    419421      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    473475        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    474476    </collisionShapes>
    475     </RaceCheckPoint>
     477    </RaceCheckPoint> 
    476478
    477479<!-- the last checkpoint is bigger and red -->
     
    486488        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
    487489    </collisionShapes>
    488     </RaceCheckPoint>
     490    </RaceCheckPoint> 
    489491
    490492
    491493</checkpoints>
    492494</SpaceRaceManager>
    493 
     495   <Arrow>
     496      <attached>
     497       <Model scale="5" mesh="botpointer4.mesh"/>
     498      </attached>
     499      <controller>
     500        <ArrowController accuracy = 10000>
     501          <gpspoints>
     502            <Model mesh="cube.mesh" scale=0 position="1000,30,0"/>
     503            <Model mesh="cube.mesh" scale=0 position="3000,200,100"/>
     504            <Model mesh="cube.mesh" scale=0 position="5000,80,500"/>
     505            <Model mesh="cube.mesh" scale=0 position="8000,-150,150"/>
     506            <Model mesh="cube.mesh" scale=0 position="11000,-200,200"/>
     507            <Model mesh="cube.mesh" scale=0 position="13000,-70,350"/>
     508            <Model mesh="cube.mesh" scale=0 position="15500,0,0"/>
     509            <Model mesh="cube.mesh" scale=0 position="18000,150,-150"/>
     510            <Model mesh="cube.mesh" scale=0 position="21000,200,-120"/>
     511            <Model mesh="cube.mesh" scale=0 position="24000,-150,-80"/>
     512            <Model mesh="cube.mesh" scale=0 position="27000,-200,0"/>
     513            <Model mesh="cube.mesh" scale=0 position="30000,-250,670"/>
     514            <Model mesh="cube.mesh" scale=0 position="33000,150,600"/>
     515            <Model mesh="cube.mesh" scale=0 position="35000,500,300"/>
     516            <Model mesh="cube.mesh" scale=0 position="38000,150,150"/>
     517            <Model mesh="cube.mesh" scale=0 position="41000,30,-50"/>
     518            <Model mesh="cube.mesh" scale=0 position="44000,90,0"/>
     519            <Model mesh="cube.mesh" scale=0 position="47000,120,30"/>
     520            <Model mesh="cube.mesh" scale=0 position="50000,0,100"/>
     521            <Model mesh="cube.mesh" scale=0 position="53000,0,0"/>
     522
     523           
     524
     525
     526           
     527
     528                </gpspoints>
     529        </ArrowController>
     530      </controller>
     531    </Arrow>
    494532
    495533
    496534<!-- ---------------------PickUps---------------------- -->
    497535
    498     <PickupSpawner pickup=smallshrinkpickup position="10000,-200,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
    499     <PickupSpawner pickup=mediumboostpickup position="24000,-150,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    500     <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    501 
    502     <PickupSpawner pickup=smallspeedpickup position="7000,-200,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    503     <PickupSpawner pickup=mediumshinkpickup position="16000,150,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    504     <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="41000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     536   
     537    <PickupSpawner pickup=mediumboostpickup position="24000,-165,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     538   
     539    <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     540    <PickupSpawner pickup=smallspeedpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     541
     542    <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     543 
    505544  </Scene>
    506545</Level>
  • code/branches/PresentationFS18/data/levels/presentationHS12.oxw

    r10624 r12015  
    6161
    6262    <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"/>
    63     <SpawnPoint team=0 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     63    <SpawnPoint team=0 position="-900,0,0" lookat="0,0,0" primaryThrust=1000 spawnclass=SpaceShip pawndesign=spaceshipescort />
    6464    <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=bigship /-->
    6565    <!--SpawnPoint team=0 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage /-->
     
    328328        roll                = "180"
    329329        name                = "collateralDamage"
    330         radarname           = "Collateral Damage" >
    331         <!--
     330        radarname           = "Collateral Damage"
    332331        pitch               = "90"
    333         yaw                 = "0"-->
     332        yaw                 = "100"
     333        primaryThrust       = "2000">
    334334      <attached>
    335335        <DockingTarget name="spaceShip" />
  • code/branches/PresentationFS18/data/levels/templates/fastship.oxt

    r11783 r12015  
    2121   rotationThrust    = 50
    2222
    23    lift = 0;
    24    stallSpeed = 220;
     23   lift = 0
     24   stallSpeed = 220
    2525
    2626
    27    boostPower            = 8
     27   boostPower            = 7.5 
    2828   boostPowerRate        = 3
    29    boostRate             = 8
     29   boostRate             = 7.5
    3030   boostCooldownDuration = 6
    3131
  • code/branches/PresentationFS18/data/levels/templates/spaceshipCollateralDamage.oxt

    r11052 r12015  
    1919   shieldrechargewaittime = 1
    2020
    21    primaryThrust     = 100
     21   primaryThrust     = 1000
    2222   auxilaryThrust    = 30
    2323   rotationThrust    = 50
     
    2929   boostPowerRate        = 1
    3030   boostRate             = 5
    31    boostCooldownDuration = 10
     31   boostCooldownDuration = 1
    3232
    3333   shakeFrequency = 15
     
    3636   collisionType     = "dynamic"
    3737   mass              = 100
    38    linearDamping     = 0.7
     38   linearDamping     = 0.5
    3939   angularDamping    = 0.9999999
    4040  >
Note: See TracChangeset for help on using the changeset viewer.