Jump to content

How to improve peds?


Recommended Posts

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.

Link to comment
https://gtaforums.com/topic/469249-how-to-improve-peds/
Share on other sites

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

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

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

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. smile.gif

Edited by fireguy109
Link to comment
https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332545
Share on other sites

spaceeinstein

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

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 by knocc
Link to comment
https://gtaforums.com/topic/469249-how-to-improve-peds/#findComment-1060332621
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.