Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2012, 4:27:06 PM (13 years ago)
Author:
laumerf
Message:

added asteroids and pick ups

File:
1 edited

Legend:

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

    r9150 r9162  
    22 name = "Surface Race"
    33 description = "in progress..."
    4  tags = "Race"
    54 screenshot = "emptylevel.png"
     5 tags = "gametype"
    66/>
    77
     
    1111  include("templates/lodInformation.oxt")
    1212  include("templates/spaceshipRace.oxt")
     13  include("templates/pickupRepresentationTemplates.oxt")
    1314 
    1415?>
     
    2728    ambientlight = "2.0, 2.0, 2.0"
    2829    skybox       = "Orxonox/skyBoxClouds"
    29     gravity      = "0,-70,0"
     30    gravity      = "0,-90,0"
    3031    negativeWorldRange = "-100000, -100000, -100000"
    3132    positiveWorldRange = " 100000,  100000,  100000"
     
    3940<SpaceRaceManager>
    4041 <checkpoints> 
    41         <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="100" 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="120" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
    4243        <attached>
    4344            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    4445       
    45 <!--
     46<!-- 
    4647                <Model position="0,0,55" mesh="testcube.mesh" scale3D="110,20,20" />
    4748                <Model position="0,0,-55" mesh="testcube.mesh" scale3D="110,20,20" />
     
    4950                <Model position="-55,0,0" mesh="testcube.mesh" scale3D="20,20,110" />
    5051
    51 
    5252-->
    5353
     
    6060
    6161
    62              <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     62            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
    6363            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
    6464            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     
    7373    </RaceCheckPoint>
    7474
    75 
    76 <RaceCheckPoint name="checkpoint2" position="0,8050, -2000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" 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="120" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
     76        <attached>
     77            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     78        </attached>
     79       
     80
     81           <collisionShapes>
     82
     83            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     84            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     85            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     86            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     87         
     88        </collisionShapes>
     89    </RaceCheckPoint>
     90
     91
     92
     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">
    77112        <attached>
    78113            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    79114        </attached>
    80115        <collisionShapes>
    81             <!--
    82                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    83                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    84                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    85                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    86                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    87 
    88                 -->
    89         </collisionShapes>
    90     </RaceCheckPoint>
    91 
    92 <RaceCheckPoint name="checkpoint3" position="0,8050,-3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
     116
     117
     118            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     119            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     120            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     121            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     122
     123         
     124        </collisionShapes>
     125
     126    </RaceCheckPoint>
     127
     128
     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">
    93130        <attached>
    94131            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    95132        </attached>
    96133        <collisionShapes>
    97             <!--
    98                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    99                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    100                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    101                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    102                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    103 
    104                 -->
    105         </collisionShapes>
    106     </RaceCheckPoint>
    107 
    108 
    109 
    110 <RaceCheckPoint name="checkpoint4" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
    111         <attached>
    112             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    113         </attached>
    114         <collisionShapes>
    115             <!--
    116                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    117                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    118                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    119                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    120                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    121 
    122                 -->
    123         </collisionShapes>
    124     </RaceCheckPoint>
    125 
    126 
    127 <RaceCheckPoint name="checkpoint5" position="2000,8050, -5000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
    128         <attached>
    129             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    130         </attached>
    131         <collisionShapes>
    132             <!--
    133                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    134                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    135                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    136                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    137                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    138 
    139                 -->
    140         </collisionShapes>
    141     </RaceCheckPoint>
    142 
    143 <RaceCheckPoint name="checkpoint6" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
    144         <attached>
    145             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    146         </attached>
    147         <collisionShapes>
    148             <!--
    149                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    150                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    151                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    152                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    153                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    154 
    155                 -->
    156         </collisionShapes>
    157     </RaceCheckPoint>
    158 
    159 <RaceCheckPoint name="checkpoint7" position="4000,8050,-3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
    160         <attached>
    161             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    162         </attached>
    163         <collisionShapes>
    164             <!--
    165                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    166                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    167                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    168                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    169                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    170 
    171                 -->
    172         </collisionShapes>
    173     </RaceCheckPoint>
    174 
    175 
    176 
    177 
    178 <RaceCheckPoint name="checkpoint8" position="4000,8050,-2000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1">
    179         <attached>
    180             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    181         </attached>
    182         <collisionShapes>
    183            <!--
    184                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    185                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    186                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    187                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    188                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    189 
    190                 -->
    191         </collisionShapes>
    192     </RaceCheckPoint>
    193 
    194 
    195 <RaceCheckPoint name="checkpoint9" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1">
    196         <attached>
    197             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    198         </attached>
    199         <collisionShapes>
    200            <!--
    201                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    202                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    203                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    204                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    205                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    206 
    207                 -->
    208         </collisionShapes>
    209     </RaceCheckPoint>
    210 
    211 
    212 <RaceCheckPoint name="checkpoint10" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
    213         <attached>
    214             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    215         </attached>
    216         <collisionShapes>
    217            <!--
    218                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    219                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    220                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    221                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    222                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    223 
    224                 -->
    225         </collisionShapes>
    226     </RaceCheckPoint>
    227 
    228 
    229 <RaceCheckPoint name="checkpoint11" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="10" islast="false" nextcheckpoints="11,-1,-1">
    230         <attached>
    231             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    232         </attached>
    233         <collisionShapes>
    234             <!--
    235                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    236                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    237                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    238                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    239                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    240 
    241                 -->
    242         </collisionShapes>
    243     </RaceCheckPoint>
    244 
    245 
    246 <RaceCheckPoint name="checkpoint12" position="2000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
    247         <attached>
    248             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    249         </attached>
    250         <collisionShapes>
    251             <!--
    252                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    253                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    254                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    255                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    256                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    257 
    258                 -->
    259         </collisionShapes>
    260     </RaceCheckPoint>
    261 
    262 <RaceCheckPoint name="checkpoint13" position="1000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
    263         <attached>
    264             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    265         </attached>
    266         <collisionShapes>
    267             <!--
    268                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    269                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    270                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    271                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    272                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    273 
    274                 -->
    275         </collisionShapes>
    276     </RaceCheckPoint>
    277 
    278 <RaceCheckPoint name="checkpoint14" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
    279         <attached>
    280             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    281         </attached>
    282         <collisionShapes>
    283             <!--
    284                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    285                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    286                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    287                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    288                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    289 
    290                 -->
    291         </collisionShapes>
    292     </RaceCheckPoint>
    293 
    294 <RaceCheckPoint name="checkpoint15" position="-3000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
    295         <attached>
    296             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    297         </attached>
    298         <collisionShapes>
    299             <!--
    300                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    301                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    302                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    303                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    304                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    305 
    306                 -->
    307         </collisionShapes>
    308     </RaceCheckPoint>
    309 
    310 <RaceCheckPoint name="checkpoint16" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="15" islast="false" nextcheckpoints="16,-1,-1">
    311         <attached>
    312             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    313         </attached>
    314         <collisionShapes>
    315             <!--
    316                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    317                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    318                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    319                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    320                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    321 
    322                 -->
    323         </collisionShapes>
    324     </RaceCheckPoint>
    325 
    326 <RaceCheckPoint name="checkpoint17" position="-5000,8050,4000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="16" islast="false" nextcheckpoints="17,-1,-1">
    327         <attached>
    328             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    329         </attached>
    330         <collisionShapes>
    331             <!--
    332                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    333                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    334                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    335                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    336                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    337 
    338                 -->
    339         </collisionShapes>
    340     </RaceCheckPoint>
    341 
    342 <RaceCheckPoint name="checkpoint18" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="17" islast="false" nextcheckpoints="18,-1,-1">
    343         <attached>
    344             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    345         </attached>
    346         <collisionShapes>
    347             <!--
    348                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    349                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    350                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    351                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    352                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    353 
    354                 -->
    355         </collisionShapes>
    356     </RaceCheckPoint>
    357 
    358 
    359 <RaceCheckPoint name="checkpoint19" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="18" islast="false" nextcheckpoints="19,-1,-1">
    360         <attached>
    361             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    362         </attached>
    363         <collisionShapes>
    364             <!--
    365                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    366                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    367                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    368                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    369                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    370 
    371                 -->
    372         </collisionShapes>
    373     </RaceCheckPoint>
    374 
    375 
    376 
    377 <RaceCheckPoint name="checkpoint20" position="6000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="19" islast="true">
    378         <attached>
    379             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    380         </attached>
    381         <collisionShapes>
    382            <!--
    383                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    384                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    385                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    386                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    387                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    388 
    389                 -->
    390         </collisionShapes>
     134
     135
     136            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     137            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     138            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     139            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     140
     141         
     142        </collisionShapes>
     143
     144    </RaceCheckPoint>
     145
     146
     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">
     166        <attached>
     167            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     168        </attached>
     169      <collisionShapes>
     170
     171
     172            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     173            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     174            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     175            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     176
     177         
     178        </collisionShapes>
     179
     180    </RaceCheckPoint>
     181
     182
     183
     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">
     200        <attached>
     201            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     202        </attached>
     203         <collisionShapes>
     204
     205
     206            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     207            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     208            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     209            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     210
     211         
     212        </collisionShapes>
     213
     214    </RaceCheckPoint>
     215
     216
     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
     235
     236<RaceCheckPoint name="checkpoint11" position="6000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="10" islast="true">
     237        <attached>
     238            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     239        </attached>
     240      <collisionShapes>
     241
     242
     243            <BoxCollisionShape position="0,0,220"     halfExtents="220, 40, 40" />
     244            <BoxCollisionShape position="0,0,-220"      halfExtents="220, 40, 40" />
     245            <BoxCollisionShape position="220,0,0"      halfExtents="40, 40, 220" />
     246            <BoxCollisionShape position="-220,0,0"       halfExtents="40, 40, 220" />
     247
     248         
     249        </collisionShapes>
     250
    391251    </RaceCheckPoint>
    392252
     
    416276</StaticEntity>
    417277
     278
     279
     280 <PickupSpawner position="0,8050,-200" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     281      <pickup>
     282        <SpeedPickup template=smallspeedpickup />
     283      </pickup>
     284    </PickupSpawner>
     285
     286    <PickupSpawner position="0,8050,-400" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     287      <pickup>
     288        <SpeedPickup template=mediumspeedpickup />
     289      </pickup>
     290    </PickupSpawner>
     291
     292    <PickupSpawner position="0,8050,-600" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
     293      <pickup>
     294        <SpeedPickup template=hugespeedpickup />
     295      </pickup>
     296    </PickupSpawner>
     297
     298
     299
     300 <!-- ---------------asteroid ellipse----------------- -->
     301
     302 <?lua
     303    max = 20
     304    for i = 0, max, 1
     305    do
     306        x=-12000
     307        y=9000
     308        z=-12000
     309 
     310    ?>
     311    <?lua
     312    for k = 1, 15, 1
     313    do
     314    j = math.random()
     315    ?>
     316
     317    <MovableEntity
     318      position = "<?lua print(x + math.random() * 20000) ?>,<?lua print(y + math.random() * 5000) ?>,<?lua print(z + math.random() * 20000) ?>"
     319      collisionType = "dynamic"
     320      linearDamping = "0.5"
     321      angularDamping = "0.5"
     322      collisiondamage = "1"
     323      enablecollisiondamage = "true"
     324      scale="<?lua print(j * 5) ?>" >
     325      <attached>
     326        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
     327      <?lua if k == 0 then ?><attached><!-- ---------asteroid fog----- -->
     328            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
     329          </attached> <?lua end ?>
     330        </Model>
     331      </attached>
     332      <collisionShapes>
     333        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
     334      </collisionShapes>
     335    </MovableEntity>
     336    <?lua
     337    end
     338    ?>
     339    <?lua end ?>
     340
    418341  </Scene>
    419342</Level>
Note: See TracChangeset for help on using the changeset viewer.