Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2010, 11:24:50 PM (14 years ago)
Author:
dafrick
Message:

Documenting and extending ForceField.
A little cleaning up in The Time Machine level.
Adding a Bond villain…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/The Time Machine.oxw

    r7648 r7673  
    22 name = "The Time Machine"
    33 description = "A simple level. The only goal is to defeat as much enemies as you can."
    4  tags = ""
     4 tags = "singleplayer"
    55/>
    66
     
    4343      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
    4444      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    45       <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTrigger-->
     45      <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTriggerBeacon-->
    4646    </attached>
    4747    <collisionShapes>
     
    6161<!--*****************************************************************************************************************************************************************************************-->
    6262
    63 
    64 
    65 
    66 <!--CREATING SPAWNPOINTS______________________________________________________________________________________________________________________________________________________________OK-->
    6763<Level
    6864    name="The Time Machine"
     
    7066    gametype=TeamDeathmatch
    7167>
    72   <templates>
    73     <Template link=lodtemplate_default />
    74   </templates>
     68    <templates>
     69        <Template link=lodtemplate_default />
     70    </templates>
    7571    <Scene
    7672        ambientlight="0.8,0.8,0.8"
     
    8076        <Light type=directional position="0,0,0" direction="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" />
    8177
     78<!--CREATING SPAWNPOINTS_____________________________________________________________________________________________________________________________________________________________________-->
    8279<?lua for i=0,4,1 do
    83 x=500
     80    x=500
    8481?>   
    8582
     
    8986
    9087<!--enemy spaceship spawnpoint-->
    91         <!-- TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /-->
     88        <!--TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /-->
    9289<?lua end ?>
    9390
     
    9592
    9693
    97 <!--Triggers (used for the Time Machine effect)_________________________________________________________________________________________________________________________partially working-->
     94<!--Triggers (used for the Time Machine effect)___________________________________________________________________________________________________________________________________________-->
    9895   
    9996        <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"-->
     
    144141        </Trigger>
    145142
    146         <!-- This Trigger is true iff the player is in the TimeMachine and has shot another player -->
     143        <!-- This Trigger is true if the player is in the TimeMachine and has shot another player -->
    147144        <EventTrigger name=trigger2 switch=true >
    148145            <events>
     
    175172<!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________-->
    176173
    177 <!--Creating Spaceships___________________________________________________________________________________________________________________________________________________________________OK-->
     174<!--Creating Spaceships_____________________________________________________________________________________________________________________________________________________________________-->
    178175   
    179176<?lua for i=0,5,1 do
    180 y=math.random(-500,500)
    181 z=math.random(-1000,1000)
    182 y2=math.random(-500,500)
    183 z2=math.random(-1000,1000)
    184 health=230
    185 addh=100
     177    y=math.random(-500,500)
     178    z=math.random(-1000,1000)
     179    y2=math.random(-500,500)
     180    z2=math.random(-1000,1000)
     181    health=230
     182    addh=100
    186183?>
    187184   
     
    265262<?lua end ?>
    266263
    267 <!--Creating Spaceships_____END___________________________________________________________________________________________________________________________________________________________OK-->
     264<!--Creating Spaceships_____END_____________________________________________________________________________________________________________________________________________________________-->
    268265
    269266<!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD-->
     
    320317                                <MovableEntity position="<?lua print(1500-3000*i) ?>,0,0">
    321318                                    <attached>
     319                                        <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 />
    322320                                        <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/>
    323321                                        <MovableEntity    position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
     
    367365                                <MovableEntity position="0,<?lua print(1500-3000*i) ?>,0">
    368366                                    <attached>
     367                                        <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 />
    369368                                        <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/>
    370369                                        <MovableEntity    position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
     
    414413                                <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0">
    415414                                    <attached>
     415                                        <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 />
    416416                                        <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/>
    417417                                        <MovableEntity    position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
     
    461461                                <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0">
    462462                                    <attached>
     463                                        <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 />
    463464                                        <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/>
    464465                                        <MovableEntity    position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
     
    508509                                <MovableEntity position="<?lua print(1000-2000*i) ?>,0,<?lua print(-1000+2000*i) ?>">
    509510                                    <attached>
     511                                        <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 />
    510512                                        <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/>
    511513                                        <MovableEntity    position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
Note: See TracChangeset for help on using the changeset viewer.