Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5475


Ignore:
Timestamp:
Apr 27, 2009, 5:14:28 PM (15 years ago)
Author:
Aurelian
Message:

CHeckpoints working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/gametype_asteroids.oxw

    r5453 r5475  
    77<Level
    88 name         = "Asteroids Race"
    9  description  = "tesmap for gametype asteroid race"
     9 description  = "testmap for gametype asteroid race"
     10 gametype     = Asteroids
    1011>
    1112  <Scene
     
    1617
    1718
    18     <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" />
     19<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" />
    1920
    2021
    21 <?lua
    22 for i = 1, 10, 1
    23 do ?>
    24     <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    25 <?lua
    26 end
    27 ?>
     22<SpawnPoint position="0,0,0" lookat="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     23
     24<CheckPoint name=trigger1 position="0,0,200" isdestination=false stayactive=true distance=20 />
    2825
    2926
    30 <DistanceTrigger name=trigger1 position="0,0,0" stayactive=true distance=20 />
    31 
    32 <DistanceTrigger name=trigger2 position="0,0,200" stayactive=true distance=20>
     27<CheckPoint name=trigger2 position="0,0,400" isdestination=false stayactive=true distance=20 >
    3328  <events>
    3429    <activity>
     
    3631    </activity>
    3732  </events>
    38 </DistanceTrigger>
     33</CheckPoint>
    3934
    40 <DistanceTrigger name=trigger3 position="0,0,400" stayactive=true distance=20>
     35
     36<CheckPoint name=trigger3 position="0,0,600" isdestination=true stayactive=true distance=20 >
    4137  <events>
    4238    <activity>
     
    4440    </activity>
    4541  </events>
    46 </DistanceTrigger>
     42</CheckPoint>
     43
     44
    4745
    4846  </Scene>
Note: See TracChangeset for help on using the changeset viewer.