Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8465


Ignore:
Timestamp:
May 12, 2011, 4:00:07 PM (14 years ago)
Author:
smerkli
Message:

worked on the presentation level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/presentationFS11.oxw

    r8462 r8465  
    1616?>
    1717
     18<?lua
     19include("templates/pickupRepresentationTemplates.oxt")
     20?>
     21
    1822<Level
    1923 name         = "Sample"
     
    2933  >
    3034
     35    <?lua
     36      include("includes/pickups.oxi")
     37    ?>
    3138
    3239    <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"/>
    3340    <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     41
     42
     43    <!-- PICKUPS -->
     44    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     45      <pickup>
     46        <DronePickup template=dronepickup />
     47      </pickup>
     48    </PickupSpawner>
     49
     50   
     51    <!-- BOUNDARIES AND PORTALS -->
    3452   
    3553    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     
    4866    <PortalLink fromID="1" toID="2" />
    4967    <PortalLink fromID="2" toID="1" />
     68
     69
     70
     71    <!-- MODELS, DEBRIS, ETC -->
     72
     73    <Planet
     74      position="-5000,0,0"
     75      scale="400"
     76      collisionType="dynamic"
     77      linearDamping="0.8"
     78      angularDamping="0"
     79      mass="10000000"
     80      pitch="0"
     81      mesh="planets/muunilinst.mesh"
     82      atmosphere="atmosphere1"
     83      rotationaxis="1,0,0"
     84      rotationrate="1.0"
     85      atmospheresize="300.0f"
     86      imagesize="1024.0f"
     87    >
     88      <collisionShapes>
     89        <SphereCollisionShape radius="400" position="0,0,0" />
     90      </collisionShapes>
     91    </Planet>
     92
     93    <MovableEntity position="0,0,0">
     94      <attached>
     95        <Billboard position="-5000,0,0" material="Examples/Flare" colour="0, 0, 1" scale=10/>
     96      </attached>
     97    </MovableEntity>
     98
    5099   
    51100  </Scene>
Note: See TracChangeset for help on using the changeset viewer.