Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
iristrauma

[Q] Stopping those Cowardly peds running.

Recommended Posts

iristrauma

Has anybody found a way to alter the peds behaviour so they dont all flee at the first sign of a gunshot. I have changed in pedpersonality.dat the bravery value to 5, but the wimps still run.. I have also removed the murderrunaway entry in all peds, but still no joy.. cry.gif

 

Anybody have any suggestions..? confused.gif

Share this post


Link to post
Share on other sites
the hubster

Try editing ShockingEvents.dat, i'm pretty sure thats what your looking for.

Share this post


Link to post
Share on other sites
iristrauma

shockingevents.dat dosent seem to alter the behaviour in anyway, even if I change all settings to 0's they still behave normaly and run.. Very strange..! confused.gif

 

 

 

Ohh God.. It may well be Ambient.dat which is a rather complex looking sob to say the least.. suicidal.gifconfused.gifnervous.gif

Edited by iristrauma

Share this post


Link to post
Share on other sites
creat3d22

 

Ohh God.. It may well be Ambient.dat which is a rather complex looking sob to say the least.. suicidal.gif  confused.gif  nervous.gif

I didn't look into it much but ambient.dat seems to have more to do with the peds animations than their actual decision to flee or do anything else...

 

I would've thought shockingevents.dat was the one notify.gif

Share this post


Link to post
Share on other sites
aceship

try action_table.xls

Share this post


Link to post
Share on other sites
iristrauma

The actiontable.xls might be the right fle, but alas, without knowing all the settings and what they do, it will be a major task of trial and error. What would be nice if we could get a editor to simplify the peds behaviour.

 

I messed around with most files that I thought might control Fleeing behaviour including shockingevents and peds.ide, pedpersonality etc etc..but nothing I did made any differece to their reactions. I even went as far as zeroing all entries in shockingevents and they still bloody behaved normally without any change. So actiontable.xls might be the right file.. I will look into it.. icon14.gif

Share this post


Link to post
Share on other sites
Julias Caesar
The actiontable.xls might be the right fle, but alas, without knowing all the settings and what they do, it will be a major task of trial and error. What would be nice if we could get a editor to simplify the peds behaviour.

 

I messed around with most files that I thought might control Fleeing behaviour including shockingevents and peds.ide, pedpersonality etc etc..but nothing I did made any differece to their reactions. I even went as far as zeroing all entries in shockingevents and they still bloody behaved normally without any change. So actiontable.xls might be the right file.. I will look into it.. icon14.gif

anything new here? I also find it totally unrealistic the peds running away in such a big radius.

 

I use a knife in a building, and people from 500 meters away start screaming and running.

Share this post


Link to post
Share on other sites
pLaTaNo

Well, in RL, if you hear gunshots, would YOU Run? Or just stay and walk like nothing happend. Hell, ill run my ass off to the nearest police station if i heard gunshots. Rockstar wanted the peds to act as if a human being reacts. Lets say if someone heard gunshots and runs away to safety. R* wanted its peds to run to run away to safety just as that "someone" does. tounge2.gif

Share this post


Link to post
Share on other sites
lessthan3

Please, this is New York, people are too busy to care if someone kills someone else. XD

Calling the police will make them want to question YOU, and you're a busy person, you don't have time to spend hours down at the station telling them what you saw and helping make a composite sketch of the criminal.

Just go about your business and pretend like nothing happened.

Share this post


Link to post
Share on other sites
iristrauma

I havent been able to stop the peds from running yet. I have tried many different things but all seem to have no effect, which leads me to believe the fleeing behavior is controlled by a radius from the player. It also seems to be global as you can kill some peds in the most secluded spot and they all still hear you and leg it which is really lame imho..

 

What we need is an "Ignore Player" script so they dont respond even when getting shot..But I know nothing of lua scripting.. dozingoff.gif

 

Has anybody got the peds to stop running yet..? sad.gif

Share this post


Link to post
Share on other sites
Toez

Found this native, not sure if it means anything. SET_CHAR_WILL_COWER_INSTEAD_OF_FLEEING

Share this post


Link to post
Share on other sites
Julias Caesar
Found this native, not sure if it means anything. SET_CHAR_WILL_COWER_INSTEAD_OF_FLEEING

