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

    1. GTANet.com

    1. GTA Online

      1. The Contract
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

Ped Config Flags


jedijosh920
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • 3 months later...
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
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
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!

  • Like 2
Link to comment
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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 5 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 9 months later...

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
Link to comment
Share on other sites

  • 2 years later...

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
 Share

  • 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.