Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9171


Ignore:
Timestamp:
May 11, 2012, 2:51:22 PM (12 years ago)
Author:
laumerf
Message:

added new pickups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/surfaceRace/data/levels/surfaceRace.oxw

    r9169 r9171  
    2828    ambientlight = "2.0, 2.0, 2.0"
    2929    skybox       = "Orxonox/skyBoxClouds"
    30     gravity      = "0,-90,0"
     30    gravity      = "0,-75,0"
    3131    negativeWorldRange = "-100000, -100000, -100000"
    3232    positiveWorldRange = " 100000,  100000,  100000"
     
    4040<SpaceRaceManager>
    4141 <checkpoints> 
    42         <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="120" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
     42        <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="150" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
    4343        <attached>
    4444            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    7373    </RaceCheckPoint>
    7474
    75 <RaceCheckPoint name="checkpoint2" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
     75<RaceCheckPoint name="checkpoint2" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
    7676        <attached>
    7777            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    9191
    9292
    93 <RaceCheckPoint name="checkpoint3" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="120" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
    94         <attached>
    95             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    96         </attached>
    97        <collisionShapes>
    98 
    99 
    100             <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    101             <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    102             <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
    103             <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
    104 
    105          
    106         </collisionShapes>
    107 
    108     </RaceCheckPoint>
    109 
    110 
    111 <RaceCheckPoint name="checkpoint4" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="120" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
     93<RaceCheckPoint name="checkpoint3" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="150" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
     94        <attached>
     95            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     96        </attached>
     97       <collisionShapes>
     98
     99
     100            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     101            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     102            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     103            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     104
     105         
     106        </collisionShapes>
     107
     108    </RaceCheckPoint>
     109
     110
     111<RaceCheckPoint name="checkpoint4" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
    112112        <attached>
    113113            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    127127
    128128
    129 <RaceCheckPoint name="checkpoint5" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="120" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
     129<RaceCheckPoint name="checkpoint5" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
    130130        <attached>
    131131            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    145145
    146146
    147 <RaceCheckPoint name="checkpoint6" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
    148         <attached>
    149             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    150         </attached>
    151        <collisionShapes>
    152 
    153 
    154             <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    155             <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    156             <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
    157             <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
    158 
    159          
    160         </collisionShapes>
    161     </RaceCheckPoint>
    162 
    163 
    164 
    165 <RaceCheckPoint name="checkpoint7" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
     147<RaceCheckPoint name="checkpoint6" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
     148        <attached>
     149            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     150        </attached>
     151       <collisionShapes>
     152
     153
     154            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     155            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     156            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     157            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     158
     159         
     160        </collisionShapes>
     161    </RaceCheckPoint>
     162
     163
     164
     165<RaceCheckPoint name="checkpoint7" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="150" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
    166166        <attached>
    167167            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    182182
    183183
    184 <RaceCheckPoint name="checkpoint8" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1">
    185         <attached>
    186             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    187         </attached>
    188        <collisionShapes>
    189 
    190             <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    191             <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    192             <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
    193             <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
    194          
    195         </collisionShapes>
    196     </RaceCheckPoint>
    197 
    198 
    199 <RaceCheckPoint name="checkpoint9" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="120" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1">
     184<RaceCheckPoint name="checkpoint8" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1">
     185        <attached>
     186            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     187        </attached>
     188       <collisionShapes>
     189
     190            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     191            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     192            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     193            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     194         
     195        </collisionShapes>
     196    </RaceCheckPoint>
     197
     198
     199<RaceCheckPoint name="checkpoint9" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="150" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1">
    200200        <attached>
    201201            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    215215
    216216
    217 <RaceCheckPoint name="checkpoint10" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
    218         <attached>
    219             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    220         </attached>
    221        <collisionShapes>
    222 
    223 
    224             <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    225             <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    226             <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
    227             <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
    228 
    229          
    230         </collisionShapes>
    231 
    232     </RaceCheckPoint>
    233 
    234 <RaceCheckPoint name="checkpoint11" position="0,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="10" islast="false" nextcheckpoints="10,-1,-1">
    235         <attached>
    236             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    237         </attached>
    238        <collisionShapes>
    239 
    240 
    241             <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    242             <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    243             <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
    244             <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
    245 
    246          
    247         </collisionShapes>
    248 
    249     </RaceCheckPoint>
    250 
    251 <RaceCheckPoint name="checkpoint12" position="6000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="11" islast="true">
     217<RaceCheckPoint name="checkpoint10" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="150" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
     218        <attached>
     219            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     220        </attached>
     221       <collisionShapes>
     222
     223
     224            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     225            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     226            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     227            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     228
     229         
     230        </collisionShapes>
     231
     232    </RaceCheckPoint>
     233
     234<RaceCheckPoint name="checkpoint11" position="0,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="10" islast="false" nextcheckpoints="11,-1,-1">
     235        <attached>
     236            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     237        </attached>
     238       <collisionShapes>
     239
     240
     241            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     242            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     243            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     244            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     245
     246         
     247        </collisionShapes>
     248
     249    </RaceCheckPoint>
     250
     251<RaceCheckPoint name="checkpoint12" position="6000,8050,6000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
    252252        <attached>
    253253            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    264264        </collisionShapes>
    265265
     266    </RaceCheckPoint>
     267
     268
     269
     270<RaceCheckPoint name="checkpoint13" position="5500,8050,3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
     271        <attached>
     272            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     273        </attached>
     274       <collisionShapes>
     275
     276            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     277            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     278            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     279            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     280         
     281        </collisionShapes>
     282    </RaceCheckPoint>
     283
     284
     285<RaceCheckPoint name="checkpoint14" position="6000,8050,-5000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="13" islast="true" >
     286        <attached>
     287            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     288        </attached>
     289       <collisionShapes>
     290
     291            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     292            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     293            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     294            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     295         
     296        </collisionShapes>
    266297    </RaceCheckPoint>
    267298
     
    314345
    315346
    316 
    317  <PickupSpawner position="0,8050,-200" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     347<!-- ---------------------PickUp---------------------- -->
     348
     349
     350 <PickupSpawner position="4000,8100,-500" triggerDistance="40" respawnTime="10" maxSpawnedItems="99" scale="8">
    318351      <pickup>
    319352        <SpeedPickup template=smallspeedpickup />
     
    321354    </PickupSpawner>
    322355
    323     <PickupSpawner position="0,8050,-400" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     356   <PickupSpawner position="5500,8100,2000" triggerDistance="40" respawnTime="10" maxSpawnedItems="99" scale="8">
    324357      <pickup>
    325358        <SpeedPickup template=mediumspeedpickup />
     
    327360    </PickupSpawner>
    328361
    329     <PickupSpawner position="0,8050,-600" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     362    <PickupSpawner position="-4000,8100,4000" triggerDistance="40" respawnTime="60"  maxSpawnedItems="5" scale="8">
    330363      <pickup>
    331         <SpeedPickup template=hugespeedpickup />
     364        <ShrinkPickup template ="mediumshrinkpickup"/>
    332365      </pickup>
    333     </PickupSpawner>
     366    </PickupSpawner>>
     367
    334368
    335369
     
    338372
    339373 <?lua
    340     max = 20
     374    max = 15
    341375    for i = 0, max, 1
    342376    do
    343377        x=-12000
    344         y=9000
     378        y=10000
    345379        z=-12000
    346380 
     
    357391      linearDamping = "0.5"
    358392      angularDamping = "0.5"
    359       collisiondamage = "1"
     393      collisiondamage = "100"
    360394      enablecollisiondamage = "true"
    361395      scale="<?lua print(j * 5) ?>" >
Note: See TracChangeset for help on using the changeset viewer.