Open kassibuss opened 1 week ago
could probably repurpose the glow effect we have in spectator xray, maybe with the option to only draw the effect when unobstructed
The engine also comes with some RenderFx_t
enumerations for the m_nRenderFX
BaseEntity property - I recall these should work out of the box (at least they did in SDK06), and had some kind of highlight enum in there that may be worth trying.
Perhaps the custom xray mode would be even worth refactoring as a RenderFx_t
, so that mappers/modders could set it on any objects(?)
edit: Sorry, I think it was perhaps RenderMode_t
instead
The engine also comes with some
RenderFx_t
enumerations for them_nRenderFX
BaseEntity property - I recall these should work out of the box (at least they did in SDK06), and had some kind of highlight enum in there that may be worth trying.Perhaps the custom xray mode would be even worth refactoring as a
RenderFx_t
, so that mappers/modders could set it on any objects(?)edit: Sorry, I think it was perhaps
RenderMode_t
instead
to be fair the xray idea might be a bit overkill, what you suggested or even a simple material override would work just as fine
https://github.com/user-attachments/assets/00801d99-e111-41b2-b8ab-3aadf05a9073
Making the models transparent isn't the greatest, since parts of the models like the vest and mask show up really dark suddenly, I guess probably because they have a very dark texture underneath where they aren't normally visible, but kRenderFxDistort gives a cool cyberpunky effect
Description
When we tried the deathmatch mode, it was hard to know who was just afking or who had the spawn protection, this caused confusion.
Proposed Solution
Add an effect to the players when they have spawn protection, also maybe some sort of text on the hud that notifies about the amount of spawn protection left
Alternatives Considered
No response
Additional Context
In cs, the players are transparent when they have spawn protection on