Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7602


Ignore:
Timestamp:
Oct 31, 2010, 5:14:55 PM (14 years ago)
Author:
jo
Message:

Collisionshapes do not work as intended. Although I followed the structure given in the forum.

Location:
code/branches/lastmanstanding
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/data/levels/gametype_lastmanstanding.oxw

    r7600 r7602  
    121121        <Model position="0,0,0" scale=25 mesh="ast6.mesh">
    122122        </Model>
     123        <Model position="0,0,0" mesh="cube.mesh" scale3D="25,70,15" />
    123124      </attached>
    124125      <collisionShapes>
    125         <BoxCollisionShape    halfExtents="50,25,50" position="0,0,0" yaw="<?lua print(-90+i*360/max) ?>"/>
     126        <BoxCollisionShape    halfExtents="25,70,15" position="0,0,0"/>
    126127      </collisionShapes>
    127128    </StaticEntity>
  • code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.cc

    r7600 r7602  
    4646        this->lives=4;
    4747        this->playersAlive=0;
    48         this->timeRemaining=10.0f;
     48        this->timeRemaining=15.0f;
    4949        this->respawnDelay=4.0f;
    5050        this->setHUDTemplate("LastmanstandingHUD");
     
    8282    {
    8383        SetConfigValue(lives, 4);
    84         SetConfigValue(timeRemaining, 20.0f);
     84        SetConfigValue(timeRemaining, 15.0f);
    8585        SetConfigValue(respawnDelay, 4.0f);
    8686    }
Note: See TracChangeset for help on using the changeset viewer.