Resource icon

Arena VScript v0.9

  • Hey you! Yes, you! Add images to your downloads, it's free! Use the orange "Manage Download Image" button in the top right.

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:
  • 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.
Hammer IO Triggered by the gamemode:
  • Any func_door named arena_start* will act as a setup gate.
  • Any logic_relay named arena_reset* will trigger when setup starts.
  • Any logic_relay named arena_start* will trigger when setup ends.
  • Any logic_relay named arena_unlock* will trigger when the point unlocks.
  • Any logic_relay named arena_end_any* will trigger when a mini-round ends.
  • Any logic_relay named arena_end_red* will trigger when RED win a mini-round.
  • Any logic_relay named arena_end_blu* will trigger when BLU win a mini-round.
  • Any logic_relay named arena_end_stalemate* will trigger when everyone loses a mini-round.
Notes:
  • You do NOT need tf_logic_arena entity, but you DO need team_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.
Installation:
- 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
1726448930177.png

- In Hammer, create a logic_script entity and set its Entity Script parameter to arena_vscript/arena_vscript.nut.
1726449019477.png
License
Credit is required. Permission to modify optional.
Author
LizardOfOz
Downloads
14
Views
95
First release
Last update
Category
VScript

More downloads from LizardOfOz