Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 10, 2018, 3:36:53 PM (6 years ago)
Author:
merholzl
Message:

added space race improvements

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

Legend:

Unmodified
Added
Removed
  • code/branches/mergeFS18

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

    r11808 r12029  
    2121
    2222  include("templates/spaceshipAssff.oxt")
    23   include("templates/pickupRepresentationTemplates.oxt")
     23  include("templates/SpaceRaceTemplates.oxt")
    2424
    2525?>
     
    218218  </StaticEntity>
    219219
    220 <StaticEntity position="10000,-70,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
     220<StaticEntity position="11000,-60,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
    221221    <attached>
    222222      <Model scale="20" mesh="Board2.mesh" />
     
    233233   
    234234    <!-- distance = how far from the middle point of a check point do i have to fly ? distance variable answers this question   -->
     235   
     236
     237     
    235238
    236239
     
    246249    </collisionShapes>
    247250    </RaceCheckPoint>
    248 
    249 
     251            <Model mesh="cube.mesh" scale=2 position="3000,200,100"/>
     252            <Model mesh="cube.mesh" scale=2 position="5000,100,500"/>
    250253
    251254<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">
     
    262265
    263266
    264 <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">
     267<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">
    265268        <attached>
    266269      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    288291
    289292
    290 <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">
    291         <attached>
    292       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    293     </attached>
    294     <collisionShapes>
    295         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    296         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    297         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    298         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    299     </collisionShapes>
    300     </RaceCheckPoint>
    301 
    302 
    303 
    304 <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">
    305         <attached>
    306       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    307     </attached>
    308     <collisionShapes>
    309         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    310         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    311         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    312         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    313     </collisionShapes>
    314     </RaceCheckPoint>
    315 
    316 
    317 
    318 <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">
     293<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">
     294        <attached>
     295      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     296    </attached>
     297    <collisionShapes>
     298        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     299        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     300        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     301        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     302    </collisionShapes>
     303    </RaceCheckPoint>
     304
     305
     306
     307<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">
     308        <attached>
     309      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     310    </attached>
     311    <collisionShapes>
     312        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     313        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     314        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     315        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     316    </collisionShapes>
     317    </RaceCheckPoint>
     318
     319
     320
     321<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">
    319322        <attached>
    320323      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    353356    </collisionShapes>
    354357    </RaceCheckPoint>
    355 
    356358<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">
    357359        <attached>
     
    380382
    381383
    382 <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">
    383         <attached>
    384       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    385     </attached>
    386     <collisionShapes>
    387         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    388         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    389         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    390         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    391     </collisionShapes>
    392     </RaceCheckPoint>
    393 
    394 
    395 <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">
    396         <attached>
    397       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    398     </attached>
    399     <collisionShapes>
    400         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    401         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    402         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    403         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    404     </collisionShapes>
    405     </RaceCheckPoint>
    406 
    407 
    408 
    409 <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">
    410         <attached>
    411       <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
    412     </attached>
    413     <collisionShapes>
    414         <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
    415         <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
    416         <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
    417         <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    418     </collisionShapes>
    419     </RaceCheckPoint>
    420 
    421 <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">
     384<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">
     385        <attached>
     386      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     387    </attached>
     388    <collisionShapes>
     389        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     390        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     391        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     392        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     393    </collisionShapes>
     394    </RaceCheckPoint>
     395
     396
     397<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">
     398        <attached>
     399      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     400    </attached>
     401    <collisionShapes>
     402        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     403        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     404        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     405        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     406    </collisionShapes>
     407    </RaceCheckPoint>
     408
     409
     410
     411<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">
     412        <attached>
     413      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     414    </attached>
     415    <collisionShapes>
     416        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
     417        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
     418        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
     419        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
     420    </collisionShapes>
     421    </RaceCheckPoint>
     422
     423<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">
    422424        <attached>
    423425      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
     
    477479        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
    478480    </collisionShapes>
    479     </RaceCheckPoint>
     481    </RaceCheckPoint> 
    480482
    481483<!-- the last checkpoint is bigger and red -->
     
    490492        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
    491493    </collisionShapes>
    492     </RaceCheckPoint>
     494    </RaceCheckPoint> 
    493495
    494496
    495497</checkpoints>
    496498</SpaceRaceManager>
    497 
     499   <Arrow>
     500      <attached>
     501       <Model scale="5" mesh="botpointer4.mesh"/>
     502      </attached>
     503      <controller>
     504        <ArrowController accuracy = 10000>
     505          <gpspoints>
     506            <Model mesh="cube.mesh" scale=0 position="1000,30,0"/>
     507            <Model mesh="cube.mesh" scale=0 position="3000,200,100"/>
     508            <Model mesh="cube.mesh" scale=0 position="5000,80,500"/>
     509            <Model mesh="cube.mesh" scale=0 position="8000,-150,150"/>
     510            <Model mesh="cube.mesh" scale=0 position="11000,-200,200"/>
     511            <Model mesh="cube.mesh" scale=0 position="13000,-70,350"/>
     512            <Model mesh="cube.mesh" scale=0 position="15500,0,0"/>
     513            <Model mesh="cube.mesh" scale=0 position="18000,150,-150"/>
     514            <Model mesh="cube.mesh" scale=0 position="21000,200,-120"/>
     515            <Model mesh="cube.mesh" scale=0 position="24000,-150,-80"/>
     516            <Model mesh="cube.mesh" scale=0 position="27000,-200,0"/>
     517            <Model mesh="cube.mesh" scale=0 position="30000,-250,670"/>
     518            <Model mesh="cube.mesh" scale=0 position="33000,150,600"/>
     519            <Model mesh="cube.mesh" scale=0 position="35000,500,300"/>
     520            <Model mesh="cube.mesh" scale=0 position="38000,150,150"/>
     521            <Model mesh="cube.mesh" scale=0 position="41000,30,-50"/>
     522            <Model mesh="cube.mesh" scale=0 position="44000,90,0"/>
     523            <Model mesh="cube.mesh" scale=0 position="47000,120,30"/>
     524            <Model mesh="cube.mesh" scale=0 position="50000,0,100"/>
     525            <Model mesh="cube.mesh" scale=0 position="53000,0,0"/>
     526
     527           
     528
     529
     530           
     531
     532                </gpspoints>
     533        </ArrowController>
     534      </controller>
     535    </Arrow>
    498536
    499537
    500538<!-- ---------------------PickUps---------------------- -->
    501539
    502     <PickupSpawner pickup=smallshrinkpickup position="10000,-200,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
    503     <PickupSpawner pickup=mediumboostpickup position="24000,-150,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    504     <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    505 
    506     <PickupSpawner pickup=smallspeedpickup position="7000,-200,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    507     <PickupSpawner pickup=mediumshinkpickup position="16000,150,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    508     <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="41000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     540   
     541    <PickupSpawner pickup=mediumboostpickup position="24000,-165,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     542   
     543    <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     544    <PickupSpawner pickup=smallspeedpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     545
     546    <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     547 
    509548  </Scene>
    510549</Level>
  • code/branches/mergeFS18/data/levels/presentationHS12.oxw

    r11802 r12029  
    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/mergeFS18/data/levels/templates/fastship.oxt

    r11783 r12029  
    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/mergeFS18/data/levels/templates/spaceshipCollateralDamage.oxt

    r11052 r12029  
    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.