Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11910 for code/branches


Ignore:
Timestamp:
Apr 26, 2018, 3:56:12 PM (7 years ago)
Author:
varyo
Message:

minor changes to test multiplayer levels

Location:
code/branches/Masterserver_FS18/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Masterserver_FS18/data/levels/testMultiplayerLevel.oxw

    r11858 r11910  
    11<LevelInfo
    2  name = "00 Test Multiplayer level"
    3  description = "A level to test the multiplayer"
     2 name = "00 Team Multiplayer Level"
     3 description = "Team Deathmatch."
    44 tags = "test"
    5  screenshot = "emptylevel.png"
     5 screenshot = "teamdeathmatch.png"
    66/>
    7 
    87<?lua
    98  include("stats.oxo")
    109  include("HUDTemplates3.oxo")
    1110  include("templates/lodInformation.oxt")
    12   include("templates/spaceshipEscort.oxt")
     11  include("lastTeamStandingHUD.oxo")
     12  include("templates/spaceshipAssff.oxt")
    1313  include("templates/spaceshipPirate.oxt")
    14   include("templates/spaceshipAssff.oxt")
     14  include("templates/pickupRepresentationTemplates.oxt")
    1515?>
    1616
    1717<Level
    18  gametype = "TeamGametype"
     18 name         = "00 Team Multiplayer Level"
     19 description  = "testmap for gametype teamdeathmatch"
     20 gametype     =  "TeamDeathmatch"
    1921>
    2022  <templates>
     
    2527  <Scene
    2628    ambientlight = "0.8, 0.8, 0.8"
    27     skybox       = "Orxonox/Starbox"
     29    skybox       = "Orxonox/skyBoxBasic"
    2830  >
    2931
    30     <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"/>
     32    <?lua
     33      include("includes/pickups.oxi")
     34    ?>
     35   
     36    <WorldAmbientSound source="Nebula_metal.ogg" looping="true" playOnLoad="true" />
    3137
    32     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    33    
     38<Bot />
     39
     40<!-- ------------ middle asteroid -------------- -->
     41    <StaticEntity position="0,20,0" collisionType=static>
     42       <attached>
     43           <Model position="0,0,0" scale=140 mesh="asteroid_UV.mesh" shadow=true />
     44           <!-- ParticleEmitter position="0,0,0" source="Orxonox/Steam" / -->
     45       </attached>
     46      <collisionShapes>
     47        <SphereCollisionShape radius="145" />
     48      </collisionShapes>
     49    </StaticEntity>
     50
     51    <PickupSpawner pickup=hugeinvisiblepickup position="-160,60,17" triggerDistance="20" respawnTime="5" maxSpawnedItems="10" /><!--EasterEgg-->
     52    <StaticEntity position="-160,60,28.4"><!--EasterEgg-Indicator-->
     53      <attached>
     54        <Model position="0,0,0" scale=1 mesh="sphere.mesh" />
     55      </attached>
     56    </StaticEntity>
     57
     58<!-- ---------------asteroid dome----------------- -->
     59<?lua
     60max = 16
     61for i = 0, max, 1
     62do
     63    y = math.sin(i/max*6)*750
     64    z = math.cos(i/max*6)*750
     65    j = 1
     66    ?>
     67
     68    <TeamSpawnPoint team=0 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 />
     69    <TeamSpawnPoint team=1 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=spaceshippirate />
     70
     71    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
     72      <attached>
     73        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
     74        </Model>
     75      </attached>
     76      <collisionShapes>
     77        <BoxCollisionShape    halfExtents="<?lua print(j * 2) ?>,100,<?lua print(j * 2) ?>" position = "0,0,0" />
     78      </collisionShapes>
     79    </StaticEntity>
     80
     81    <StaticEntity position="<?lua print(y) ?>,100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
     82      <attached>
     83        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i+3,6) + 1) ?>.mesh">
     84        </Model>
     85      </attached>
     86      <collisionShapes>
     87        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
     88      </collisionShapes>
     89    </StaticEntity>
     90
     91    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
     92      <attached>
     93        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*5,6) + 1) ?>.mesh">
     94        </Model>
     95      </attached>
     96      <collisionShapes>
     97        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
     98      </collisionShapes>
     99    </StaticEntity>
     100
     101    <StaticEntity position="<?lua print(y) ?>,-100,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
     102      <attached>
     103        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*13+1,6) + 1) ?>.mesh">
     104        </Model>
     105      </attached>
     106      <collisionShapes>
     107        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
     108      </collisionShapes>
     109    </StaticEntity>
     110
     111    <StaticEntity position="<?lua print(y) ?>,-200,<?lua print(z) ?>" scale="<?lua print(j * 2) ?>" collisionType=static >
     112      <attached>
     113        <Model position="0,0,0" scale=15 mesh="ast<?lua print( math.mod(i*17,6) + 1) ?>.mesh">
     114        </Model>
     115      </attached>
     116      <collisionShapes>
     117        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
     118      </collisionShapes>
     119    </StaticEntity>
     120
     121<!-- ---------Top Asteroid----------- -->
     122    <StaticEntity position="<?lua print(y) ?>,300,<?lua print(z) ?>" scale="<?lua print(j * 2.1) ?>" pitch="90" roll="180" yaw="<?lua print(-90+i*360/max) ?>" collisionType=static >
     123      <attached>
     124        <Model position="0,0,0" scale=25 mesh="ast6.mesh">
     125        </Model>
     126      </attached>
     127      <collisionShapes>
     128        <BoxCollisionShape    halfExtents="50,140,30" position="0,0,0"/>
     129      </collisionShapes>
     130    </StaticEntity>
     131
     132
     133<?lua end ?>
     134
    34135  </Scene>
    35136</Level>
    36137
     138
  • code/branches/Masterserver_FS18/data/overlays/lastTeamStandingHUD.oxo

    r9348 r11910  
    22  <OverlayGroup name="lastTeamStandingHUD" scale = "1, 1">
    33    <LastTeamStandingInfos
    4      position  = "0.14, 0.02"
     4     position  = "0.5, 0.02"
    55     pickpoint = "0.0, 0.0"
    66     font      = "ShareTechMono"
     
    1414
    1515    <OverlayText
    16      position  = "0.02, 0.02"
     16     position  = "0.38, 0.02"
    1717     pickpoint = "0.0, 0.0"
    1818     font      = "ShareTechMono"
     
    2424
    2525    <OverlayText
    26      position  = "0.02, 0.055"
     26     position  = "0.38, 0.055"
    2727     pickpoint = "0.0, 0.0"
    2828     font      = "ShareTechMono"
     
    3434
    3535    <LastTeamStandingInfos
    36      position  = "0.14, 0.055"
     36     position  = "0.5, 0.055"
    3737     pickpoint = "0.0, 0.0"
    3838     font      = "ShareTechMono"
Note: See TracChangeset for help on using the changeset viewer.