Dod scoring: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{wrongtitle|title=dod_scoring}} {{point ent|{{{1|}}}|game=Day of Defeat: Source|icon=dods}}<includeonly>Category:Day of Defeat:SourceEntities</includeonly><noinclude> ==Ent…')
 
No edit summary
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{wrongtitle|title=dod_scoring}}
{{this is a|logical entity|name=dod_scoring|game=Day of Defeat: Source}}
{{point ent|{{{1|}}}|game=Day of Defeat: Source|icon=dods}}<includeonly>[[Category:Day of Defeat:SourceEntities]]</includeonly><noinclude>


==Entity Description==
The dod_scoring entity gives selected Teams points if triggered.
Gives selected Teams points if triggered.
==Keyvalues==
* '''Name'''
:Name of the Entity.
* '''Team Number (int)'''
:Determines which team gets the points.
* '''Seconds between point gives'''
:The time (in seconds) until the team gets points again.
* '''Points to give each time'''
:The number of points to get the team every time.
* '''Max number of times to give points'''
:Determines how often the team gets points.


{{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.}}


[[Category:Day of Defeat: Source Entities]]
==Key Values==
{{KV Targetname}}
{{KV|Team Number (int)|intn=TeamNum|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|Max number of times to give points|intn=point_give_max_times|int|Determines how often the team gets points.}}

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.