nZombies Round Progress Bar

If you liked this item, please rate it up on Steam Workshop page.

Author: Cryotheum

Last revision: 24 Jul, 2022 at 18:23 UTC

File size: 33.79 KB

On Steam Workshop

Description:
This is designed only for the nZombies gamemode

LTS
This adds a progress bar to the top of players’ screens which show the progress through the round. It shows how many zombies have been killed and how many are required for the round to end. The progress bar is fully aniamted and is only shown during an active round. It has been designed with later waves in mind so large waves of zombies coming at you will not affect the bar’s performance.
With a total of two materials and one lua script, the file size is low and the download is quick. Calculations are cached to save CPU usage, and there are several console commands to customize the graphics to fit your needs.

Commands

All of these should be run in the console, and are only client side.

Command
Acceptable Values
Description

nz_progbar_enabled
0, 1
Should the bar be renderd?

nz_progbar_scale
0.05 – 20
Changes the size of the bar. (Multiplier)

nz_progbar_text_enabled
0, 1
Should the text on the progress bar be rendered?

nz_progbar_text_y_pos
-65536 – 65536
The y position offset for the text, it is parented to the progress bar.

nz_progbar_y_pos
0 – 65536
The y position of the progress bar from the top of the screen.

Github[github.com]