Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,691 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

jedijosh920

Ped Config Flags

Recommended Posts

jedijosh920

This thread is for all known ped config flags. If you find any, put them in here and we can make a big list for everyone to use.

 

You can set the config flags by applying the value and the bool to a ped.

 

SET_PED_CONFIG_FLAG, ped, flag, bool
You can also reset the config flag. The bool is always true if you want to reset it, no point in using false.

 

SET_PED_RESET_FLAG, ped, flag, true
Lastly, you can check if a ped is doing a config flag. The bool is always set to true.

 

GET_PED_CONFIG_FLAG, ped, flag, true
List of known ped config flags:

 

32 - Cannot fly out of vehicle (seat belt)52 - No collision71 - Dead?78 - Returns if ped is aiming/shooting gun166 - Pedestrian injured limp187 - Makes pedestrian injured (holding stomach) while in combat with pistol
Example of 187 flag when set to true

 

 

59NLbWd.jpg

 

 

Edited by jedijosh920

Share this post


Link to post
Share on other sites
leonardosc

Thanks

Share this post


Link to post
Share on other sites
R3QQ
I didn't see this thread for some reason.


"The bool is always true if you want to reset it, no point in using false."

That means that all peds config flags needs to be looped?


Anyway, I posted this in the wrong place a while back:

When flagId is set to 62 and the boolvalue to false this happens: Ped is taken out of vehicle and can't get back in when jacking their empty vehicle. If in a plane it falls from the sky and crashes. Sometimes peds vehicle continue to drive the route without its driver who's running after.


I also found ped walking with bent legs
(maybe this is some form of injury?) and smaller scaled ped in size.

Both when boolvalue is true. Haven't gone down to exact flagId for these two. I saw that menyoo is now using the smaller scaled peds flag.


I see now that the native db has been updated. Smaller scaled peds is apparently PED_FLAG_SHRINK = 223

Edited by R3QQ

Share this post


Link to post
Share on other sites
LS Savage

Smaller scaled peds is apparently PED_FLAG_SHRINK = 223

Was just about to post this

 

 

yiah2JP.png

 

 

Share this post


Link to post
Share on other sites
jedijosh920

Lol! I wonder why they added that ped config flag?

Share this post


Link to post
Share on other sites
Unknown_Modder

:r*:

Share this post


Link to post
Share on other sites
InfamousSabre

So... I think a lot of people are going to love this.

 

PED::SET_PED_CONFIG_FLAG(ped, 281, 1);

 

No more writhe mode!

Share this post


Link to post
Share on other sites
R3QQ

Nice but what's writhe mode?

Share this post


Link to post
Share on other sites
InfamousSabre

Nice but what's writhe mode?

Its that dumb state peds go into where they lay on the ground, whining about their injuries and ultimately die even though they have tons of health left.

 

http://gtaforums.com/topic/843509-peds-dying-too-quickly/?p=1068558092&do=findComment&comment=1068558092

Edited by InfamousSabre

Share this post


Link to post
Share on other sites
R3QQ

So I found 292, which is freeze the ped when set to true. Unfreeze when false. It freezes the playerPed in it's current movement. Freezing while skydiving from mount chiliad is quite funny when the player is sliding down the mountain. I recorded it with Rockstar Editor but it crashed the game when I tried to edit the video. Haven't tried to record with something better yet.

 

Works best with the player. With peds it's a different story, they don't seem to spawn and when already spawned they fall through the ground when being hit with a car.

Edited by R3QQ

Share this post


Link to post
Share on other sites
Azorah

Is there now a pastebin with all of these in now? If not; can someone make one, or send me flags they know, and I will create it.

Share this post


Link to post
Share on other sites
Phnx

Is there a flag to make a ped be treated like a player character? I mean when playing as a non-story model to be able to use shops etc.

Share this post


Link to post
Share on other sites
CliffHanger

Anyone found a way of completely negating fall animation / scream ETC?

 

If I gently walk off a ledge with these flags and CanRagdoll to false, my character will land and control as if nothing happened.

 

76 = FALSE

60, 61, 104, 276 = TRUE

But if I jump or climb over a rooftop ledge it will stumble early midair... not sure why this is happening.

According to the DB 60,61,104 are the flags that are set to true when jumping or falling.

 

I guess what I really should look for are the flags R* made for the superjump..

Edited by CliffHanger

Share this post


Link to post
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

×

Important Information

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