jedijosh920 Posted May 24, 2016 Share Posted May 24, 2016 (edited) Does anyone know the native or memory address (?) to achieve the second image? I remember in GTA IV there was a function to set the visibility on components such as the head, but I'm not sure if there is one for GTA V. It happens if you are in first person view and are a pedestrian model different from the players. Maybe there is something someone could find with quick disassembly to see how the first person script works, idk. Any ideas or help is appreciated! Edited May 24, 2016 by jedijosh920 Link to comment Share on other sites More sharing options...
g3o0or Posted May 28, 2016 Share Posted May 28, 2016 You can use invalid ped component variation to hide head: PED::SET_PED_COMPONENT_VARIATION(PLAYER::PLAYER_PED_ID(), 0, 20, 20, 2); jedijosh920 1 Link to comment Share on other sites More sharing options...
jedijosh920 Posted May 28, 2016 Author Share Posted May 28, 2016 (edited) You can use invalid ped component variation to hide head: PED::SET_PED_COMPONENT_VARIATION(PLAYER::PLAYER_PED_ID(), 0, 20, 20, 2); Awesome never thought of doing that, I always set the variation one more ahead of the last invalid one lol, and palette id may have something to do with it. But there is something wrong with this as sometimes the head component is attached to the hands but it'll do for now I suppose, thanks a lot!!! EDIT: It only seems to work for the MPFreeModeMale model and all you needed to do is set the texture variation to 1 and everything else including the pallete id can be set to 0, now if you do this to a pedestrian it won't do anything, but if you set a valid drawable and an invalid texture it makes it camouflage with the environment lol. Edited May 28, 2016 by jedijosh920 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now