Could anybody increase the number of cars on road and number of pedestrians please? Mainly pedestrians, seems like a ghost town sometimes.
Thanks.
|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
Could anybody increase the number of cars on road and number of pedestrians please? Mainly pedestrians, seems like a ghost town sometimes.
Thanks.
easiest mod ever, if i remember correctly these:take one float variable each, so to double the ped density just do:Code:SET_CAR_DENSITY_MULTIPLIER SET_PED_DENSITY_MULTIPLIERor for one and a half times car density:Code:SET_PED_DENSITY_MULTIPLIER(2.0);can another dev confirm this?Code:SET_CAR_DENSITY_MULTIPLIER(1.5);
have not tested but this is from Skorpro @ GTAForums.com -> Miscellaneous SCO Scripts
shows how density multi gets manipulated
code snip:
Code:void SkorproTrafficControl(void) { if (CHANGETRAFFIC == 1) { GET_CHAR_COORDINATES(GetPlayerPed(), &TCX, &TCY, &TCZ); CLEAR_AREA_OF_CARS(TCX, TCY, TCZ, 400.0); CLEAR_AREA_OF_CHARS(TCX, TCY, TCZ, 400.0); CLEAR_AREA_OF_COPS(TCX, TCY, TCZ, 400.0); CHANGETRAFFIC = 2; PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING","No Traffic",3000,1); SET_CAR_DENSITY_MULTIPLIER(0.0); SET_PED_DENSITY_MULTIPLIER(0.0); SWITCH_GARBAGE_TRUCKS(0); SET_RANDOM_CAR_DENSITY_MULTIPLIER(0.0); SET_PARKED_CAR_DENSITY_MULTIPLIER(2.25); ALLOW_EMERGENCY_SERVICES(0); } else if (CHANGETRAFFIC == 2) { CHANGETRAFFIC = 3; PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING","Low Traffic",3000,1); SET_CAR_DENSITY_MULTIPLIER(0.25); SET_PED_DENSITY_MULTIPLIER(0.50); SWITCH_GARBAGE_TRUCKS(1); SET_RANDOM_CAR_DENSITY_MULTIPLIER(0.25); SET_PARKED_CAR_DENSITY_MULTIPLIER(2.25); ALLOW_EMERGENCY_SERVICES(1); } else if (CHANGETRAFFIC == 3) { CHANGETRAFFIC = 4; PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING","Standard",3000,1); SET_CAR_DENSITY_MULTIPLIER(1.25); SET_PED_DENSITY_MULTIPLIER(1.50); SWITCH_GARBAGE_TRUCKS(1); SET_RANDOM_CAR_DENSITY_MULTIPLIER(1.25); SET_PARKED_CAR_DENSITY_MULTIPLIER(2.25); ALLOW_EMERGENCY_SERVICES(1); } else if (CHANGETRAFFIC == 4) { CHANGETRAFFIC = 5; PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING","High Traffic",3000,1); SET_CAR_DENSITY_MULTIPLIER(3.25); SET_PED_DENSITY_MULTIPLIER(3.50); SWITCH_GARBAGE_TRUCKS(1); SET_RANDOM_CAR_DENSITY_MULTIPLIER(3.25); SET_PARKED_CAR_DENSITY_MULTIPLIER(2.25); ALLOW_EMERGENCY_SERVICES(1); } else if (CHANGETRAFFIC == 5) { CHANGETRAFFIC = 1; PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING","Full Traffic",3000,1); SET_CAR_DENSITY_MULTIPLIER(7.25); SET_PED_DENSITY_MULTIPLIER(7.50); SWITCH_GARBAGE_TRUCKS(1); SET_RANDOM_CAR_DENSITY_MULTIPLIER(7.25); SET_PARKED_CAR_DENSITY_MULTIPLIER(2.25); ALLOW_EMERGENCY_SERVICES(1); } }
now by increasing traffic and keeping this looped your probably gonna see some laaagg..
well i was half way there but 2 of us have shown floats for the functions i listed so you've probably got all you need unless you wana make something a little more complex than changing the amount of traffic/peds that show up
So are you saying if I increase anything it will lag? I'm mainly wanting pedestrians a bit more crowded
Well I'm assuming on the ps3 it might .. Your gonna have to test it.
yeah the native for more peds would be SET_PED_DENSITY_MULTIPLIER the default value for the peds is 1.5 so anything higher than this would increase the peds on the streets just dont go over 10.0, game wont lag just some wierd graphic glitches occur but thats if you increased the other multipliers to 10 aswell.
ive got these added to my trainer where you can choose what ped density you want which i might release later tonight.
Last edited by EvilB; 08-31-2012 at 05:54 AM.
What files are these lines of code in?
Those lines above are to do with scripts but anotherway to add peds is in the pedgrp.dat in the common.rpf, i think this can increase the peds on street but not like the scripts will & i dont think this file can be edited on the latest patch or the game would loop on menu.
You can try, i know some files within the common.rpf can still be edited cabt remember which tho.
I'm using the Complete Edition which has no updates available, so I'm guessing that already contains the patches. I'm not bothered about online though.
| « Previous Thread | Next Thread » |