Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 6:05:17 PM (6 years ago)
Author:
remartin
Message:

SpicedAsteroidBelt erstellt, kosmetische Veränderungen. Offener Punkt um velocity, ansonsten fehlt nur noch das dokumentieren.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AsteroidMining_HS17/data/levels/AsteroidFarming.oxw

    r11646 r11664  
    1818?>
    1919
     20
    2021<WorldAmbientSound source="Asteroid_rocks.ogg" looping="true" playOnLoad="true" />
     22
    2123
    2224<Level>
     
    3234    hasPhysics = true
    3335  >
     36
    3437
    3538  <?lua
     
    102105    <AsteroidMinable size=30 position="-100, -500, -100" velocity= "0, -30, 0"/>
    103106
    104     <!--- SpicedAsteroidField --->
    105     <SpicedAsteroidField count=30 mDensity= 0.5 maxSize=40 minSize=1 position="5000, 0, 0" radius=1000/>
     107    <!--- SpicedAsteroidField -->
     108    <SpicedAsteroidField count=30 mDensity= 0.5 maxSize=40 minSize=1 position="5000, 0, 0" radius=1000 velocity="-100,0,0"/>
     109
     110
     111    <!-- Asteroid Belt with a planet -->
     112    <SpicedAsteroidBelt position="-15000,0,0" mDensity=0.3 yaw=90 pitch=90 roll=90 segments=30 minSize=1 maxSize=50 radius0=7190 radius1 = 7800 count=250/>
     113    <Planet
     114      position="-15000,0,0"
     115      scale="5000"
     116      collisionType="dynamic"
     117      linearDamping="0.8"
     118      angularDamping="0"
     119      mass="10000000"
     120      pitch="0"
     121      mesh="planets/muunilinst.mesh"
     122      atmosphere="atmosphere1"
     123      rotationaxis="1,0,0"
     124      rotationrate="1.0"
     125      atmospheresize="80.0f"
     126      imagesize="1024.0f"
     127      collisiondamage = 2
     128      enablecollisiondamage = true
     129    >     
     130      <attached>
     131        <ForceField position="5000,0,0" mode="sphere" diameter="10000" velocity="-50" />
     132      </attached>
     133      <collisionShapes>
     134        <SphereCollisionShape radius="5000" position="0,0,0" />
     135      </collisionShapes>
     136    </Planet>
     137
     138
    106139
    107140
Note: See TracChangeset for help on using the changeset viewer.