Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Add flags argument to util.DecalEx #1178

Open Kefta opened 6 years ago

Kefta commented 6 years ago

It's already an argument RDecalShoot: https://github.com/VSES/SourceEngine2007/blob/43a5c90a5ada1e69ca044595383be67f40b33c61/se2007/engine/r_decal.cpp#L974-L975 Possible flags: https://github.com/VSES/SourceEngine2007/blob/43a5c90a5ada1e69ca044595383be67f40b33c61/se2007/engine/decal_private.h#L59-L74

FDECAL_PLAYERSPRAY, FDECAL_PERMANENT, FDECAL_CUSTOM, and FDECAL_DONTSAVE are particularly useful for controlling decal priority and permanence.

Kefta commented 1 year ago

Can this and https://github.com/Facepunch/garrysmod-requests/issues/1179 be looked into as DecalEx was modified recently? And potentially https://github.com/Facepunch/garrysmod-requests/issues/1918 but I couldn't find a simple way to implement it.

ZH-Hristov commented 8 months ago

At the very least PERMANENT would be really nice, could have saveable/dupeable psuedo info_overlays.

SECONDPASS can be done already with the similarly named material param IIRC.