Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9071 for code


Ignore:
Timestamp:
Mar 30, 2012, 3:58:16 PM (13 years ago)
Author:
laumerf
Message:

checkpoints

File:
1 edited

Legend:

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

    r9070 r9071  
    1515?>
    1616
    17 <Level>
     17
     18
     19<Level
     20 gametype = "OldSpaceRace"
     21>
     22
    1823  <templates>
    1924    <Template link=lodtemplate_default />
     
    3136
    3237  <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"/>
     38    <!-- ------------------SpawnPoint----------------- -->
     39    <SpawnPoint team=0 position="0,5050,0" lookat="0,5070,5070" spawnclass=SpaceShip pawndesign=spaceshipRace active="true" >
     40      <events>
     41        <activity>
     42          <EventTrigger invert="true">
     43            <events>
     44                <trigger>
     45                    <EventListener event="checkpoint2" />
     46                </trigger>
     47            </events>
     48          </EventTrigger>
     49        </activity>
     50      </events>
     51    </SpawnPoint>
    3352
    34   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
     53<!-- ------------------CheckPoints----------------- -->
     54    <OldRaceCheckPoint name="checkpoint1" position="100,5100,0" direction="0,0,0" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false">
     55        <attached>
     56            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     57        </attached>
     58        <collisionShapes>
     59            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     60            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
     61            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     62            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
     63        </collisionShapes>
     64    </OldRaceCheckPoint>
     65
     66<OldRaceCheckPoint name="checkpoint2" position="500,5100,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false">
     67        <attached>
     68            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
     69            <SpawnPoint position="0,0,0" lookat="0,1000,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     70                <events>
     71                <activity>
     72                    <Trigger mode="xor" invert="true" >
     73                        <EventTrigger>
     74                            <events>
     75                                <trigger>
     76                                    <EventListener event="checkpoint2" />
     77                                </trigger>
     78                            </events>
     79                        </EventTrigger>
     80                        <EventTrigger invert="true">
     81                            <events>
     82                                <trigger>
     83                                    <EventListener event="checkpoint3" />
     84                                </trigger>
     85                            </events>
     86                        </EventTrigger>
     87                    </Trigger>
     88                </activity>
     89                </events>
     90            </SpawnPoint>
     91        </attached>
     92        <collisionShapes>
     93            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
     94            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
     95            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
     96            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
     97        </collisionShapes>
     98    </OldRaceCheckPoint>
     99
     100
     101
     102  <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
    35103     <attached>
    36104        <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" />
     
    40108      <collisionShapes>
    41109        <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" />
    42       </collisionShapes> -->
     110      </collisionShapes>
    43111
    44        
    45         <!-- ------------------obere Begrenzung----------------- -->
    46        <collisionShapes>
    47         <BoxCollisionShape position="0,70,0" halfExtents="5000,10,5000" />
    48       </collisionShapes>
     112
    49113  </StaticEntity>
    50 
    51114<!-- -----------------------Zylinder---------------------------- -->
    52115<StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
     
    54117        <Model position="1000,5100,1000" mesh="cylinder.mesh" scale3D="1000,1000,1000" />
    55118      </attached>
    56 
    57119  </StaticEntity>
    58120
    59 
    60     <SpawnPoint team=0 position="0,5050,0" lookat="0,5070,5070" spawnclass=SpaceShip pawndesign=spaceshipRace />
    61    
    62121  </Scene>
    63122</Level>
Note: See TracChangeset for help on using the changeset viewer.