Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 3, 2011, 1:03:40 PM (14 years ago)
Author:
jo
Message:

Level enhancement. Several forcefields + proper spawnpoints added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding3/data/levels/TEAMstanding.oxw

    r8165 r8171  
    1717 name         = "TEAMstanding"
    1818 description  = "testmap for gametype last team standing"
    19  gametype     =  "TeamDeathmatch"
     19 gametype     =  "LastTeamStanding"
    2020>
    2121  <templates>
     
    9393       </collisionShapes>
    9494   </StaticEntity>
    95 
    96 <!-------------- Thin Gate -------------->
     95<!-- END of CUBE-->
     96<!-------------- Centered Thin Gate -------------->
    9797
    9898   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
     
    113113   <MovableEntity position="0,270,-80" direction="-3,-4,-3">
    114114       <attached>
    115            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/>
     115           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     116           <?lua for i=0,4,1 do ?>
     117               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     118           <?lua end ?>
     119       </attached>
     120   </MovableEntity>
     121<!-- to bulk gate, left -->
     122   <ForceField position="0,-275,-80" direction="3,0,2" diameter=150 velocity=2000 length=900 />
     123   <MovableEntity position="0,-275,-80" direction="3,0,2">
     124       <attached>
     125           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
    116126           <?lua for i=0,4,1 do ?>
    117127               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     
    137147       </collisionShapes>
    138148   </StaticEntity>
    139 
     149<!-- back to thin gate -->
     150   <ForceField position="300,0,650" direction="1,1.5,-4" diameter=150 velocity=2000 length=900 />
     151   <MovableEntity position="300,0,650" direction="1,1.5,-4">
     152       <attached>
     153           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     154           <?lua for i=0,4,1 do ?>
     155               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     156           <?lua end ?>
     157       </attached>
     158   </MovableEntity>
     159<!-- to thin gate -->
    140160   <ForceField position="300,300,500" direction="-1,0,-2" diameter=100 velocity=1500 length=900 />
    141161   <MovableEntity position="300,300,500" direction="-1,0,-2">
    142162       <attached>
    143            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/>
     163           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     164           <?lua for i=0,4,1 do ?>
     165               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     166           <?lua end ?>
     167       </attached>
     168   </MovableEntity>
     169<!-- alternative stream -->
     170   <ForceField position="830,-300,830" direction="-1,0,0" diameter=150 velocity=2000 length=900 />
     171   <MovableEntity position="830,-300,830" direction="-1,0,0">
     172       <attached>
     173           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     174           <?lua for i=0,4,1 do ?>
     175               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     176           <?lua end ?>
     177       </attached>
     178   </MovableEntity>
     179<!-- alternative stream II-->
     180   <ForceField position="830,350,830" direction="0,0,-1" diameter=150 velocity=2000 length=900 />
     181   <MovableEntity position="830,350,830" direction="0,0,-1">
     182       <attached>
     183           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
    144184           <?lua for i=0,4,1 do ?>
    145185               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     
    160200       </collisionShapes>
    161201   </StaticEntity>
    162 
    163    <ForceField position="-700,-300,-700" direction="0,1,0" diameter=100 velocity=2000 length=900 />
     202<!-- "lift" -->
     203   <ForceField position="-700,-300,-700" direction="0,1,0" diameter=100 velocity=2000 length=400 />
    164204   <MovableEntity position="-700,-300,-700" direction="0,1,0">
    165205       <attached>
    166            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/>
     206           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     207           <?lua for i=0,4,1 do ?>
     208               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     209           <?lua end ?>
     210       </attached>
     211   </MovableEntity>
     212<!-- to thin gate, low -->
     213   <ForceField position="0,60,-830" direction="0,-1,2" diameter=150 velocity=2000 length=900 />
     214   <MovableEntity position="0,60,-830" direction="0,-1,2">
     215       <attached>
     216           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     217           <?lua for i=0,4,1 do ?>
     218               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     219           <?lua end ?>
     220       </attached>
     221   </MovableEntity>
     222<!-- alternative stream -->
     223   <ForceField position="-830,-350,-830" direction="2,0,0" diameter=100 velocity=2000 length=900 />
     224   <MovableEntity position="-830,-350,-830" direction="2,0,0">
     225       <attached>
     226           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     227           <?lua for i=0,4,1 do ?>
     228               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     229           <?lua end ?>
     230       </attached>
     231   </MovableEntity>
     232<!-- alternative stream II-->
     233   <ForceField position="-870,350,-830" direction="0,0,1" diameter=150 velocity=2000 length=900 />
     234   <MovableEntity position="-870,350,-830" direction="0,0,1">
     235       <attached>
     236           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
    167237           <?lua for i=0,4,1 do ?>
    168238               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     
    188258       </collisionShapes>
    189259   </StaticEntity>
     260<!-- to solar panels -->
     261   <ForceField position="-850,-300,-200" direction="1,0,2" diameter=150 velocity=2000 length=900 />
     262   <MovableEntity position="-850,-300,-200" direction="1,0,2">
     263       <attached>
     264           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     265           <?lua for i=0,4,1 do ?>
     266               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     267           <?lua end ?>
     268       </attached>
     269   </MovableEntity>
     270<!-- along the bar -->
     271   <ForceField position="-900,50,-100" direction="1,0,-1" diameter=150 velocity=2000 length=900 />
     272   <MovableEntity position="-900,50,-100" direction="1,0,-1">
     273       <attached>
     274           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     275           <?lua for i=0,4,1 do ?>
     276               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     277           <?lua end ?>
     278       </attached>
     279   </MovableEntity>
    190280
    191281<!-------------- 3 Solar Panels --------------->
     
    207297<?lua end ?>
    208298
    209 <!-------------- ???? --------------->
    210    <StaticEntity position="500,0,-500" direction="0,0,0" collisionType=static mass=100000 >
    211        <attached>
    212            <Model position="0,0,0" mesh="plane.mesh" scale=20  pitch="7" roll="0" yaw="0"/>
    213        </attached>
    214        <!--collisionShapes>
    215            <BoxCollisionShape position="0,0,0" halfExtents="20,400,20" pitch="0" roll="0" yaw="0"/>
    216        </collisionShapes-->
    217    </StaticEntity>
    218 
    219 
    220 <?lua
    221 max = 16
    222 for i = 0, max, 1
    223 do
    224     y = math.sin(i/max*6)*500
    225     z = math.cos(i/max*6)*500
    226     j = 1
    227 ?>
    228 
    229     <TeamSpawnPoint team=<?lua print( math.mod(i,4)) ?> position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" direction="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    230 
    231 <?lua end ?>
     299   <ForceField position="-600,100,400" direction="0,-1,-3" diameter=100 velocity=2000 length=900 />
     300   <MovableEntity position="-600,100,400" direction="0,-1,-3">
     301       <attached>
     302           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     303           <?lua for i=0,4,1 do ?>
     304               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     305           <?lua end ?>
     306       </attached>
     307   </MovableEntity>
     308<!-- alternative stream -->
     309   <ForceField position="-830,-100,830" direction="0,0,-1" diameter=100 velocity=2000 length=900 />
     310   <MovableEntity position="-830,-100,830" direction="0,0,-1">
     311       <attached>
     312           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     313           <?lua for i=0,4,1 do ?>
     314               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     315           <?lua end ?>
     316       </attached>
     317   </MovableEntity>
     318<!-- alternative stream II -->
     319   <ForceField position="-830,350,830" direction="1,0,0" diameter=100 velocity=2000 length=900 />
     320   <MovableEntity position="-830,350,830" direction="1,0,0">
     321       <attached>
     322           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     323           <?lua for i=0,4,1 do ?>
     324               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     325           <?lua end ?>
     326       </attached>
     327   </MovableEntity>
     328<!-- along the panels -->
     329   <ForceField position="-830,250,250" direction="3,0,2" diameter=100 velocity=2000 length=900 />
     330   <MovableEntity position="-830,250,250" direction="3,0,2">
     331       <attached>
     332           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     333           <?lua for i=0,4,1 do ?>
     334               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     335           <?lua end ?>
     336       </attached>
     337   </MovableEntity>
     338
     339<!-------------- Thin Gate -------------->
     340
     341   <StaticEntity position="500,0,-500" direction="1,0,-1" collisionType=static mass=100000 >
     342       <attached>
     343           <Model position="0,-1200,0" mesh="hs-w01.mesh" scale3D="300,400,900" pitch="90" roll="0" yaw="0"/>
     344           <Model position="0,100,-80" scale=150 mesh="sphere.mesh" />
     345       </attached>
     346       <collisionShapes>
     347           <BoxCollisionShape position="121,0,-80" halfExtents="18,400,18" />
     348           <BoxCollisionShape position="-121,0,-80" halfExtents="18,400,18" />
     349           <SphereCollisionShape position="0,100,-80" radius="150" />
     350       </collisionShapes>
     351   </StaticEntity>
     352<!-- to thin gate middle -->
     353   <ForceField position="550,350,-550" direction="-3.3,0,3" diameter=100 velocity=2000 length=900 />
     354   <MovableEntity position="550,350,-550" direction="-3.3,0,3">
     355       <attached>
     356           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     357           <?lua for i=0,4,1 do ?>
     358               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     359           <?lua end ?>
     360       </attached>
     361   </MovableEntity>
     362<!-- alternative stream -->
     363   <ForceField position="830,-350,-830" direction="0,0,1" diameter=100 velocity=2000 length=900 />
     364   <MovableEntity position="830,-350,-830" direction="0,0,1">
     365       <attached>
     366           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     367           <?lua for i=0,4,1 do ?>
     368               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     369           <?lua end ?>
     370       </attached>
     371   </MovableEntity>
     372<!-- alternative stream II -->
     373   <ForceField position="830,350,-830" direction="-1,0,0" diameter=100 velocity=2000 length=900 />
     374   <MovableEntity position="830,350,-830" direction="-1,0,0">
     375       <attached>
     376           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
     377           <?lua for i=0,4,1 do ?>
     378               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
     379           <?lua end ?>
     380       </attached>
     381   </MovableEntity>
     382
     383<!---------------- Spawnpoints ------------------>
     384    <TeamSpawnPoint team=0 position="845,350,-835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     385    <TeamSpawnPoint team=0 position="845,-350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     386    <TeamSpawnPoint team=0 position="835,350,-845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     387    <TeamSpawnPoint team=0 position="835,-350,-845" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     388
     389    <TeamSpawnPoint team=1 position="-845,350,835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     390    <TeamSpawnPoint team=1 position="-845,-100,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     391    <TeamSpawnPoint team=1 position="-835,350,845" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     392    <TeamSpawnPoint team=1 position="-835,-100,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     393
     394    <TeamSpawnPoint team=2 position="-870,350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     395    <TeamSpawnPoint team=2 position="-840,-350,-835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     396    <TeamSpawnPoint team=2 position="-865,350,-840" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     397    <TeamSpawnPoint team=2 position="-835,-350,-840" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     398
     399    <TeamSpawnPoint team=3 position="835,350,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     400    <TeamSpawnPoint team=3 position="835,-300,845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     401    <TeamSpawnPoint team=3 position="845,350,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
     402    <TeamSpawnPoint team=3 position="845,-300,835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     403<Bot />
    232404
    233405  </Scene>
Note: See TracChangeset for help on using the changeset viewer.