Game scavenge progress display: Difference between revisions
Jump to navigation
Jump to search
(-desc) |
(-todo) |
||
Line 1: | Line 1: | ||
[[File:Progress display.png|thumb]] | [[File:Progress display.png|thumb]] | ||
{{CD|CScavengeProgressDisplay}} | {{CD|CScavengeProgressDisplay}} | ||
{{l4d2 point|game_scavenge_progress_display}} It displays the number of gas cans successfully filled by survivors to all [[point_prop_use_target]]s combined in the given round on the upper part of the screen as <code><number_of_cans_filled> / <Max></code>. Number of filled cans cannot be decreased. Turning it off and back on won't nullify the amount. | {{l4d2 point|game_scavenge_progress_display}} It displays the number of gas cans successfully filled by survivors to all [[point_prop_use_target]]s combined in the given round on the upper part of the screen as <code><number_of_cans_filled> / <Max></code>. Number of filled cans cannot be decreased using available I/O but it's possible with vscripts. Turning it off and back on won't nullify the amount. | ||
{{todo|explain how to decrease the counter with vscript}} | |||
== Keyvalues == | == Keyvalues == | ||
Line 11: | Line 12: | ||
{{IO|TurnOff|Turn the display off.}} | {{IO|TurnOff|Turn the display off.}} | ||
{{IO|SetTotalItems|Set the target (or total) number of scavenge items.|param=integer}} | {{IO|SetTotalItems|Set the target (or total) number of scavenge items.|param=integer}} | ||
== See Also == | == See Also == | ||
* [[point_prop_use_target]] | * [[point_prop_use_target]] | ||
* [[weapon_scavenge_item_spawn]] | * [[weapon_scavenge_item_spawn]] |
Revision as of 22:02, 6 September 2023
![]() |
---|
CScavengeProgressDisplay |
Template:L4d2 point It displays the number of gas cans successfully filled by survivors to all point_prop_use_targets combined in the given round on the upper part of the screen as <number_of_cans_filled> / <Max>
. Number of filled cans cannot be decreased using available I/O but it's possible with vscripts. Turning it off and back on won't nullify the amount.
Todo: explain how to decrease the counter with vscript
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
- Max (Max) <integer>
- Number of items to collect.
Inputs
- TurnOn
- Turn the display on.
- TurnOff
- Turn the display off.
- SetTotalItems <integer >
- Set the target (or total) number of scavenge items.