Quantcast

Jump to content

» «
Photo

Ped Config Flags

12 replies to this topic
jedijosh920
  • jedijosh920

    ⭐⭐⭐⭐⭐

  • Members
  • Joined: 01 Mar 2012
  • United-States

#1

Posted 29 October 2015 - 05:36 PM Edited by jedijosh920, 29 October 2015 - 05:44 PM.

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 collision
71 - Dead?
78 - Returns if ped is aiming/shooting gun
166 - Pedestrian injured limp
187 - Makes pedestrian injured (holding stomach) while in combat with pistol
Example of 187 flag when set to true
Spoiler
  • Fireboyd78, reditec, R3QQ and 2 others like this

leonardosc
  • leonardosc

    Player Hater

  • New Members
  • Joined: 03 Aug 2015
  • Brazil

#2

Posted 30 October 2015 - 01:40 AM

Thanks

R3QQ
  • R3QQ

    Den som söker han finner

  • Members
  • Joined: 30 May 2015
  • Sweden

#3

Posted 01 February 2016 - 08:37 AM Edited by R3QQ, 01 February 2016 - 08:37 AM.

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 https://www.youtube....h?v=Xmn65aPstyQ (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

LS Savage
  • LS Savage

    Player Hater

  • Members
  • Joined: 11 Feb 2016
  • Canada

#4

Posted 11 February 2016 - 02:16 AM

Smaller scaled peds is apparently PED_FLAG_SHRINK = 223

 
Was just about to post this
Spoiler
  • jedijosh920 likes this

jedijosh920
  • jedijosh920

    ⭐⭐⭐⭐⭐

  • Members
  • Joined: 01 Mar 2012
  • United-States

#5

Posted 11 February 2016 - 06:10 AM

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


Unknown_Modder
  • Unknown_Modder

    Staff at GTA5-Mods.com

  • Members
  • Joined: 07 May 2015
  • Germany

#6

Posted 11 February 2016 - 03:26 PM

:r*:


InfamousSabre
  • InfamousSabre

    Harpocrates

  • Members
  • Joined: 03 Jan 2013

#7

Posted 29 February 2016 - 08:13 AM

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

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

No more writhe mode!
  • R3QQ likes this

R3QQ
  • R3QQ

    Den som söker han finner

  • Members
  • Joined: 30 May 2015
  • Sweden

#8

Posted 29 February 2016 - 08:24 AM

Nice but what's writhe mode?

InfamousSabre
  • InfamousSabre

    Harpocrates

  • Members
  • Joined: 03 Jan 2013

#9

Posted 29 February 2016 - 08:30 AM Edited by InfamousSabre, 29 February 2016 - 08:32 AM.

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...entry1068558092
  • ikt, jedijosh920 and R3QQ like this

R3QQ
  • R3QQ

    Den som söker han finner

  • Members
  • Joined: 30 May 2015
  • Sweden

#10

Posted 02 March 2016 - 08:40 AM Edited by R3QQ, 02 March 2016 - 08:41 AM.

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. 


Azorah
  • Azorah

    C# Developer

  • Members
  • Joined: 21 Feb 2016
  • England

#11

Posted 01 April 2016 - 08:32 PM

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.


Phnx
  • Phnx

    Rat

  • Members
  • Joined: 06 Dec 2008

#12

Posted 05 April 2016 - 03:51 AM

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.


CliffHanger
  • CliffHanger

    Default Avatars are Han Solos

  • Members
  • Joined: 14 Jan 2016
  • Canada

#13

Posted 19 January 2017 - 11:48 PM Edited by CliffHanger, 20 January 2017 - 12:03 AM.

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users