TCDOM Gamemode Logic Prefab (VScript Edition) v01.02
Wow! Flashy tech!
TC Domination implementation in TF2 VScript.
tf/scripts/vscripts. Make sure to pack it when ya compile.
- Bring everything from
tcdom_logic.vmfinto your own map.
Gamemode infoCapture all three control points to win! At round start, each team snags a random point. The remaining point spawns neutral.
RelaysThat 3x3 grid of relays? Those are hooks for point ownership. When point ownership is set (either at the beginning of the round or by point capture), the appropriate relay will fire. Relay name format is
VariablesAt the top of
tcdom_logic.nutare some neato variables!
|lockOnCap||bool||Should points lock when capped?|
|respawnOnCap||bool||Should we force respawn some team on control point capture?|
|respawnOnCapTeam||int||If respawning on cap, which team should respawn? (0 for capturing team, 1 for other team, 2 for both teams)|
|timerTimeLimit||int||How many seconds should the timer start with?|
|timerTimeMax||int||How many seconds should the timer max out at?|
|capTimeMod||int||How many seconds should capturing a point add to the timer?|
|respawnTimeInit||int||How many seconds should the initial respawn time be?|
|respawnTimeMod||int||By how many seconds should capping a point change your team's respawn time? (applied in reverse to the losing team.)|
|suddenDeath||bool||Should sudden death occur?|
|suddenDeathTimer||int||How many seconds should the sudden death timer start with? (use -1 for server default.)|