Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2010, 10:34:07 PM (14 years ago)
Author:
jo
Message:

Various successful changes. But the part I commented out in punishPlayer(PlayerInfo* player) causes crashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/data/levels/gametype_lastmanstanding.oxw

    r7603 r7605  
    66  include("templates/spaceship_assff.oxt")
    77  include("templates/spaceship_pirate.oxt")
     8  include("templates/pickup_representation_templates.oxt")
    89?>
    910
     
    2122    skybox       = "Orxonox/skypanoramagen1"
    2223  >
    23 <!----- Spawnpoints ----->
     24
     25    <?lua
     26      include("includes/pickups.oxi")
     27    ?>
     28
     29<!----- Spawnpoints
    2430    <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"/>
    2531    <SpawnPoint team=0 position="-1150,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     
    2834    <SpawnPoint team=0 position="700,0,-700" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    2935    <SpawnPoint team=0 position="0,0,-1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    30     <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     36    <SpawnPoint team=0 position="0,0,1150" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> ----->
    3137<Bot />
    3238
     
    4147      </collisionShapes>
    4248    </StaticEntity>
    43 <!--StaticEntity position="0,0,0" collisionType=static>
    44       <collisionShapes>
    45         <SphereCollisionShape radius="145" />
    46       </collisionShapes>
    47     </StaticEntity-->
     49
     50    <PickupSpawner position="-160,65,10" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"><!--EasterEgg-->
     51      <pickup>
     52        <InvisiblePickup template=mediuminvisiblepickup />
     53      </pickup>
     54    </PickupSpawner>
     55    <PickupSpawner position="-160,60,17" triggerDistance="10" respawnTime="5" maxSpawnedItems="10"><!--EasterEgg-->
     56      <pickup>
     57        <InvisiblePickup template=hugeinvisiblepickup />
     58      </pickup>
     59    </PickupSpawner>
     60    <StaticEntity position="-160,60,28.4"><!--EasterEgg-Indicator-->
     61      <attached>
     62        <Model position="0,0,0" scale=1 mesh="sphere.mesh" />
     63      </attached>
     64    </StaticEntity>
    4865
    4966<!-- ---------------asteroid dome----------------- -->
     
    5471    y = math.sin(i/max*6)*750
    5572    z = math.cos(i/max*6)*750
    56     x = i*10
    5773    ?>
    5874<?lua
     
    6278?>
    6379
    64 
    65     <!--SpawnPoint team=0 position="<?lua print(y*1.4) ?>,0,<?lua print(z*1.4) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
     80    <SpawnPoint team=0 position="<?lua print(y*1.4+z*0.2) ?>,0,<?lua print(z*1.4-y*0.2) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    6681
    6782    <StaticEntity position="<?lua print(y) ?>,0,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> collisionType=static >
     
    8398        <BoxCollisionShape    halfExtents="45,100,45" position = "0,0,0" />
    8499      </collisionShapes>
    85     </StaticEntity>#
     100    </StaticEntity>
    86101
    87102    <StaticEntity position="<?lua print(y) ?>,200,<?lua print(z) ?>" scale=<?lua print(j * 2) ?> collisionType=static >
     
    116131
    117132<!-- ---------Top Asteroid----------- -->
    118 
    119133    <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 >
    120134      <attached>
     
    128142
    129143
    130 
    131144<?lua
    132145end
     
    134147<?lua end ?>
    135148
    136 
    137 
    138 
    139149  </Scene>
    140150</Level>
Note: See TracChangeset for help on using the changeset viewer.