knocc Posted February 8, 2011 Share Posted February 8, 2011 Ok, I really need help about this one. First off, the thing is I need help with modifing peds on singleplayer, but not in a way like changing their TXD or DFF. I want to change how peds act on my GTA SA singleplayer. I want to set gang peds(Grove, Ballas, Aztecas and Vagos)to only use bats, knives, pool and golf sticks and fists and no other weapon. Also, I want to make them.....uhm how should I say "smarter" for hand to hand combat??? I don't know how to define that but, I want them to use their fighting skills better, to be more violent and don't die after 3 or 4 hits, also to improve their health. So, If anyone know how should I do this, edit peds stats or whatever, please reply. Vishnuka 1 Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/ Share on other sites More sharing options...
xNCx Posted February 8, 2011 Share Posted February 8, 2011 Gang weapons can be set via opcodes. I don't know if it is able to make them smarter, but you should check some memory addresses, maybe one contains for example weapon accuracy of a gang. You could also try to edit pedstats.dat (don't know if it is in SA, but in VC it is), where you can "give" the more health. Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060331160 Share on other sites More sharing options...
knocc Posted February 9, 2011 Author Share Posted February 9, 2011 Gang weapons can be set via opcodes. I don't know if it is able to make them smarter, but you should check some memory addresses, maybe one contains for example weapon accuracy of a gang. You could also try to edit pedstats.dat (don't know if it is in SA, but in VC it is), where you can "give" the more health. can you tell me how i set gang's weapons with those opcodes??? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060331507 Share on other sites More sharing options...
xNCx Posted February 9, 2011 Share Posted February 9, 2011 Yeah, you use opcode 0237 and put the gang ID and then the ID of 2 weapons, they will use (0 are fists for example). Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332107 Share on other sites More sharing options...
yair1221 Posted February 9, 2011 Share Posted February 9, 2011 actualy, its 3 weapons 0237: set_gang 1 weapons_to 24 29 4 pete9516 1 Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332130 Share on other sites More sharing options...
knocc Posted February 9, 2011 Author Share Posted February 9, 2011 actualy, its 3 weapons 0237: set_gang 1 weapons_to 24 29 4 what are codes for baseball bat, brassknuckle and molotov? And what file I need to edit??? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332376 Share on other sites More sharing options...
EUX adamant4 Posted February 9, 2011 Share Posted February 9, 2011 They are 1, 5, and 18 you can find the weapon ID's in sannybuilder's help files, under SCM documentation (assuming you use sannybuilder ) Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332401 Share on other sites More sharing options...
knocc Posted February 9, 2011 Author Share Posted February 9, 2011 what file i should edit to insert the weapon IDs? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332443 Share on other sites More sharing options...
yair1221 Posted February 9, 2011 Share Posted February 9, 2011 well, i'm assuming you know the basics of coding(?) compile that into the CLEO folder: 0000: NOPwhile truewait 00237: set_gang 1 weapons_to 1 5 18end i think you have to use a loop in case those things change ingame if they dont, you can just add it somewhere in the main thread of the main.scm or use that as a CLEO: 0000: NOPrepeatwait 0until player.defined($player_char)0237: set_gang 1 weapons_to 1 5 180a93: in both cases, modify the gang ID to the one you want Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332462 Share on other sites More sharing options...
TheSiggi Posted February 9, 2011 Share Posted February 9, 2011 Hows about? {$CLEO}0237: set_gang 1 weapons_to 1 5 180a93: ? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332490 Share on other sites More sharing options...
fireguy109 Posted February 9, 2011 Share Posted February 9, 2011 (edited) Can't you find all the weapon #s and data in the weapons.dat as well? EDIT: The ordering of the weapon numbers in the weapon.dat does not match, so you can't infer the weapon number from that file. They are already well documented, so why bother doing the same work again? Was just wondering. Edited February 9, 2011 by fireguy109 Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332545 Share on other sites More sharing options...
spaceeinstein Posted February 9, 2011 Share Posted February 9, 2011 The ordering of the weapon numbers in the weapon.dat does not match, so you can't infer the weapon number from that file. They are already well documented, so why bother doing the same work again? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332563 Share on other sites More sharing options...
knocc Posted February 9, 2011 Author Share Posted February 9, 2011 (edited) So there's no other way to do this than with CLEO? If I install CLEO my SA:MP won't work. Anyway, can you give me codes that will make Ballas, Groves, Aztecas and Vagos make use only baseball bats, knives and brassknuckles??? Edited February 9, 2011 by knocc Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332621 Share on other sites More sharing options...
fireguy109 Posted February 10, 2011 Share Posted February 10, 2011 Probably only through main.scm, and even then it might only work on missions. You'd have to figure out the right code, search>replace with the numbers you want. Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332955 Share on other sites More sharing options...
knocc Posted February 10, 2011 Author Share Posted February 10, 2011 Probably only through main.scm, and even then it might only work on missions. You'd have to figure out the right code, search>replace with the numbers you want. also, how i put certain peds into group GANG9 or GANG10 since they're unused??? And also how to make them spawn at certain areas?? Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060333583 Share on other sites More sharing options...
BnB Posted February 10, 2011 Share Posted February 10, 2011 Probably only through main.scm, and even then it might only work on missions. You'd have to figure out the right code, search>replace with the numbers you want. also, how i put certain peds into group GANG9 or GANG10 since they're unused??? And also how to make them spawn at certain areas?? Tut. Link to comment https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060333598 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