Aug 13 2010, 04:17 PM Post #1 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | Hey Guys I would like to know a step by step process for changin Car and Ped Densities in Grand Theft Auto 3, I have Sanny Builder and I found both codes which are 03DE: set_pedestrians_density_multiplier_to 0.0 and 01EB: set_car_density_to 0.0, I pasted them at the beggining of the Main Therad in GTA 3 main.scm file and i changed both to 2.0 but nothing happened Even when I set both to 3.0 there is only 8 peds and four to eight cars on the road. Can anyone help? Do I need a loop placed? And if so how do i do it? Thanks in advance |
Aug 13 2010, 05:03 PM Post #2 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | There are many times when these opcodes are used within the main.scm, which will override whatever you set. You could try using CLEO for GTA III to create a looped CLEO Script that sets the opcode: CODE {$CLEO} 0000: :LOOP wait 2000 if 0038: $ONMISSION == 0 // make sure we don't make missions almost impossible else_jump @LOOP 01EB: set_car_density_to 0.0 03DE: set_ped_density_to 0.0 jump @LOOP Or if you still want to use the main.scm, you can try replacing every line that sets the ped density to the value you wish or create a new looped thread like with the code above. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 13 2010, 05:18 PM Post #3 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | Cleo wont work so I want to try doing it via the main.scm and create a new thread as shown above where would I insert the code you put above into my GTA 3 main.scm? This post has been edited by Biff: Aug 13 2010, 05:24 PM |
Aug 13 2010, 05:55 PM Post #4 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | Find SANNY 00D7: create_thread_with_wasted_busted_check @GATES Add Below SANNY 00D7: create_thread_with_no_params @MorePeds Find SANNY 004F: create_thread @COL2GTE 004E: end_thread Add below SANNY :MorePeds 03A4: name_thread 'MORPEDS' :MorePeds_Loop wait 2000 if 0038: $ONMISSION == 0 else_jump @MorePeds_Loop 01EB: set_traffic_density_multiplier_to 3.0 03DE: set_pedestrians_density_multiplier_to 3.0 jump @MorePeds_Loop You can change the density values as desired. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 13 2010, 06:38 PM Post #5 | |
The master of cut retort Posts: 239 From: Warsaw, PL Joined: 21-July 10 | Isn't it better to replace wait 2000 with wait 250? You have 1 byte saved |
Aug 13 2010, 10:29 PM Post #6 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | Isn't it better to replace wait 2000 with wait 250? You have 1 byte saved Thanks for this I will go try that out and see the results thank you And let you know what happen edit: So I compile and then save when done right? Also could you please give me step by step instructions on where to put this code in the GTA3 main.scm, I dont want to screw the game up or anything, thanks for taking the time guys This post has been edited by Biff: Aug 14 2010, 03:01 AM |
Aug 14 2010, 01:06 AM Post #7 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | I gave you step by step instructions. Just copy each bit of code I gave you and paste it under the lines of code specified. There's almost no way you can go wrong Don't worry about messing up your game... Just make a backup of main.scm and script.img before you compile and if anything does go wrong (which I doubt) you can restore the backup and try again. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 02:52 AM Post #8 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | thansk friend sorry about bothering you no hard feelings i am just deparate to make GTA 3 more alive so to speak edit: the parts that I paste in are green right and red right? And the code already there is black font right? and also this is how i do it I open up sannybuilder and decompile GTA3s main.scm file then after I am stuck becasue how do I find the codes specificed that you showed? Becasue opcodes search just show it and when I paste it in the find tool it says no match Please help! the codes i cant find in the script are the ones in black that read 00D7: create_thread_with_wasted_busted_check and 00D7: create_thread_with_no_params and also sorry another question but is all the font under the second add below step have to be pasted in? Thanks alot! This post has been edited by Biff: Aug 14 2010, 03:11 AM |
Aug 14 2010, 04:20 AM Post #9 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 04:31 AM Post #10 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | so you modifie this yourself? Its all done?! Now what? If you have modfied everything were can I find the code edits you made so i can adjust the amount of the density settings? Do I just Compile and save as over the older main.scm? thanks again This post has been edited by Biff: Aug 14 2010, 04:46 AM |
Aug 14 2010, 06:05 AM Post #11 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | Decompile... search for: SANNY 03A4: name_thread 'MORPEDS' They are currently both set at 2.0 -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 12:08 PM Post #12 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | |
Aug 14 2010, 12:19 PM Post #13 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | main.scm... over your original GTA III main.scm... What do you mean 09958? -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 12:22 PM Post #14 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | main.scm... over your original GTA III main.scm... What do you mean 09958? the id tag on the far left in sannybuilder the id tag on the far left in sannybuilder becasue the find tool cant find any matches I cant seem to find it do I scroll through the entire thing? This post has been edited by Biff: Aug 14 2010, 12:33 PM |
Aug 14 2010, 12:33 PM Post #15 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | Just try it, will you? -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 12:39 PM Post #16 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | [quote name='Deji' date='Aug 14 2010, 12:33 PM' post='1052'] Just try it, will you? [/quote I tryed it now I get an unhandled exception while its loading a new game!arrgg and I still cant find that code to modify it to my liking! This post has been edited by Biff: Aug 14 2010, 01:01 PM |
Aug 14 2010, 04:10 PM Post #17 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | please help! I tryed it as you said but once I complied and saved over the main scm. with the one you modfired it crashed while loading a new game! And said it had a unhandled exception! Also were do I find the specific code you mentioned in Sanny Builder?the 00095 thing is an id number that is on the far left in the sanny builder its that big lists that tells the number of each, which number id is for the code 03A4: name_thread 'MORPEDS' that I am supposed to be looking for? Please help!!! This post has been edited by Biff: Aug 14 2010, 04:17 PM |
Aug 14 2010, 05:07 PM Post #18 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | I can't see what could be wrong... The file I gave you works fine. Quite a bit more busy, don't yeh think? Try line 13217 if you wanna go by line numbers... -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |
Aug 14 2010, 05:28 PM Post #19 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | I can't see what could be wrong... The file I gave you works fine. Quite a bit more busy, don't yeh think? Try line 13217 if you wanna go by line numbers... alright get back too you on that! OH HELL YEAH I FOUND IT! THANKS MAN! So what about the unhanled exeception problem I had after saving over the main.scm with yours? I compile before I saved to, Thanks again! This post has been edited by Biff: Aug 14 2010, 05:32 PM |
Aug 14 2010, 06:05 PM Post #20 | |
Trained Newbie Posts: 25 Joined: 13-August 10 | Okay the last thing preventing me from having it work is an unhandled exception error, this is what happens I edit the density stuff I just found and then compile it then i save the newly edited gta 3 main scm file over the old one in the GTA 3 data files in save as and press the run game option, it loads up find, but when I load up a new game it stops at the end and says there is an unhandled exception at.... and list a a bunch of numbers with bunch of zeros in them please help I am so close to haveing it work This post has been edited by Biff: Aug 14 2010, 06:09 PM |