How to make a custom entity support transparency like "prop_physics"?
2 replies, posted
Currently I can only get "prop_physics" entities with my model attached to it support propper transparency...
Like this works:
local ent = ents.Create("prop_physics")
ent:SetModel("models/mymdl/my_mdl.mdl")
...This dosen't (I don't know what to define in the scripted entity...):
local ent = ents.Create("my_scripted_ent")
ent:SetModel("models/mymdl/my_mdl.mdl")
The model applied to my own scripted entity:
https://files.facepunch.com/forum/upload/350606/53226e67-5c97-46f1-aeda-9644162126c9/000.jpg
The model applied to the "prop_physics" entity:
https://files.facepunch.com/forum/upload/350606/2ace89d6-0742-4285-9440-08d56fa329ed/001.jpg
This should help:
RENDERMODE Enumerations
Hello, thank you for responding. I also posted it here heh... Found a solution: How to make a custom entity support transparency like "prop_phys..
Sorry, you need to Log In to post a reply to this thread.