Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11508


Ignore:
Timestamp:
Oct 23, 2017, 4:13:00 PM (7 years ago)
Author:
remartin
Message:

Started cobbling together the class 'AsteroidMining'. Adapted the mesh of a crate in AsteroidFarming.oxw → destructible asteroid!

Location:
code/branches/AsteroidMining_HS17
Files:
2 added
2 edited

Legend:

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

    r11492 r11508  
    5656
    5757
     58    <!-- @Objects: 4 boxes (uncontrolled pawns) Trying to understand the pickup generation-->
     59    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
     60        <events>
     61          <visibility>
     62            <EventListener event="flying4" />
     63          </visibility>
     64        </events>
     65        <attached>
     66            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     67        </attached>
     68        <collisionShapes>
     69            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     70        </collisionShapes>
     71
     72    </Pawn>
     73
     74    <Pawn team=1 health=50 position="0,1000,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Globi Asteroid" >
     75        <events>
     76          <visibility>
     77            <EventListener event="flying4" />
     78          </visibility>
     79        </events>
     80        <attached>
     81            <Model position="0,0,0" mesh="ast4.mesh" scale3D="3,3,3" />
     82        </attached>
     83        <collisionShapes>
     84            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     85        </collisionShapes>
     86
     87    </Pawn>
     88
     89   
     90
     91
    5892  </Scene>
    5993</Level>
    60 
    61     <!-- Boxes = Pawns-->
  • code/branches/AsteroidMining_HS17/src/orxonox/worldentities/pawns/CMakeLists.txt

    r10216 r11508  
    77  TeamBaseMatchBase.cc
    88  Destroyer.cc
     9  AsteroidMinable.cc
    910)
Note: See TracChangeset for help on using the changeset viewer.