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

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

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
theangrybagel

Flag 18 prevents the ped from punching things.

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.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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