Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10749


Ignore:
Timestamp:
Nov 2, 2015, 2:25:06 PM (9 years ago)
Author:
bhatiab
Message:

Added planets, changed skybox, fixed asteroids, changed starting spaceschip, removed unneccessary code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10748 r10749  
    1010    include("HUDTemplates3.oxo")
    1111    include("templates/lodInformation.oxt")
    12 ?>
    13 
    14 <?lua
     12
    1513    include("templates/spaceshipAssff2.oxt")
    1614    include("templates/spaceshipPirate.oxt")
    1715    include("templates/spaceshipEscort.oxt")
    18     include("templates/spaceshipRing.oxt")
    19     include("templates/spaceshipSwallow.oxt")
    2016    include("templates/spaceshipTransporter.oxt")
    2117    include("templates/FPS.oxt")
     
    5046    <Scene
    5147        ambientlight = "0.8, 0.8, 0.8"
    52         skybox = "Orxonox/Starbox"
     48        skybox = "Orxonox/skyBoxMoreNebula"
    5349        hasPhysics = true
    5450    >
    5551
    56     <SpawnPoint name="playerSpawn" team=0 position="0,-50,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
     52    <SpawnPoint name="playerSpawn" team=0 position="0,-50,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    5753
    5854    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
     
    572568    </StaticEntity>
    573569
    574     <ForceField position="0,-2300,1001" direction="0,0,1" mode="homogen" diameter="400" forcedirection = "0,0,-500" />
    575 
    576570    <!--ELEMENTS -->
    577571
    578572    <?lua
    579573        dofile("includes/asteroidField.lua")
    580         asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0)
     574       asteroidField(2500, 400, 0, 20, 30, 2200, 250, 0)
     575    ?>
     576
     577    <?lua
     578        dofile("includes/asteroidField.lua")
     579       asteroidField(-2500, 400, 0, 20, 30, 2200, 250, 0)
    581580    ?>
    582581
    583582    <Planet
    584         position="5000,0,0"
    585         scale="1000"
     583        position="15000,8000,-2000"
     584        scale="2000"
    586585        collisionType="dynamic"
    587586        linearDamping="0.8"
     
    599598      >
    600599      <attached>
    601         <ForceField position="0,0,0" mode="sphere" diameter="2000" velocity="-500" />
     600        <ForceField position="0,0,0" mode="sphere" diameter="4000" velocity="-500" />
    602601        </attached>
    603602          <collisionShapes>
    604             <SphereCollisionShape radius="1000" position="0,0,0" />
     603            <SphereCollisionShape radius="2000" position="0,0,0" />
    605604      </collisionShapes>
    606605    </Planet>
     
    608607    <?lua
    609608        dofile("includes/asteroidField.lua")
    610         asteroidBelt(5000, 0, 0, 30, 0, 30, 5, 10, 1400, 1500, 200, 1)
     609        asteroidBelt(15000, 8000, -2000, 30, 0, 30, 20, 40, 2800, 3000, 200, 1)
     610    ?>
     611
     612    <Planet
     613        position="-1000,-20000,4000"
     614        scale="3000"
     615        collisionType="dynamic"
     616        linearDamping="0.8"
     617        angularDamping="0"
     618        mass="5000000"
     619        pitch="0"
     620        mesh="planets/planet3.mesh"
     621        atmosphere="atmosphere1"
     622        rotationaxis="1,0,0"
     623        rotationrate="1.0"
     624        atmospheresize="80.0f"
     625        imagesize="1024.0f"
     626        collisiondamage = 2
     627        enablecollisiondamage = true
     628      >
     629      <attached>
     630        <ForceField position="0,0,0" mode="sphere" diameter="6000" velocity="-500" />
     631        </attached>
     632          <collisionShapes>
     633            <SphereCollisionShape radius="3000" position="0,0,0" />
     634      </collisionShapes>
     635    </Planet>
     636
     637    <?lua
     638        dofile("includes/asteroidField.lua")
     639        asteroidBelt(-1000, -20000, 4000, 30, 20, 100, 20, 40, 3400, 3700, 400, 1)
    611640    ?>
    612641
Note: See TracChangeset for help on using the changeset viewer.