Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2011, 2:22:22 PM (14 years ago)
Author:
smerkli
Message:

working on the presentation level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/levels/presentationFS11.oxw

    r8570 r8596  
    3838
    3939    <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"/>
    40     <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     40    <SpawnPoint team=0 position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    4141
    4242
     
    5555    <!-- BOUNDARIES AND PORTALS -->
    5656   
    57     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
    5857
    5958    <Template name=PortalDefault>
     
    6665
    6766    <PortalEndPoint position="350,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
    68     <PortalEndPoint position="-90300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
    69     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
    70     <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault"/>
    71     <PortalEndPoint position="0,10300,0" id="4" distance="40" target="MobileEntity" design="PortalDefault"/>
    72     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
     67    <PortalEndPoint position="-30300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     68
     69    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     70    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
    7371
    7472    <PortalLink fromID="1" toID="2" />
    7573    <PortalLink fromID="2" toID="1" />
    76     <PortalLink fromID="3" toID="4" />
    77     <PortalLink fromID="4" toID="3" />
    78 
    7974
    8075    <!-- MODELS, DEBRIS, ETC -->
    81 
    82     <Planet
    83       position="-5000,0,0"
    84       scale="400"
    85       collisionType="dynamic"
    86       linearDamping="0.8"
    87       angularDamping="0"
    88       mass="10000000"
    89       pitch="0"
    90       mesh="planets/muunilinst.mesh"
    91       atmosphere="atmosphere1"
    92       rotationaxis="1,0,0"
    93       rotationrate="1.0"
    94       atmospheresize="300.0f"
    95       imagesize="1024.0f"
    96     >
    97       <collisionShapes>
    98         <SphereCollisionShape radius="400" position="0,0,0" />
    99       </collisionShapes>
    100     </Planet>
    10176
    10277    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
     
    10984      mass="5.9e21"
    11085      pitch="-90"
     86      yaw="50"
    11187      mesh="planets/earth.mesh"
    11288      atmosphere="atmosphere1"
     
    128104    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
    129105    <Planet
    130       position="-30000,0,0"
    131       scale="8000"
     106      position="-15000,0,0"
     107      scale="4000"
    132108      collisionType="dynamic"
    133109      linearDamping="0.8"
     
    148124      </attached>
    149125      <collisionShapes>
    150         <SphereCollisionShape radius="17370" position="0,0,0" />
     126        <SphereCollisionShape radius="4000" position="0,0,0" />
    151127      </collisionShapes>
    152128    </Planet>
    153129
    154     <MovableEntity position="0,0,0">
    155       <attached>
    156         <Billboard position="-5000,0,0" material="Examples/Flare" colour="0, 0, 1" scale=10/>
    157       </attached>
    158     </MovableEntity>
    159130
    160     <Destroyer
    161       position          = "100,150,0"
    162       collisionType     = dynamic
    163       mass              = 100000
    164       velocity          = "0,0,0"
    165       angularDamping    = 0.9999999
    166       health            = 10000
    167       maxhealth         = 10000
    168       initialhealth     = 10000
    169     >
     131    <PickupSpawner position="-25,-50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
     132      <pickup>
     133        <ShrinkPickup template ="smallshrinkpickup"/>
     134      </pickup>
     135    </PickupSpawner>
    170136
    171       <attached>
    172         <Model mesh="Carrier.mesh" scale="5" />
    173         <Backlight
    174           mainstate=activity
    175           active=false
    176           scale=0.4
    177           name=bltest
    178           position=" 7.6, 0, 6"
    179           colour="0.2, 0.65, 1.0, 1.0"
    180           width=15
    181           length=1500
    182           lifetime=2
    183           elements=50
    184           trailmaterial="Trail/backlighttrail"
    185           turnontime=1
    186           turnofftime=1
    187           material="Flares/ThrusterFlare1"
    188         />
    189         <?lua for i=0,8,1 do ?>
    190           <BlinkingBillboard
    191             position="<?lua print(200-270/8*i)?> ,15,2"
    192             material="Examples/Flare"
    193             colour="1.0, 0.5, 0.3"
    194             phase="<?lua print(-360/8*i)?>"
    195             amplitude=0.1
    196             frequency=0.5
    197             quadratic=1
    198           />
    199 
    200           <BlinkingBillboard
    201             position="<?lua print(200-270/8*i)?>,-15,2"
    202             material="Examples/Flare"
    203             colour="1.0, 0.5, 0.3"
    204             phase="<?lua print(-360/8*i)?>"
    205             amplitude=0.1
    206             frequency=0.5
    207             quadratic=1
    208           />
    209         <?lua end ?>
    210 
    211         <Backlight
    212           scale=1
    213           position=" 169, 75, -15"
    214           colour="1, 0.85, 0.5, 0.5"
    215           width=40
    216           length=1000
    217           lifetime=5
    218           elements=15
    219           trailmaterial="Trail/backlighttrail"
    220           material="Examples/Flare"
    221         />
    222         <Backlight
    223           scale=1
    224           position=" 169, -75, -15"
    225           colour="1, 0.85, 0.5, 0.5"
    226           width=40
    227           length=1000
    228           lifetime=5
    229           elements=15
    230           trailmaterial="Trail/backlighttrail"
    231           material="Examples/Flare" />
    232       </attached>
    233       <collisionShapes>
    234         <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
    235         <BoxCollisionShape position="95,75,-16"     halfExtents="70, 10, 12" />
    236         <BoxCollisionShape position="95,-75,-16"    halfExtents="70, 10, 12" />
    237         <BoxCollisionShape position="77,47,30"      halfExtents="110, 2, 30" />
    238         <BoxCollisionShape position="77,-47,30"     halfExtents="110, 2, 30" />
    239         <BoxCollisionShape position="77,0,50"       halfExtents="110, 45, 6" />
    240         <BoxCollisionShape position="167,0,70"      halfExtents="17, 20, 20" />
    241       </collisionShapes>
    242     </Destroyer>
    243 
    244    
     137    <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
     138      <pickup>
     139        <ShrinkPickup template ="smallshrinkpickup"/>
     140      </pickup>
     141    </PickupSpawner>
    245142  </Scene>
    246143</Level>
Note: See TracChangeset for help on using the changeset viewer.