Log in to reply
 

Making a prop invisible?!



  • Does anyone know of a trick to make a prop invisible? On purpose. I tried playing with the bbMin/Max values a bit, and you can get an object to disappear from view, but then its physics/collision appears gone too.

    Thanks.



  • Nevermind, LOL, I just did it the dirty way: take a floor element and replace its textures with 100% Alpha ones. :)



  • Damn, that only worked in CodeWalker. In-game, the object is just black.



  • Someone, please, help me out a little. :)

    I saved the transparent images as DXT5; it just won't do transparency.

    So, maybe I'm doing the transparency wrong? I basically unchecked the background, and saved the image to 24-png with transparency. Then used an existing dds image to replace (ugly, but nVidia DDS tool does not support transparency); then I used the OpenIV created DXT5 DDS image as my main image.

    The prop looks invisible in CodeWalker and OpenIV, but the stupid games wants to know best, and still just shows it as black.



  • @meimeiriver I'd be inclined to think it may be based on model color.

    you know how car models always come up white? that's the default color base. Even textured models have this but it's immediately replaced with a texture. Try that. I don't know CodeWalker but this is just a suggestion.



  • @krashadam said in Making a prop invisible?!:

    @meimeiriver I'd be inclined to think it may be based on model color.

    you know how car models always come up white? that's the default color base. Even textured models have this but it's immediately replaced with a texture. Try that. I don't know CodeWalker but this is just a suggestion.

    Thanks for the reply. But try what exactly? I can't make 'black' transparency, and have no control over the color of the prop.



  • This post is deleted!


  • This post is deleted!


  • I just remembered Dekurwinator talking about many invisible props in their own addon props DLC. So I used one of those! Fugly as hell, LOL, but it works!

    P.S. Actually, many of those props aren't as broken as Dekurwinator may have thought (something about skinned mesh): only if you use a 'broken' prop in combination with a broken ytyp setting, will they become truly invisible within a ymap. But they keep their collision. Just like the Doctor ordered. :)

    So, tl;dr, I was finally able to create a faux collision frame for my scaled-down helipad.

    P.P.S. Anyone who's ever built anything in Second Life will understand the crucial importance of an invisible prim: an essential building block. And the beauty of these invisi GTA V 'prims' is, that you can spawn then in-game, and they're fully visible, so you can position them properly, and then they become invisible automagically when you put them in your ymap. :)



  • Is there anyone out there who knows of a tool/plugin to handle DDS with Alpha channel?! That idiotic nVidia plugin keeps losing the Alpha channel when you save your file. Really need to edit some dds files.



  • I realize this forum is as good as done for, LOL, but, if anyone still cares, my scaled down, grey mini helipad is finally done, with 100% faux collision:

    Mini Helipad

    Can't believe Photoshop gave me so much grief over its dismal DDS support (needed for the greyscaled 8-bit/channel palette DDS image).



  • Along the way of my search for a proper mirror flag, I found a pertinent value: set the ymap flags of your prop to "538443776", and it becomes invisible in your ymap! (But it keeps its collision!) This is much cleaner than trying to use a 'broken' object (see above).


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.