interesting. is this per pedestrian or for all?

 

though, a radius would be more what I'd looking for - so every player can set what he prefers.

Share this post


Link to post
Share on other sites
iristrauma
Found this native, not sure if it means anything. SET_CHAR_WILL_COWER_INSTEAD_OF_FLEEING

where did you find that dude..? icon14.gif

Share this post


Link to post
Share on other sites
Toez

I scrolled through every native in the used native list that comes with Alice. I got bored, and spent 3 hours doing it...trying out interesting ones that I saw, found a few that work but not many...and this being one that didn't, but I most likely was doing something wrong or something, so others can try to get this to work if they want.

Share this post


Link to post
Share on other sites
iristrauma

These are the interesting natives that exist, and may control the peds behaviour. I am trying to run a lua script but my knowlede in this area is zero, so I am working blind.. I really need somebody to try these natives to see if any of them can stop all the peds from running away..

 

TASK_TOGGLE_PED_THREAT_SCANNER

TASK_LEAVE_CAR_AND_FLEE=$009e8ff0

TASK_SMART_FLEE_POINT=$009e91b0

TASK_SMART_FLEE_POINT_PREFERRING_PAVEMENTS=$009e91f0

TASK_SMART_FLEE_CHAR=$009e9230

TASK_SMART_FLEE_CHAR_PREFERRING_PAVEMENTS=$009e9260

TASK_FLEE_CHAR_ANY_MEANS=$009e9c20

SET_ALL_RANDOM_PEDS_FLEE=$009ef140

SET_CHAR_WILL_COWER_INSTEAD_OF_FLEEING=$009fcd30

GET_CHAR_WILL_COWER_INSTEAD_OF_FLEEING=$009fcd60

FORCE_PED_TO_LOAD_COVER=$009fd880

FORCE_PED_TO_FLEE_WHILST_DRIVING_VEHICLE=$009fd8b0

BLOCK_COWERING_IN_COVER=$009fd8e0

BLOCK_PEEKING_IN_COVER=$009fd910

SET_EVERYONE_IGNORE_PLAYER=$009ef110

SET_ALL_RANDOM_PEDS_FLEE=$009ef140

SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS=$009ef170

START_FIRING_AMNESTY=$009ee870

IS_PED_RETREATING=$009fbd60

IS_PED_FLEEING=$009fbd80

IS_PED_IN_COVER=$009fbda0

IS_PED_PINNED_DOWN=$009fbdc0

FORCE_PED_PINNED_DOWN=$009fbde0

SET_PED_DONT_DO_EVASIVE_DIVES=$009fd640

FIRE_PED_WEAPON=$009fd670

SUPPRESS_PED_MODEL=$009fd6c0

DONT_SUPPRESS_PED_MODEL=$009fd6e0

DONT_SUPPRESS_ANY_PED_MODELS=$009f1d20

 

Can some nice person give these a go as I really am lost here.. Many thxs.. icon14.gif

 

 

Share this post


Link to post
Share on other sites
iristrauma

Bumping.. Need some help badly.. icon14.gif

Share this post


Link to post
Share on other sites
L0uNGeR

These natives are way too specific to a single ped, it won't give you the desired result unless you write an insane script around it.

As being said before, "ShockingEvents.dat" is where you should look.

 

BTW, I'm pretty sure that the game doesn't use any XLS files, it looks like R* used those for referenceto and/or to create CSV files.

Edited by L0uNGeR

Share this post


Link to post
Share on other sites
iristrauma

 

These natives are way too specific to a single ped, it won't give you the desired result unless you write an insane script around it.

As being said before, "ShockingEvents.dat" is where you should look.

 

BTW, I'm pretty sure that the game doesn't use any XLS files, it looks like R* used those for referenceto and/or to create CSV files.

Thanks for the input dude, icon14.gif but shockingevents.dat dosent alter the game in anyway as far as I can tell. I have even gone as far as setting all variables in said file to zero's and the game still runs as normal, the peds still flee in terror at the first sign of a fart rolleyes.gif and the game remains unchanged. Im pretty sure that file has no impact on the game because of the extreme edit I did, and the fact the game is unchanged.. Its pretty bizzare I know.. confused.gifsad.gifsuicidal.gif ..

 

I have been on this ped fleeing behaviour for weeks now and still no further on to solving it.. sad.gif

 

SOMEONE, PLEASE STOP THOSE PEDS FLEEING.. inlove.gifcookie.gifcolgate.gif

Edited by iristrauma

Share this post


Link to post
Share on other sites
kevaughan

I tried editing this as well and have everything set to 0 but they still run away. Maybe this is a left over file from GTA:SA ?

 

EDIT

Can someone make or find a Alice Lua script for this?

If you changed each gun to have the silenced flag would that help?

 

Edited by kevaughan

Share this post


Link to post
Share on other sites
Julias Caesar
I tried editing this as well and have everything set to 0 but they still run away. Maybe this is a left over file from GTA:SA ?

 

EDIT

Can someone make or find a Alice Lua script for this?

If you changed each gun to have the silenced flag would that help?

Why can't R* just tell us about the lines to adjust ("subject to correction")?

 

That would really be one helpful step from them.

Share this post


Link to post
Share on other sites
NMDanny

you should also edit that they wont run if you aim at them. i mean, you point at them the gun, some just flee, some stay for some seconds and flee. thats unrealistic cause in real life they would get killed..

Share this post


Link to post
Share on other sites
kevaughan

if anybody, and i mean ANYBODY finds a way to keep them peds from fleeing then you sir are a winner!

Share this post


Link to post
Share on other sites
kevaughan

i found this video. at the end he starts a riot.

 

with gun fire and all the peds still come after him! i must know how he does such a thing!

 

 

Share this post


Link to post
Share on other sites
iristrauma
i found this video. at the end he starts a riot.

 

with gun fire and all the peds still come after him! i must know how he does such a thing!

 

Interesting find bro.. icon14.gif Have you contacted that guy to ask him how he got the peds all to attack..?

Share this post


Link to post
Share on other sites
HazardX
i found this video. at the end he starts a riot.

 

with gun fire and all the peds still come after him! i must know how he does such a thing!

 

Interesting find bro.. icon14.gif Have you contacted that guy to ask him how he got the peds all to attack..?

Go drinking with somebody while you hold a weapon. Then, shoot while drunk and all peds will come after you.

Share this post


Link to post
Share on other sites
kevaughan
i found this video. at the end he starts a riot.

 

with gun fire and all the peds still come after him! i must know how he does such a thing!

 

Interesting find bro.. icon14.gif Have you contacted that guy to ask him how he got the peds all to attack..?

Go drinking with somebody while you hold a weapon. Then, shoot while drunk and all peds will come after you.

is there a way to get peds after you while not drunk?

Share this post


Link to post
Share on other sites
L0uNGeR

Making peds attack you is pretty easy, but that's not what this topic is about.

Share this post


Link to post
Share on other sites
kevaughan
Making peds attack you is pretty easy, but that's not what this topic is about.

The topic is keeping them from fleeing. we can't do that yet, so the next best thing is getting them to rush towards you rather than away from you.

Share this post


Link to post
Share on other sites
L0uNGeR
Making peds attack you is pretty easy, but that's not what this topic is about.

The topic is keeping them from fleeing. we can't do that yet, so the next best thing is getting them to rush towards you rather than away from you.

I said attacking, not rushing towards you.

I'm still trying to create a function that returns all peds and/or vehicles withing a specified radius, I've only found a way to get ONE ped or car that is closest to you.

Share this post


Link to post
Share on other sites
kevaughan
Making peds attack you is pretty easy, but that's not what this topic is about.

The topic is keeping them from fleeing. we can't do that yet, so the next best thing is getting them to rush towards you rather than away from you.

I said attacking, not rushing towards you.

I'm still trying to create a function that returns all peds and/or vehicles withing a specified radius, I've only found a way to get ONE ped or car that is closest to you.

JEsus ! you are one step closer to solving the mystery!

 

lol i remember someone mentioned that the natives are specific to one ped. and that he told the guy attempted to script:

 

it would take a f*ck load of code lines to work arround that.

good luck my friend. pm me if you have the answer! my zombie mod will come true biggrin.gif muhahaha!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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