Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11982


Ignore:
Timestamp:
May 24, 2018, 1:56:22 PM (7 years ago)
Author:
arismu
Message:

SpaceRaceTemplates

Location:
code/branches/RacingBots_FS18
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/RacingBots_FS18/data/levels/newnewnewspacerace.oxw

    r11977 r11982  
    538538   
    539539    <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    540     <PickupSpawner pickup=smallboostpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
     540    <PickupSpawner pickup=smallspeedpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
    541541
    542542    <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
  • code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRace.cc

    r11977 r11982  
    142142        }
    143143
    144         std::string message("Use headphones to hear the countdown! It is useful to start with a boost!");
     144        std::string message("Use headphones to hear the countdown! Press W for forward acceleration, W+space bar for boost!");
    145145
    146146        this->getGametypeInfo()->sendAnnounceMessage(message);
  • code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.cc

    r11977 r11982  
    107107        return returnVec;
    108108    }
    109     void SpaceRaceController::endtheGame() const {
     109    /*void SpaceRaceController::endtheGame() const {
    110110        SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype());
    111111        assert(gametype);
     
    114114        gametype->end();
    115115
    116     }
     116    }*/
    117117    /*
    118118     * called from 'findStaticCheckpoints'
     
    186186
    187187        }
    188         if(minNextRaceCheckPoint == nullptr) {endtheGame(); orxout()<<"nullptr found @181 SpaceRaceController" << endl;}
     188        if(minNextRaceCheckPoint == nullptr) { orxout()<<"nullptr found @181 SpaceRaceController" << endl;}
    189189        return minNextRaceCheckPoint;
    190190    }
     
    252252            if (checkpoint->getCheckpointIndex() == index){
    253253                //if(checkpoint == nullptr) orxout()<<"returned nullptr @line 234 SpaceRaceController"<<endl;
    254                 orxout()<< "index of the checkpoint "<< index <<endl;
     254                //orxout()<< "index of the checkpoint "<< index <<endl;
    255255                res = checkpoint;
    256256                return res;
    257257            }
    258258        }
    259     if(index>2 )   
    260         this->endtheGame();
     259    /* if(index>2 )   
     260        this->endtheGame();*/
    261261
    262262        return res;
  • code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.h

    r11977 r11982  
    5858            RaceCheckPoint* nextPointFind(RaceCheckPoint*);
    5959            RaceCheckPoint* adjustNextPoint();
    60             void endtheGame() const;
     60            //void endtheGame() const;
    6161
    6262            std::vector<RaceCheckPoint*> findStaticCheckpoints(RaceCheckPoint*, const std::vector<RaceCheckPoint*>&);
Note: See TracChangeset for help on using the changeset viewer.