Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 17, 2016, 2:47:02 PM (8 years ago)
Author:
meilel
Message:

neues level file mit namen newnewnewspacerace.oxw

Location:
code/branches/SpaceRace_HS16
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SpaceRace_HS16/src/modules/gametypes/SpaceRace.cc

    r11071 r11232  
    6767        else
    6868        {
    69             message = "You win!! You have reached the last check point after "+ multi_cast<std::string>(s)
     69            message = "You win!! Final check point reached after "+ multi_cast<std::string>(s)
    7070                        + "." + multi_cast<std::string>(ms) + " seconds.";
    7171        }
     
    8282        SUPER(SpaceRace,tick,dt);
    8383
    84         // spawn the players already when the countdown starts, but deactivate their engines
     84        // spawns the players when the countdown starts, but deactivates their engines
    8585        if (this->isStartCountdownRunning() && !this->cantMove_)
    8686        {
     
    9292        }
    9393
    94         // activate the engines again if the countdown ends
     94        // activate the engines when the countdown ends
    9595        if (!this->isStartCountdownRunning() && this->cantMove_)
    9696        {
     
    100100            this->cantMove_= false;
    101101
    102             std::string message = "The match has started! Reach the check points as quickly as possible!";
     102            std::string message = "The race begins! Reach the check points as quickly as possible!";
    103103            this->getGametypeInfo()->sendAnnounceMessage(message);
    104104            ChatManager::message(message);
     
    122122    bool SpaceRace::allowPawnHit(Pawn* victim, Pawn* originator)
    123123    {
    124         return false;
     124        return true;
    125125    }
    126126
    127127    bool SpaceRace::allowPawnDamage(Pawn* victim, Pawn* originator)
    128128    {
    129         return false;
     129        return true;
    130130    }
    131131
    132132    bool SpaceRace::allowPawnDeath(Pawn* victim, Pawn* originator)
    133133    {
    134         return false;
     134        return true;
    135135    }
    136136}
Note: See TracChangeset for help on using the changeset viewer.