Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2015, 2:26:37 PM (9 years ago)
Author:
bhatiab
Message:

Added a planet with a ring

File:
1 edited

Legend:

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

    r10740 r10741  
    566566    ?>
    567567
     568
     569    <Planet
     570        position="5000,0,0"
     571        scale="1000"
     572        collisionType="dynamic"
     573        linearDamping="0.8"
     574        angularDamping="0"
     575        mass="5000000"
     576        pitch="0"
     577        mesh="planets/muunilinst.mesh"
     578        atmosphere="atmosphere1"
     579        rotationaxis="1,0,0"
     580        rotationrate="1.0"
     581        atmospheresize="80.0f"
     582        imagesize="1024.0f"
     583        collisiondamage = 2
     584        enablecollisiondamage = true
     585      >
     586      <attached>
     587        <ForceField position="0,0,0" mode="sphere" diameter="2000" velocity="-500" />
     588        </attached>
     589          <collisionShapes>
     590            <SphereCollisionShape radius="1000" position="0,0,0" />
     591      </collisionShapes>
     592    </Planet>
     593
     594    <?lua
     595        dofile("includes/asteroidField.lua")
     596        asteroidBelt(5000, 0, 0, 30, 0, 30, 5, 10, 1400, 1500, 200, 1)
     597    ?>
     598
    568599    <!-- Enemies. Outer loop defines waves, inner loop defines enemies in every wave. -->
    569600    <?lua
Note: See TracChangeset for help on using the changeset viewer.