S3ven Posted June 17 Share Posted June 17 (edited) (C#, ScriptHookV, ScriptHookVDotNet) Hello, I have the following problem, although I would like to make the following peds (FreemodeFemale01, FreemodeMale01) invisible, but you should still be able to see the clothes. Edited June 17 by S3ven Link to comment Share on other sites More sharing options...
LeeC22 Posted June 17 Share Posted June 17 (edited) 17 minutes ago, S3ven said: (C#, ScriptHookV, ScriptHookVDotNet) Hello, I have the following problem, although I would like to make the following peds (FreemodeFemale01, FreemodeMale01) invisible, but you should still be able to see the clothes. I'm not sure if setting the component value to -1 will work, might be worth trying. Edit: Looking at the natve, it might be the drawable that you could try setting to -1. void SET_PED_COMPONENT_VARIATION(Ped ped, int componentId, int drawableId, int textureId, int paletteId) Disclaimer: I have no idea if this would work, it's just a guess. Edited June 17 by LeeC22 Link to comment Share on other sites More sharing options...
S3ven Posted June 17 Author Share Posted June 17 No, I don't mean that, I mean the ped should be invisible but the clothes shouldn't be visible Link to comment Share on other sites More sharing options...
LeeC22 Posted June 17 Share Posted June 17 2 minutes ago, S3ven said: No, I don't mean that, I mean the ped should be invisible but the clothes shouldn't be visible I can't read that... what does it say? Link to comment Share on other sites More sharing options...
S3ven Posted June 17 Author Share Posted June 17 No I do not mean that I mean the ped should be invisible but the clothes should not be visible LeeC22 1 Link to comment Share on other sites More sharing options...
LeeC22 Posted June 17 Share Posted June 17 (edited) 7 minutes ago, S3ven said: No I do not mean that I mean the ped should be invisible but the clothes should not be visible The clothes are part of the ped though, it isn't a body with clothes on top like a real person. A ped model is made up of several parts (components), so you have to work out which part is for the body and which part is for the clothes. You can't just turn the body off, it's more complicated than that. Edited June 17 by LeeC22 Link to comment Share on other sites More sharing options...
S3ven Posted June 17 Author Share Posted June 17 okay thanks for your help Link to comment Share on other sites More sharing options...
LeeC22 Posted June 17 Share Posted June 17 3 minutes ago, S3ven said: okay thanks for your help If you want to see what I mean go here: update\x64\dlcpacks\mpapartment\dlc.rpf\x64\models\cdimages\mpapt01.rpf\mp_f_freemode_01_female_apt01 and look at lowr_008_r.ydd Notice at the bottom of the legs you can see skin for the feet? You can't turn those feet off and leave the clothes behind. Link to comment Share on other sites More sharing options...
S3ven Posted June 17 Author Share Posted June 17 2 hours ago, LeeC22 said: If you want to see what I mean go here: update\x64\dlcpacks\mpapartment\dlc.rpf\x64\models\cdimages\mpapt01.rpf\mp_f_freemode_01_female_apt01 and look at lowr_008_r.ydd Notice at the bottom of the legs you can see skin for the feet? You can't turn those feet off and leave the clothes behind. Yes that would not be bad my goal is to make a transparent image of each part of the clothing for it would be good if the ped was invisible (as much as possible) Link to comment Share on other sites More sharing options...
LeeC22 Posted June 17 Share Posted June 17 2 hours ago, S3ven said: my goal is to make a transparent image of each part of the clothing for it would be good if the ped was invisible (as much as possible) That won't work I am afraid. The shader used for the ped's body doesn't support transparency, so all that would happen is the transparent parts would turn black. Or at least that's what happened when I tried a similar thing many years ago. You would have to edit the models to change the shader to one that supports transparency. It would probably be easier to choose a single complete outfit, export the model parts, delete the polygons where the skin is applied and then add that duplicate outfit back as addon clothing. Then just switch to that outfit with a trainer or mod. If you wanted to do it for all the clothing it would be a huge amount of work though, because there are hundreds of clothing items. Link to comment Share on other sites More sharing options...
S3ven Posted June 17 Author Share Posted June 17 3 hours ago, LeeC22 said: That won't work I am afraid. The shader used for the ped's body doesn't support transparency, so all that would happen is the transparent parts would turn black. Or at least that's what happened when I tried a similar thing many years ago. You would have to edit the models to change the shader to one that supports transparency. It would probably be easier to choose a single complete outfit, export the model parts, delete the polygons where the skin is applied and then add that duplicate outfit back as addon clothing. Then just switch to that outfit with a trainer or mod. If you wanted to do it for all the clothing it would be a huge amount of work though, because there are hundreds of clothing items. Yes that is quite a lot of effort, how does it look the only with the head to make this invisible? Link to comment Share on other sites More sharing options...
LeeC22 Posted June 18 Share Posted June 18 8 hours ago, S3ven said: Yes that is quite a lot of effort, how does it look the only with the head to make this invisible? I have just thought of something you could try. If you download the mod I have linked below, it comes with a mod called Dismemberment.asi, which allows you to hide parts of the body. The mod I have linked to uses it to hide the player's head. Maybe if you can find out how it works, you could use it to hide the head, hands and feet of the model. I have never used it so I don't know how it works but the manual transmission mod is open source, so you can probably find out by looking in there. https://www.gta5-mods.com/scripts/manual-transmission-ikt 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