chickens Posted September 26, 2015 Share Posted September 26, 2015 Hi I found this to remove PEDS and VEHICLEs (with peds) STREAMING::SET_PED_POPULATION_BUDGET(false);STREAMING::SET_VEHICLE_POPULATION_BUDGET(false);GAMEPLAY::CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, true);GAMEPLAY::CLEAR_AREA_OF_VEHICLES(0, 0, 0, 10000, true, true, true, true, true); It works, but I still see cars at streaming limit distance, and when I approach to them,disappears. Nobody know a easy method to remove vehicles and peds forever? What is in red section are cars, I know you can't see very good, but if I record you will see very good. Link to comment Share on other sites More sharing options...
Graphicscore Posted September 26, 2015 Share Posted September 26, 2015 Well you could iterate through all peds and vehicles on the map and delete them manually, that's what I did with scripthoo.net Link to comment Share on other sites More sharing options...
CamxxCore Posted September 26, 2015 Share Posted September 26, 2015 (edited) Hi I found this to remove PEDS and VEHICLEs (with peds) STREAMING::SET_PED_POPULATION_BUDGET(false);STREAMING::SET_VEHICLE_POPULATION_BUDGET(false);GAMEPLAY::CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, true);GAMEPLAY::CLEAR_AREA_OF_VEHICLES(0, 0, 0, 10000, true, true, true, true, true);It works, but I still see cars at streaming limit distance, and when I approach to them,[/size]disappears.Nobody know a easy method to remove vehicles and peds forever? What is in red section are cars, I know you can't see very good, but if I record you will see very good. PED::SET_PED_DENSITY_MULTIPLIER_THIS_FRAME(0.0f);VEHICLE::SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME(0.0f);You have to call it every tick for it to work. (: Edited September 26, 2015 by CamxxCore Link to comment Share on other sites More sharing options...
chickens Posted September 27, 2015 Author Share Posted September 27, 2015 Hi I found this to remove PEDS and VEHICLEs (with peds) STREAMING::SET_PED_POPULATION_BUDGET(false);STREAMING::SET_VEHICLE_POPULATION_BUDGET(false);GAMEPLAY::CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, true);GAMEPLAY::CLEAR_AREA_OF_VEHICLES(0, 0, 0, 10000, true, true, true, true, true);It works, but I still see cars at streaming limit distance, and when I approach to them,[/size]disappears.Nobody know a easy method to remove vehicles and peds forever? What is in red section are cars, I know you can't see very good, but if I record you will see very good. PED::SET_PED_DENSITY_MULTIPLIER_THIS_FRAME(0.0f);VEHICLE::SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME(0.0f);You have to call it every tick for it to work. (: Not work very good, Im gonna search in pointers without name. Link to comment Share on other sites More sharing options...
gtaVmod Posted September 27, 2015 Share Posted September 27, 2015 (edited) try to do opposite of this functions: VEHICLE::SET_ALL_VEHICLE_GENERATORS_ACTIVE(); VEHICLE::SET_NUMBER_OF_PARKED_VEHICLES(-1); VEHICLE::SET_GARBAGE_TRUCKS(1); VEHICLE::SET_ALL_LOW_PRIORITY_VEHICLE_GENERATORS_ACTIVE(1); VEHICLE::SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME(1.0); STREAMING::SET_VEHICLE_POPULATION_BUDGET(3); STREAMING::SET_PED_POPULATION_BUDGET(3); But i think far away traffic of (tens/hundreds) cars does not have handles and is operated internally by engine with no control from natives. Edited September 27, 2015 by gtaVmod Link to comment Share on other sites More sharing options...
chickens Posted September 27, 2015 Author Share Posted September 27, 2015 I changed what u gave to me in: VEHICLE::SET_NUMBER_OF_PARKED_VEHICLES(-1); VEHICLE::SET_ALL_LOW_PRIORITY_VEHICLE_GENERATORS_ACTIVE(true); STREAMING::SET_VEHICLE_POPULATION_BUDGET(0); STREAMING::SET_PED_POPULATION_BUDGET(0); VEHICLE::SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME(1.0); GAMEPLAY::CLEAR_AREA_OF_PEDS(0, 0, 0, 10000, true); GAMEPLAY::CLEAR_AREA_OF_VEHICLES(0, 0, 0, 10000, true, true, true, true, true); -> because original script doesn't worked. The script works, but still remains some peds, I don't know why, I found cars parked and peds in car, on street I saw only peds with dog. Link to comment Share on other sites More sharing options...
leftas Posted September 29, 2015 Share Posted September 29, 2015 These things are not ped/vehicles. These are textures - just to illustrate traffic when you looking from far distance If you want these to disappear, you would need to nop functions All the best, Paul. Link to comment Share on other sites More sharing options...
gtaVmod Posted September 29, 2015 Share Posted September 29, 2015 If you want these to disappear, you would need to nop functions I always struggle to understand wtf do you trying to tell Link to comment Share on other sites More sharing options...
leftas Posted September 30, 2015 Share Posted September 30, 2015 If you want these to disappear, you would need to nop functions I always struggle to understand wtf do you trying to tell oh, really ? Okay. GTA IV has a function which draw these fake cars.First of all CRenderPhaseDrawScene's virtual function creates an CBaseDC, and assigns one of CBaseDC virtual members a function which renders these cars. After that CRenderPhaseDrawScene's virtual function calls that function which draws cars. So what he would need to do is to find that function and simply insert retn(if similar function exists), because in GTA V CBaseDC class has gone, and there is no clue to function(as far as I've been searching) unless analyzing all virtuals in CRenderPhaseDrawScene. All the best, Paul. Link to comment Share on other sites More sharing options...
gtaVmod Posted September 30, 2015 Share Posted September 30, 2015 how do you know how they called their functions? Link to comment Share on other sites More sharing options...
leftas Posted September 30, 2015 Share Posted September 30, 2015 By disassembling the exe. Dumping it from memory and then loading to specific program, in this case, IDA. All the best, Paul. Link to comment Share on other sites More sharing options...
Md Faizan Posted August 6 Share Posted August 6 Hey, there is any way that by coding we remove our choices ped example stripper and hooker. If anybody know what to code where to code so please tell me or provide me plz. . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now