Env render (Half-Life: Source): Difference between revisions
Jump to navigation
Jump to search
Tip:renderamt and rendercolor can be directly assigned with an entity's Alpha and Color inputs, which saves an edict (as env_render is not a server-only entity).
Confirm:Addoutputing may work for renderfx and rendermode.
SirYodaJedi (talk | contribs) (Created page with "{{tabsBar|main=hls|base=env_render}} {{CD|CRenderFxManager|file1=hl1_ents.cpp}} {{this is a|logical entity|name=env_render|game=Half-Life: Source}} This entity allows you to change the rendering properties of most of the visible entities in the game (monsters, func_walls etc.), while the map is running. The four render properties of the env_render will be copied to its target, unless disabled with the applicable spawnflag. {{tip|{{mono|renderamt}} and {{mono|re...") |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
This entity allows you to change the rendering properties of most of the visible entities in the game ([[monster]]s, [[func_wall]]s etc.), while the map is running. The four render properties of the env_render will be copied to its target, unless disabled with the applicable spawnflag. | This entity allows you to change the rendering properties of most of the visible entities in the game ([[monster]]s, [[func_wall]]s etc.), while the map is running. The four render properties of the env_render will be copied to its target, unless disabled with the applicable spawnflag. | ||
{{tip|{{mono|renderamt}} and {{mono|rendercolor}} can be directly assigned with an entity's {{mono|Alpha}} and {{mono|Color}} [[inputs]], which saves an [[edict]] (as env_render is not a server-only entity).}} | {{tip|{{mono|renderamt}} and {{mono|rendercolor}} can be directly assigned with an entity's {{mono|Alpha}} and {{mono|Color}} [[inputs]], which saves an [[edict]] (as env_render is not a server-only entity).{{confirm|[[Addoutput]]ing may work for renderfx and rendermode.}} }} | ||
== Keyvalues == | == Keyvalues == | ||
Revision as of 19:32, 29 April 2025
| CRenderFxManager |
env_render is a logical entity available in
Half-Life: Source.
This entity allows you to change the rendering properties of most of the visible entities in the game (monsters, func_walls etc.), while the map is running. The four render properties of the env_render will be copied to its target, unless disabled with the applicable spawnflag.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Target (target) <targetname>
- Entity to copy render properties to.
RenderFields:
- Render Mode (rendermode) <byte choices>
- Set a non-standard rendering mode on this entity.
Render Modes
- Render FX (renderfx) <byte choices>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <byte>
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255>
- Color tint.
Flags
- No renderfx : [1]
- No renderamt : [2]
- No rendermode : [4]
- No rendercolor : [8]
Inputs
- Activate
- Copy this entity's render properties to the target entity.