Trigger tonemap: Difference between revisions
Jump to navigation
Jump to search
Note:This entity is only in the FGDs of the Left 4 Dead series. However, it still exists in subsequent games.
Note:This entity has keyvalues, inputs, and outputs available to usual trigger_* entities, but only has
m (Minor changes, and added a note about keyvalues/inputs/outputs being available to this entity; but not listed in the FGD.) |
No edit summary |
||
(11 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Ent not in fgd}} | ||
{{CD|CTonemapTrigger|file1=env_tonemap_controller.h}} | |||
{{this is a|brush entity|name=trigger_tonemap|since=Left 4 Dead}} {{also|{{gmod}}}} | |||
Changes {{ent|env_tonemap_controller}} for players touching the trigger. | |||
Changes | |||
{{note|This entity is only in the [[FGD|FGDs]] of the Left 4 Dead series. However, it still exists in | {{note|This entity is only in the [[FGD|FGDs]] of the Left 4 Dead series. However, it still exists in subsequent games.}} | ||
{{note|This entity has keyvalues, inputs, and outputs available to usual trigger_* entities, but only has <code>Targetname</code> listed as a base, so | {{note|This entity has keyvalues, inputs, and outputs available to usual trigger_* entities, but only has <code>Targetname</code> listed as a base, so they're not listed in the [[FGD]], but can still be added via turning off SmartEdit.}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Tonemap Name|intn=TonemapName|target_destination|The name of the tonemap controller entity associated with this trigger.}} | |||
== | == FGD Code == | ||
<pre>@SolidClass base(Trigger) = trigger_tonemap : "Changes tonemap controllers for players touching the trigger." | |||
[ | |||
TonemapName(target_destination) : "Tonemap Name" : : "The name of the tonemap controller entity associated with this trigger." | |||
]</pre> | |||
== | == See also == | ||
{{ | * {{ent|env_tonemap_controller}} | ||
[[Category:Lighting]] | [[Category:Lighting]] |
Latest revision as of 10:55, 13 June 2025
![]() |
---|
CTonemapTrigger |
![]() |
trigger_tonemap
is a brush entity available in all Source games since
Left 4 Dead. (also in
)
Changes env_tonemap_controller for players touching the trigger.


Targetname
listed as a base, so they're not listed in the FGD, but can still be added via turning off SmartEdit.Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Tonemap Name (TonemapName) <targetname>
- The name of the tonemap controller entity associated with this trigger.
FGD Code
@SolidClass base(Trigger) = trigger_tonemap : "Changes tonemap controllers for players touching the trigger." [ TonemapName(target_destination) : "Tonemap Name" : : "The name of the tonemap controller entity associated with this trigger." ]