Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 26, 2010, 9:01:48 PM (14 years ago)
Author:
jo
Message:

With collisionshapes. Still problems with collisionshapes and movable entities. Warning Message added. Suddenly a new HUD bug appeared.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lastmanstanding/src/orxonox/gametypes/LastManStanding.cc

    r7583 r7585  
    151151        if (!player)
    152152            return;
     153        this->timeToAct_[player]=timeRemaining+3.0f;//reset timer
    153154        //Update: Individual Players "lifes"-HUD
    154155        std::map<PlayerInfo*, Player>::iterator it2 = this->players_.find(player);
     
    209210            {       
    210211                it->second-=dt;
     212                if (it->second<timeRemaining/6)//Warning message
     213                {
     214                    const std::string& message = "Camper Warning! Don't forget to shoot.";
     215                    this->gtinfo_->sendFadingMessage(message,it->first->getClientID());
     216                }
    211217                if (it->second<0.0f)
    212218                {
Note: See TracChangeset for help on using the changeset viewer.