Hi everyone,
I’m currently developing an automated tool to generate a clothing catalog for my server. The goal is to take high-quality screenshots of each clothing item (drawable) on a green screen, remove the background, and use them in a web-based UI or shop.
The Goal: I want to achieve a “Ghost Clothing” effect: the player’s body (head, limbs, torso) should be completely invisible, while the clothing item being screenshotted remains 100% visible and opaque.
What I’ve tried so far:
-
SetEntityAlpha(ped, 0): This doesn’t work because it makes the clothing invisible as well.
-
SetEntityVisible(ped, false): Same issue, it hides the entire entity including attached drawables.
My Questions:
- Is there a specific Native or State Bag that allows rendering only the drawables without the base ped mesh?