- Apr 9, 2008
- 1,706
- 1,491
Here's my own prefab for CTF invade. It's a 1-flag gamemode where you take the flag (usually situated in the middle of the map) to the enemies base in order to capture it. Dropping the flag will cause it to turn neutral instantly allowing either team to pick it up.
Features
Screenshots
How It Works
Making Modifications
Removing cap blocking
Removing announcer sounds and countdown sprites.
Changing the cooldown period
Features
- Cap blocking
- Flag cooldown with audio and visual cues
- Fancy graphics
Screenshots
How It Works
- When the flag is captured, the logic_flag_cooldown relay is triggered.
- Upon triggering it...
- The sprites are enabled.
- Teleports the flag to an out of reach area.
- Enables a fake flag.
- Triggers the 2 logic_flag_cooldown_relay after 5 seconds.
- Both of these relays display the countdown sprites and play the announcer sounds.
- Upon completion...
- The fake flag is disabled.
- The real flag is teleported back to the center.
- The sprites are disabled.
Making Modifications
Removing cap blocking
- Simply delete the trigger_multiples at the capture zones.
Removing announcer sounds and countdown sprites.
- Delete or rename either logic_flag_cooldown_numbers or/and logic_flag_cooldown_sprites.
Changing the cooldown period
- Change the delay for the output within logic_flag_cooldown which triggers logic_flag_cooldown_relay*. The current output is 5 seconds which causes a 10 second cooldown period. Simply take away 5 seconds from the length of time you want the flag to remain inactive. For example, 12 seconds would become a delay of 7 seconds. This is so the cooldown cues start at the correct point in time.
Last edited: