Arena VScript v0.9
As close to the "real thing" as possible, but with extra whistles
VScript implementation of Arena that strives to appear as "real" as possible.
I worked hard on ironing out any "jank" like dying when trying to switch class, will talk in depth for v1.0.
Optional extra features:
- Unzip the archive into
- In Hammer, create a
I worked hard on ironing out any "jank" like dying when trying to switch class, will talk in depth for v1.0.
Optional extra features:
- Mini-rounds. A single full round will play until any team wins 5 mini-rounds. The amount of mini-rounds is configurable and can be set to 1 to disable this feature.
- Multi-point support. If your map has several points, all of them need to be captured in order to win.
- On-capture respawn. If enabled, players will get resurrected when any point is captured.
- Death countdown. If enabled, the points will unlock when a certain configurable percentage of players is dead. Can be used with or without the timer, which is also configurable.
- Last Mann Standing. The last remaining player on their team will receive buffs. The amount of players and the list of buffs is configurable.
- First Blood. Duration can be configured. 0 disables this feature entirely.
- Any
func_door
namedarena_start*
will act as a setup gate. - Any
logic_relay
namedarena_reset*
will trigger when setup starts. - Any
logic_relay
namedarena_start*
will trigger when setup ends. - Any
logic_relay
namedarena_unlock*
will trigger when the point unlocks. - Any
logic_relay
namedarena_end_any*
will trigger when a mini-round ends. - Any
logic_relay
namedarena_end_red*
will trigger when RED win a mini-round. - Any
logic_relay
namedarena_end_blu*
will trigger when BLU win a mini-round. - Any
logic_relay
namedarena_end_stalemate*
will trigger when everyone loses a mini-round.
- You do NOT need
tf_logic_arena
entity, but you DO needteam_control_point_master
. - It's recommended to place `func_respawnroom`s. The script will automatically toggle them on and off when appropriate.
- The script handles point ownership, point state and victory conditions automatically.
- If you don't see the Custom Arena HUD, don't panic - you just need to pack it into your map or launch TF2 with
-insecure
. - After the Halloween Rush I'll simplify/compact the script a bit and add a few announcer voice lines. Other than that this version is mostly final.
- Unzip the archive into
tf/custom
. You'll end up with something like Team Fortress 2 > tf > custom > arena_vscript > scripts > vscripts > arena_vscript > arena_vscript.nut
- In Hammer, create a
logic_script
entity and set its Entity Script
parameter to arena_vscript/arena_vscript.nut
.- License
- Credit is required. Permission to modify optional.