Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 21, 2018, 12:03:52 AM (6 years ago)
Author:
landauf
Message:

merged ogre1.9 (including cegui0.8) into new branch

Location:
code/branches/cegui0.8_ogre1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9

  • code/branches/cegui0.8_ogre1.9/data/levels/shuttleRetaliation.oxw

    r11104 r11795  
    880880    <!-- Planets -->
    881881
    882    <Planet
     882    <MovableEntity
    883883        position="<?lua printC(cPlanet1) ?>"
    884884        scale="3000"
     
    888888        mass="5000000"
    889889        pitch="0"
    890         mesh="planets/muunilinst.mesh"
    891         atmosphere="atmosphere1"
    892890        rotationaxis="1,0,0"
    893891        rotationrate="1.0"
    894         atmospheresize="80.0f"
    895         imagesize="1024.0f"
    896892        collisiondamage = 2
    897893        enablecollisiondamage = true
    898     visible=true
    899     active=true
    900       >
     894    >
    901895      <attached>
    902         <ForceField position="0,0,0" mode="sphere" diameter="6000" velocity="-500" />
    903         </attached>
    904         <collisionShapes>
    905             <SphereCollisionShape radius="3000" position="0,0,0" />
     896        <Planet
     897            mesh="planets/muunilinst.mesh"
     898            atmosphere="atmosphere1"
     899            atmospheresize="80.0f"
     900            imagesize="1024.0f"
     901            visible=true
     902            active=true
     903        >
     904          <attached>
     905            <ForceField position="0,0,0" mode="sphere" diameter="6000" velocity="-500" />
     906          </attached>
     907        </Planet>
     908      </attached>
     909      <collisionShapes>
     910        <SphereCollisionShape radius="3000" position="0,0,0" />
    906911      </collisionShapes>
    907     </Planet>
     912    </MovableEntity>
    908913
    909914    <?lua
     
    912917    ?>
    913918
    914     <Planet
     919    <MovableEntity
    915920        position="<?lua printC(cPlanet2) ?>"
    916921        scale="2000"
     
    920925        mass="5000000"
    921926        pitch="0"
    922         mesh="planets/ganymede.mesh"
    923         atmosphere="atmosphere1"
    924927        rotationaxis="1,0,0"
    925928        rotationrate="1.0"
    926         atmospheresize="80.0f"
    927         imagesize="1024.0f"
    928929        collisiondamage = 2
    929930        enablecollisiondamage = true
    930         visible=true
    931         active=true
    932       >
     931    >
    933932      <attached>
    934         <ForceField position="0,0,0" mode="sphere" diameter="4000" velocity="-500" />
    935         </attached>
    936           <collisionShapes>
    937             <SphereCollisionShape radius="2000" position="0,0,0" />
     933        <Planet
     934            mesh="planets/ganymede.mesh"
     935            atmosphere="atmosphere1"
     936            atmospheresize="80.0f"
     937            imagesize="1024.0f"
     938            visible=true
     939            active=true
     940        >
     941          <attached>
     942            <ForceField position="0,0,0" mode="sphere" diameter="4000" velocity="-500" />
     943          </attached>
     944        </Planet>
     945      </attached>
     946      <collisionShapes>
     947        <SphereCollisionShape radius="2000" position="0,0,0" />
    938948      </collisionShapes>
    939     </Planet>
     949    </MovableEntity>
    940950
    941951    <?lua
     
    946956    <!-- EnemyPlanet -->
    947957
    948     <Planet
     958    <MovableEntity
    949959        position="<?lua printC(cEnemyBasePlanet) ?>"
    950960        scale="5000"
     
    954964        mass="5000000"
    955965        pitch="0"
    956         mesh="planets/jupiter.mesh"
    957         atmosphere="atmosphere1"
    958966        rotationaxis="1,0,0"
    959967        rotationrate="1.0"
    960         atmospheresize="80.0f"
    961         imagesize="1024.0f"
    962968        collisiondamage = 2
    963969        enablecollisiondamage = true
    964         visible=false
    965         active=false
    966970    >
    967         <attached>
     971      <attached>
     972        <Planet
     973            mesh="planets/jupiter.mesh"
     974            atmosphere="atmosphere1"
     975            atmospheresize="80.0f"
     976            imagesize="1024.0f"
     977            visible=false
     978            active=false
     979        >
     980          <attached>
    968981           <ForceField position="0,0,0" rotationaxis="0.1,1,0.1"mode="sphere" diameter="10000" velocity="-500" />
    969         </attached>
    970         <events>
     982          </attached>
     983          <events>
    971984            <activity>
    972985                <Trigger  name="enemyPlanetVisible" mode=and>
     
    10051018                 </Trigger>
    10061019            </visibility>
    1007         </events>
    1008         <collisionShapes>
    1009           <SphereCollisionShape position="0,0,0" radius=5000/>
    1010         </collisionShapes>
    1011     </Planet>
     1020          </events>
     1021        </Planet>
     1022      </attached>
     1023      <collisionShapes>
     1024        <SphereCollisionShape position="0,0,0" radius=5000/>
     1025      </collisionShapes>
     1026    </MovableEntity>
    10121027
    10131028    <!-- Pawn that represents the planet during destruction -->
Note: See TracChangeset for help on using the changeset viewer.