Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8512


Ignore:
Timestamp:
May 19, 2011, 4:13:10 PM (13 years ago)
Author:
smerkli
Message:

changed presentation level a little

File:
1 edited

Legend:

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

    r8465 r8512  
    3030  <Scene
    3131    ambientlight = "0.8, 0.8, 0.8"
    32     skybox       = "Orxonox/Starbox"
     32    skybox       = "Orxonox/skyboxempty"
    3333  >
    3434
     
    5252   
    5353    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
    54     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-10000,0,0"/>
    5554
    5655    <Template name=PortalDefault>
     
    6362
    6463    <PortalEndPoint position="350,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
    65     <PortalEndPoint position="-10300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     64    <PortalEndPoint position="-90300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     65    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
     66    <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault"/>
     67    <PortalEndPoint position="0,10300,0" id="4" distance="40" target="MobileEntity" design="PortalDefault"/>
     68    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
     69
    6670    <PortalLink fromID="1" toID="2" />
    6771    <PortalLink fromID="2" toID="1" />
    68 
     72    <PortalLink fromID="3" toID="4" />
     73    <PortalLink fromID="4" toID="3" />
    6974
    7075
     
    9196    </Planet>
    9297
     98    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
     99    <Planet
     100      position="70500,0,0"
     101      scale="63000"
     102      collisionType="dynamic"
     103      linearDamping="0.8"
     104      angularDamping="0"
     105      mass="5.9e21"
     106      pitch="0"
     107      mesh="planets/earth.mesh"
     108      atmosphere="atmosphere1"
     109      rotationaxis="0,1,0"
     110      rotationrate="0.2"
     111      atmospheresize="80.0f"
     112      imagesize="1024.0f"
     113      collisiondamage = 2
     114      enablecollisiondamage = true
     115    >
     116      <attached>
     117        <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
     118      </attached>
     119      <collisionShapes>
     120        <SphereCollisionShape radius="63000" position="0,0,0" />
     121      </collisionShapes>
     122    </Planet>
     123
     124    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
     125    <Planet
     126      position="-30000,0,0"
     127      scale="17370"
     128      collisionType="dynamic"
     129      linearDamping="0.8"
     130      angularDamping="0"
     131      mass="7.36e19"
     132      pitch="0"
     133      mesh="planets/moon.mesh"
     134      atmosphere="atmosphere1"
     135      rotationaxis="0,1,0"
     136      rotationrate="0.2"
     137      atmospheresize="80.0f"
     138      imagesize="1024.0f"
     139      collisiondamage = 2
     140      enablecollisiondamage = true
     141    >
     142      <attached>
     143        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
     144      </attached>
     145      <collisionShapes>
     146        <SphereCollisionShape radius="17370" position="0,0,0" />
     147      </collisionShapes>
     148    </Planet>
     149
    93150    <MovableEntity position="0,0,0">
    94151      <attached>
     
    96153      </attached>
    97154    </MovableEntity>
     155
     156    <Destroyer
     157      position          = "100,150,0"
     158      collisionType     = dynamic
     159      mass              = 100000
     160      velocity          = "0,0,0"
     161      angularDamping    = 0.9999999
     162      health            = 10000
     163      maxhealth         = 10000
     164      initialhealth     = 10000
     165    >
     166
     167      <attached>
     168        <Model mesh="Carrier.mesh" scale="5" />
     169        <Backlight
     170          mainstate=activity
     171          active=false
     172          scale=0.4
     173          name=bltest
     174          position=" 7.6, 0, 6"
     175          colour="0.2, 0.65, 1.0, 1.0"
     176          width=15
     177          length=1500
     178          lifetime=2
     179          elements=50
     180          trailmaterial="Trail/backlighttrail"
     181          turnontime=1
     182          turnofftime=1
     183          material="Flares/ThrusterFlare1"
     184        />
     185        <?lua for i=0,8,1 do ?>
     186          <BlinkingBillboard
     187            position="<?lua print(200-270/8*i)?> ,15,2"
     188            material="Examples/Flare"
     189            colour="1.0, 0.5, 0.3"
     190            phase="<?lua print(-360/8*i)?>"
     191            amplitude=0.1
     192            frequency=0.5
     193            quadratic=1
     194          />
     195
     196          <BlinkingBillboard
     197            position="<?lua print(200-270/8*i)?>,-15,2"
     198            material="Examples/Flare"
     199            colour="1.0, 0.5, 0.3"
     200            phase="<?lua print(-360/8*i)?>"
     201            amplitude=0.1
     202            frequency=0.5
     203            quadratic=1
     204          />
     205        <?lua end ?>
     206
     207        <Backlight
     208          scale=1
     209          position=" 169, 75, -15"
     210          colour="1, 0.85, 0.5, 0.5"
     211          width=40
     212          length=1000
     213          lifetime=5
     214          elements=15
     215          trailmaterial="Trail/backlighttrail"
     216          material="Examples/Flare"
     217        />
     218        <Backlight
     219          scale=1
     220          position=" 169, -75, -15"
     221          colour="1, 0.85, 0.5, 0.5"
     222          width=40
     223          length=1000
     224          lifetime=5
     225          elements=15
     226          trailmaterial="Trail/backlighttrail"
     227          material="Examples/Flare" />
     228      </attached>
     229      <collisionShapes>
     230        <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
     231        <BoxCollisionShape position="95,75,-16"     halfExtents="70, 10, 12" />
     232        <BoxCollisionShape position="95,-75,-16"    halfExtents="70, 10, 12" />
     233        <BoxCollisionShape position="77,47,30"      halfExtents="110, 2, 30" />
     234        <BoxCollisionShape position="77,-47,30"     halfExtents="110, 2, 30" />
     235        <BoxCollisionShape position="77,0,50"       halfExtents="110, 45, 6" />
     236        <BoxCollisionShape position="167,0,70"      halfExtents="17, 20, 20" />
     237      </collisionShapes>
     238    </Destroyer>
    98239
    99240   
Note: See TracChangeset for help on using the changeset viewer.