Difference between revisions of "Env render individual"

From Sven Co-op
Jump to navigation Jump to search
m (Formatting)
 
Line 2: Line 2:
  
 
== Keyvalues==
 
== Keyvalues==
* "Entity to affect", target : Entity to change appearance of.
+
{{Entity_keyvalue|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_keyvalue|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.
+
{{Entity_keyvalue|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.}}
  
 
== Flags ==
 
== Flags ==
* 1: "No render-fx": If set, the env_render won't change its targets render-fx.
+
{{Entity_flag|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.
+
{{Entity_flag|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.
+
{{Entity_flag|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.
+
{{Entity_flag|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)
+
{{Entity_flag|16|Auto apply|Does not work. (Please check if this is correct)}}
* 32: "Start On": Apply settings at the map start.
+
{{Entity_flag|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).
+
{{Entity_flag|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.
+
{{Entity_flag|128|Use Entity to copy from|Make use of 'Entity to copy from' keyvalue, ignoring manually typed render values.}}
  
 
== Notes ==
 
== Notes ==

Latest revision as of 22:38, 19 March 2023

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.