Env render individual

From Sven Co-op
Revision as of 02:02, 18 March 2023 by Outerbeast (talk | contribs) (Created page with "Entity that acts like env_render but applied render settings will be seen only by certain players. This allows you to make entities be seen by players differently (e.g. visibl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Entity that acts like env_render but applied render settings will be seen only by certain players. This allows you to make entities be seen by players differently (e.g. visible only for some players).

1 Keyvalues

  • "Entity to affect", target : Entity to change appearance of.
  • "Player to Affect", netname : Player's targetname that will see the effect of this entity.
  • "Entity to copy from", message : Entity to copy render values which will be applied to target entity. 'Use Entity to copy from' flag must be selected for this to take effect.

2 Flags

  • 1: "No render-fx": If set, the env_render won't change its targets render-fx.
  • 2: "No render-amt": If set, the env_render won't change its targets render-amt.
  • 4: "No render-mode": If set, the env_render won't change its targets render-mode.
  • 8: "No render-color": If set, the env_render won't change its targets render-color.
  • 16: "Auto apply": Does not work. (Please check if this is correct)
  • 32: "Start On": Apply settings at the map start.
  • 64: "Affect Activator": Instead of affecting players with targetnames specified in 'target' field, affect the player who activated the script (e.g. through button or trigger).
  • 128: "Use Entity to copy from": Make use of 'Entity to copy from' keyvalue, ignoring manually typed render values.

3 Notes

  • Once applied, entity appearance for affected players won't change even if players gets respawned with new targetname.
  • Entities that have their appearance changed will revert back to the original render settings if the env_render_individual that applied the rendering is removed from the game, e.g. via killtarget.