Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2018, 3:54:42 PM (6 years ago)
Author:
jacobsr
Message:

Changed parameters for velocity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc

    r11985 r11996  
    9797        int trafficVelocities[]= {200,1400,500, 300};
    9898        int velocityVariation[] = {40,80,100,20};
    99         int numObjects[] = {60,40,30,40}; // default, spaceship, sattellite, asteroid per track
     99        int numObjects[] = {30,30,30,30}; // default, spaceship, satellite, asteroid per track
    100100        int streetSize[] = {3 , 1, 2, 4};
    101101        int trackWidth = 700;
     
    114114                        cubeList.push_back(cube);
    115115                        int templateType = rand()%2;
     116
    116117                        switch(type)
    117118                        {
     
    137138                            }else {
    138139                                cube->addTemplate("satellite");//satellite
    139                             }                     
     140                            }                   
    140141
    141142                           
     
    208209            {
    209210                int type  = rand() % 4;
    210                 orxout(user_info) << "Random : "<<type<< endl;
     211                //orxout(user_info) << "Random : "<<type<< endl;
    211212
    212213                roadWidth = generateStreet(type,player);//Generate street to specific type type = 0 default, type = 1 space ship type  = 2 statellite/cubes, type = 3 asteroids
Note: See TracChangeset for help on using the changeset viewer.