Gift Hunt

Gift Hunt is an optional miniature game mode included in Fortress Blast, inspired by Gem Hunt and Gem Collection from. It was introduced in version 2.0 of the plugin, but was updated in version 3.0 to improve map support. Gift Hunt is only available on maps that have an associated .json file in the folder.

In Gift Hunt, small gifts appear randomly around a map. The mission of each team is to collect a certain number of gifts, which allows capture of all objectives on the map. Above gifts are sprites that can be seen through some walls, allowing gifts to be found quicker. The number of gifts required to unlock the objective can vary between servers and player counts. If all the gifts on the map have been collected, more will appear.

Gift Hunt also has an Attack/Defense mode which can be enabled in a map's associated .json file. In this mode, gifts do not spawn until setup time is over and the round timer starts paused. If the BLU team collects the required number of gifts, their objective will unlock as normal, but if the RED team does so, the round timer will start ticking down.

qcLWb7yRHWM

Developer information
You can enable or disable the game mode with the  ConVar. Like powerups, gifts in Gift Hunt are also  entities, however they have a plugin-given ID of 0. Using the command  will only remove any equipped powerup and does not increment the collected gifts counter.

The number of gifts required is controlled by four ConVars:  which contains the base value,   which specifies when the goal should increase,   which specifies how much it should increase by, and   which includes or excludes bots from this calculation. Another ConVar is used for determining how many gifts should be dropped each spawn event, namely.