Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9120 for code


Ignore:
Timestamp:
Apr 27, 2012, 2:40:09 PM (13 years ago)
Author:
laumerf
Message:

Added new Checkpoints

Location:
code/branches/surfaceRace/data/levels
Files:
2 edited

Legend:

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

    r9107 r9120  
    3939<SpaceRaceManager>
    4040 <checkpoints> 
    41         <RaceCheckPoint name="checkpoint1" position="0,5050,-300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
     41        <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="1" islast="false" nextcheckpoints="1,-1,-1">
    4242        <attached>
    4343            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     
    6969
    7070
    71 <RaceCheckPoint name="checkpoint2" position="0,5050,-800" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
    72         <attached>
    73             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    74         </attached>
    75         <collisionShapes>
    76             <!--
    77                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    78                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    79                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    80                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    81                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    82 
    83                 -->
    84         </collisionShapes>
    85     </RaceCheckPoint>
    86 
    87 <RaceCheckPoint name="checkpoint3" position="0,5050,-1300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
    88         <attached>
    89             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    90         </attached>
    91         <collisionShapes>
    92             <!--
    93                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    94                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    95                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    96                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    97                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    98 
    99                 -->
    100         </collisionShapes>
    101     </RaceCheckPoint>
    102 
    103 
    104 
    105 <RaceCheckPoint name="checkpoint4" position="500,5050,-1300" direction="0,0.5,0" collisionType="static" scale="4" distance="160" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
    106         <attached>
    107             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    108         </attached>
    109         <collisionShapes>
    110             <!--
    111                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    112                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    113                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    114                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    115                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    116 
    117                 -->
    118         </collisionShapes>
    119     </RaceCheckPoint>
    120 
    121 
    122 <RaceCheckPoint name="checkpoint5" position="1000,5050,-1300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
    123         <attached>
    124             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    125         </attached>
    126         <collisionShapes>
    127             <!--
    128                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    129                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    130                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    131                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    132                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    133 
    134                 -->
    135         </collisionShapes>
    136     </RaceCheckPoint>
    137 
    138 <RaceCheckPoint name="checkpoint6" position="1000,5050,-800" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
    139         <attached>
    140             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    141         </attached>
    142         <collisionShapes>
    143             <!--
    144                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    145                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    146                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    147                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    148                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    149 
    150                 -->
    151         </collisionShapes>
    152     </RaceCheckPoint>
    153 
    154 <RaceCheckPoint name="checkpoint7" position="1000,5050,-500" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
    155         <attached>
    156             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    157         </attached>
    158         <collisionShapes>
    159             <!--
    160                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    161                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    162                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    163                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    164                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    165 
    166                 -->
    167         </collisionShapes>
    168     </RaceCheckPoint>
    169 
    170 
    171 
    172 
    173 <RaceCheckPoint name="checkpoint8" position="1000,5050,-200" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="7" islast="true">
    174         <attached>
    175             <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
    176         </attached>
    177         <collisionShapes>
    178            <!--
    179                 <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
    180                 <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
    181                 <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
    182                 <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
    183                 <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
    184 
    185                 -->
    186         </collisionShapes>
    187     </RaceCheckPoint>
     71<RaceCheckPoint name="checkpoint2" position="0,8050, -2000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="2" islast="false" nextcheckpoints="2,-1,-1">
     72        <attached>
     73            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     74        </attached>
     75        <collisionShapes>
     76            <!--
     77                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     78                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     79                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     80                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     81                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     82
     83                -->
     84        </collisionShapes>
     85    </RaceCheckPoint>
     86
     87<RaceCheckPoint name="checkpoint3" position="0,8050,-3000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="3" islast="false" nextcheckpoints="3,-1,-1">
     88        <attached>
     89            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     90        </attached>
     91        <collisionShapes>
     92            <!--
     93                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     94                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     95                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     96                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     97                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     98
     99                -->
     100        </collisionShapes>
     101    </RaceCheckPoint>
     102
     103
     104
     105<RaceCheckPoint name="checkpoint4" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="4" islast="false" nextcheckpoints="4,-1,-1">
     106        <attached>
     107            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     108        </attached>
     109        <collisionShapes>
     110            <!--
     111                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     112                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     113                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     114                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     115                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     116
     117                -->
     118        </collisionShapes>
     119    </RaceCheckPoint>
     120
     121
     122<RaceCheckPoint name="checkpoint5" position="2000,8050, -5000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="5" islast="false" nextcheckpoints="5,-1,-1">
     123        <attached>
     124            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     125        </attached>
     126        <collisionShapes>
     127            <!--
     128                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     129                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     130                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     131                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     132                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     133
     134                -->
     135        </collisionShapes>
     136    </RaceCheckPoint>
     137
     138<RaceCheckPoint name="checkpoint6" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="6" islast="false" nextcheckpoints="6,-1,-1">
     139        <attached>
     140            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     141        </attached>
     142        <collisionShapes>
     143            <!--
     144                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     145                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     146                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     147                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     148                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     149
     150                -->
     151        </collisionShapes>
     152    </RaceCheckPoint>
     153
     154<RaceCheckPoint name="checkpoint7" position="4000,8050,-3000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="7" islast="false" nextcheckpoints="7,-1,-1">
     155        <attached>
     156            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     157        </attached>
     158        <collisionShapes>
     159            <!--
     160                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     161                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     162                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     163                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     164                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     165
     166                -->
     167        </collisionShapes>
     168    </RaceCheckPoint>
     169
     170
     171
     172
     173<RaceCheckPoint name="checkpoint8" position="4000,8050,-2000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="8" islast="false" nextcheckpoints="8,-1,-1">
     174        <attached>
     175            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     176        </attached>
     177        <collisionShapes>
     178           <!--
     179                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     180                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     181                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     182                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     183                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     184
     185                -->
     186        </collisionShapes>
     187    </RaceCheckPoint>
     188
     189
     190<RaceCheckPoint name="checkpoint9" position="4000,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="9" islast="false" nextcheckpoints="9,-1,-1">
     191        <attached>
     192            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     193        </attached>
     194        <collisionShapes>
     195           <!--
     196                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     197                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     198                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     199                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     200                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     201
     202                -->
     203        </collisionShapes>
     204    </RaceCheckPoint>
     205
     206
     207<RaceCheckPoint name="checkpoint10" position="4000,8050,0" direction="0,1,0" collisionType="static" scale="4" distance="100" islast="false" checkpointindex="10" nextcheckpoints="10,-1,-1">
     208        <attached>
     209            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     210        </attached>
     211        <collisionShapes>
     212           <!--
     213                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     214                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     215                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     216                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     217                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     218
     219                -->
     220        </collisionShapes>
     221    </RaceCheckPoint>
     222
     223
     224<RaceCheckPoint name="checkpoint11" position="3000,8050,1000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="11" islast="false" nextcheckpoints="6,-1,-1">
     225        <attached>
     226            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     227        </attached>
     228        <collisionShapes>
     229            <!--
     230                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     231                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     232                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     233                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     234                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     235
     236                -->
     237        </collisionShapes>
     238    </RaceCheckPoint>
     239
     240
     241<RaceCheckPoint name="checkpoint11" position="3000,8050,1000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="10" islast="true">
     242        <attached>
     243            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     244        </attached>
     245        <collisionShapes>
     246           <!--
     247                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     248                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
     249                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     250                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
     251                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
     252
     253                -->
     254        </collisionShapes>
     255    </RaceCheckPoint>
     256
    188257
    189258</checkpoints>
    190259</SpaceRaceManager>
    191260
    192  <SpawnPoint team=0 position="0,5050,0" lookat="0,5000,-5000" spawnclass=SpaceShip pawndesign=spaceshipRace />
     261 <SpawnPoint team=0 position="0,8050,0" lookat="0,8000,-8000" spawnclass=SpaceShip pawndesign=spaceshipRace />
    193262
    194263 
     
    204273  <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
    205274     <attached>
    206         <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" />
     275        <Model position="0,0,0" mesh="testcube.mesh" scale3D="8000,8000,8000" />
    207276      </attached>
    208277      <collisionShapes>
    209         <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" />
     278        <BoxCollisionShape position="0,50,0" halfExtents="8000,8000,8000" />
    210279      </collisionShapes>
    211280</StaticEntity>
  • code/branches/surfaceRace/data/levels/templates/spaceshipRace.oxt

    r9061 r9120  
    7777   boostfactor    = 2
    7878
    79    speedfront     = 150
     79   speedfront     = 2500
    8080   speedback      =  50
    8181   speedleftright =  50
Note: See TracChangeset for help on using the changeset viewer.