12 Months Ago
Do not force nextbot/SNPC render group to opaque by default Let the engine decide. More Sandbox entity and tool clean ups * Removed redundant calls to SetMoveType and SetSolid Fixed certain sandbox tool entities not saving certain settings in duplications Such as being frozen by the tool gun. Consistency pass on Sandbox tools Duplicator saves "Make Persistent" setting Added ENT.WantsTranslucency and use it for sandbox entities If set and ENT.RenderGroup is not, and the default calculated render group is opaque - switch render group to RENDERGROUP_BOTH This works better than forcing RENDERGROUP_BOTH at all times - for example when you want to draw translucent/transparent effects when the entity's model is opaque and therefore the default render group is opaque and does not call ENT.DrawTranslucent