Dod scoring: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
The dod_scoring entity gives selected Teams points if triggered.
The dod_scoring entity gives selected Teams points if triggered.


{{modernConfusion|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.}}
{{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==
==Key Values==
Line 11: Line 11:
{{KV|Points to give each time|intn=point_give_amount|int|The number of points to get the team every time.}}
{{KV|Points to give each time|intn=point_give_amount|int|The number of points to get the team every time.}}
{{KV|Max number of times to give points|intn=point_give_max_times|int|Determines how often the team gets points.}}
{{KV|Max number of times to give points|intn=point_give_max_times|int|Determines how often the team gets points.}}
== Inputs ==
{{expand|title=CBaseEntity|
{{I BaseEntity|base=1}}
}}
==Outputs==
{{O Targetname}}

Revision as of 02:43, 26 September 2024

dod_scoring is a point 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.