Dod scoring: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the dods point template)
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{dods point|dod_scoring}}
{{this is a|logical entity|name=dod_scoring|game=Day of Defeat: Source}}


==Entity description==
The dod_scoring entity gives selected Teams points if triggered.
The dod_scoring entity gives selected Teams points if triggered.


==Keyvalues==
{{Confusion|Not to be confused with the {{dod|4|nt=1}} entity {{ent|dod_score_ent (GoldSrc)|alt=dod_score_ent}}, which controls end-of-round scoring.}}
 
==Key Values==
{{KV Targetname}}
{{KV Targetname}}
 
{{KV|Team Number (int)|intn=TeamNum|int|Determines which team gets the points.}}
{{KV|Team Number (int)|int|Determines which team gets the points.}}
{{KV|Seconds between point gives|intn=point_give_delay|int|The time (in seconds) until the team gets points again.}}
 
{{KV|Points to give each time|intn=point_give_amount|int|The number of points to get the team every time.}}
{{KV|Seconds between point gives|int|The time (in seconds) until the team gets points again.}}
{{KV|Max number of times to give points|intn=point_give_max_times|int|Determines how often the team gets points.}}
 
{{KV|Points to give each time|int|The number of points to get the team every time.}}
 
{{KV|Max number of times to give points|int|Determines how often the team gets points.}}
 
== Inputs ==
{{I Targetname}}
 
==Outputs==
{{O Targetname}}

Latest revision as of 05:13, 29 April 2025

dod_scoring is a logical entity available in Day of Defeat: Source Day of Defeat: Source.

The dod_scoring entity gives selected Teams points if triggered.

Warning.pngRisk of Confusion:Not to be confused with the Day of Defeat Day of Defeat 1.3 entity dod_score_ent, which controls end-of-round scoring.

Key Values

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Team Number (int) (TeamNum) <integer>
Determines which team gets the points.
Seconds between point gives (point_give_delay) <integer>
The time (in seconds) until the team gets points again.
Points to give each time (point_give_amount) <integer>
The number of points to get the team every time.
Max number of times to give points (point_give_max_times) <integer>
Determines how often the team gets points.