Of logic dom: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{of point|of_logic_dom|sprite=1}} Sets the map to the Domination gamemode. ==Keyvalues== {{KV Targetname}} {{KV|Socre Limit|intn=DomScoreLimit|integer|The score limit that teams will need to hit.<br>Default: {{Code|300}}}} {{KV|Score Time|intn=DomScoreTime|integer|Every this amount of time (seconds), points will be added to the team(s) owning a control point.<br>Default: {{Code|3}}}} {{KV|Win on Score Limit?|intn=DomWinOnLimit|bool|If set, the...") |
(No difference)
|
Latest revision as of 10:30, 4 January 2025

of_logic_dom
is a point entity available in Open Fortress. Sets the map to the Domination gamemode.
Keyvalues
- Name
(targetname)
<string> - 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
- Socre Limit
(DomScoreLimit)
<integer> - The score limit that teams will need to hit.
Default:300
- Score Time
(DomScoreTime)
<integer> - Every this amount of time (seconds), points will be added to the team(s) owning a control point.
Default:3
- Win on Score Limit?
(DomWinOnLimit)
<boolean> - If set, the game will select a winner upon hitting the score limit.
Default:true
Inputs
- AddDomScoreRed <integer>
- Add score to RED team. Negative values are allowed (will subtract)
- AddDomScoreBlue <integer>
- Add score to BLU team. Negative values are allowed (will subtract)
- SetDomScoreRed <integer>
- Set the score of RED team.
- SetDomScoreBlue <integer>
- Set the score of the BLU team.
- SetDomScoreLimit <integer>
- Set the score limit.
Outputs
- OnScoreLimitHitAny
- Fired when any team hits the score limit.
- OnScoreLimitHitRed
- Fired when RED team hits the score limit.
- OnScoreLimitHitBlue
- Fired when BLU team hits the score limit.