Jump to content

Grimwar/Entities/game capture flag

From Vellocet Developer Community

All entities

Create a flag in an Uplink capture graph.

Placement: Oriented volume.

Set it up

Use exactly one Is Middle flag. On that flag, Required Terminals is how many opposing terminal flags a team must hold to win. Prerequisites list preceding flags in the Union-to-Order direction: any one unlocks the next flag for Union, while Order follows the graph in reverse. These are Uplink capture volumes, not carryable capture-the-flag items. Test the graph with both teams in Uplink mode.

Settings

These are the initial authoring values. Script inputs and runtime state are listed separately below.

Setting Default Meaning and choices
is_middle
Is Middle
false Exactly one flag is the middle point, initially open to both teams.
required_terminals
Required Terminals
1 On the middle flag: how many opposing terminal flags a team must hold simultaneously to win. Minimum: 1.
point_name
Point Name
"A" Display name for the capture point.
owning_team
Owning Team
None (0) Team that starts in control of the point. Choices: None (0), Spectate (1), Order (2), Union (3).
capture_seconds
Capture Seconds
20 Seconds required to capture when uncontested. Minimum: 1.
decay_seconds
Decay Seconds
10 Seconds required to decay capture progress back to neutral. Minimum: 1.
max_cappers
Max Cappers
3 Maximum number of pawns contributing to capture speed. Minimum: 1.
capture_time_bonus_seconds
Capture Time Bonus Seconds
60 Seconds added to the round timer when this point is captured in supported modes. Minimum: 0.
prerequisites
Prerequisites
[] Preceding flags in the Union-to-Order direction. Any one unlocks this flag for Union; Order follows the graph in reverse. Ordered list.
ignore_nav_mesh
Ignore Nav Mesh
true Exclude this entity from navigation-mesh building. This does not disable its gameplay collision.

VSig contract

Use the names below with a ref bound to this entity. The value column describes the catalog value type, not a C# method signature. See Read the reference for arguments, authority, and common controls.

Kind Member Value Authority / access
Input kill none Server
Input lock string Server
Input reset string Server
Input unlock string Server
Output captured string Server
Output killed none Server
Output locked string Server
Output unlocked string Server