Trigger tonemap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added non-SmartEdit name)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{CD|CTonemapTrigger|file1=env_tonemap_controller.h}}
{{base brush|trigger_tonemap|since=Left 4 Dead}}
{{base brush|trigger_tonemap|since=Left 4 Dead}}


== Entity description ==
Changes [[env_tonemap_controller|tonemap controllers]] for players touching the trigger.
Changes [[env_tonemap_controller|tonemap controllers]] for players touching the trigger.


Line 8: Line 8:


== Keyvalues ==
== Keyvalues ==
{{KV|Tonemap Name (TonemapName)|target_destination|The name of the tonemap controller entity associated with this trigger.}}
{{KV|Tonemap Name|intn=TonemapName|target_destination|The name of the tonemap controller entity associated with this trigger.}}
{{KV Targetname}}
 
== Inputs ==
{{I Targetname}}
 
== Outputs ==
{{O Targetname}}


[[Category:Lighting]]
[[Category:Lighting]]

Revision as of 04:48, 6 November 2022

C++ Class hierarchy
CTonemapTrigger
CBaseTrigger
CBaseToggle
CBaseEntity
C++ env_tonemap_controller.cpp

Template:Base brush

Changes tonemap controllers for players touching the trigger.

Note.pngNote:This entity is only in the FGDs of the Left 4 Dead series. However, it still exists in the engine.
Note.pngNote:This entity has keyvalues, inputs, and outputs available to usual trigger_* entities, but only has Targetname listed as a base, so they're not listed in the FGD, but can still be added via turning off SmartEdit.

Keyvalues

Tonemap Name (TonemapName) <targetname>
The name of the tonemap controller entity associated with this trigger.