How to turn off ped's AI?
-
Hello. I need to remove ped's reactions to shooting and attacking it. Like to make ped completely blind or delete its AI. I need to do this by editing in game files, not by scripts. Any thoughts if that's possible? Thanks
-
@chickentooth Install either the Biden or Trump Peds, will give desired results - no intelligence at all.
-
@JohnFromGWN Sorry, didn't quite understand you. Do I need to install some extra ped model or what? I already have my certain ped on which I want to turn off ai. But even disabling ai on whole game peds will work for me
-
Shouldn't necessarily be a whole ai shutdown, I just need to get rid of ped's reactions on my behavior towards them
-
@chickentooth said in How to turn off ped's AI?:
I just need to get rid of ped's reactions on my behavior towards them
Use your trainer or comb through all the ped metafiles that define behaviors.
No idea if you're writing a script or creating a movie so your ask is unclear.
If you want peds to ignore you, again not understanding your purpose, try this
void SET_EVERYONE_IGNORE_PLAYER(Player)
You can do that from Trainer as well.
-
@JohnFromGWN I'm creating a movie. I would be really grateful if you could provide me a working script with that parameter in it. I'm a newbie so barely understand where to put that SET_EVERYONE_IGNORE_PLAYER(Player) thing and what's trainer and comb
Thanks for your time
-
@chickentooth go into Menyoo and look in player options for something called ignored by everyone or something similar.
Comb is just an English expression which means to go through something to find what you're looking for. I'm assuming you know what a trainer is.
-
@JohnFromGWN Oh yeah, I've already tried "Ignored by everyone" in Menyoo and even though it works while im aiming with a gun, when I'm swinging with melee peds still react on me. Is that void SET_EVERYONE_IGNORE_PLAYER(Player) parameter the same as "Ignored by everyone" in Menyoo? If so, sadly won't work for my case
-
Your need to go into OpenIV and search through the ped related meta files.
For example pedpersonality.ymt. and peds.ymt etc.Possibly combatbehaviour.meta as well.
Go through all the tags and experiment.
-
@JohnFromGWN thank you!