Gift Hunt: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
m (21 revisions imported: Importing pages from old wiki)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Stub|Timers are not removed by Gift Hunt, game mode support therefore cannot be accurately defined.}}
Gift Hunt is an optional miniature game mode included in Fortress Blast, inspired by Gem Hunt and Gem Collection from {{pq}}. 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 [[Gift spawns|associated .json file]] in the folder <code>tf/scripts/fortressblast/gift_spawns</code>.
 
Gift Hunt is an optional miniature game mode included in Fortress Blast, inspired by Gem Hunt and Gem Collection from {{pq}}. 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 [[Gift locations|associated .json file]] in the folder <code>tf/scripts/fortressblast/gift_spots</code>.


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.
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.


The following map game modes are natively supported by Gift Hunt:
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.


* Capture the Flag: Enemy intelligence appears transparent and cannot be picked up unless the gift goal is met.
In the event where it has been more than 1 minute since one team reached the gift goal, and the other team has not, the amount each collected gift is worth for the other team may increase every minute, depending on the server's preferences, to a maximum of 5 times normal.
* Control Points: Control points cannot be captured unless the gift goal is met, but can be blocked.
* King of the Hill: Same as Control Points.
* Payload Race: Payload carts cannot be pushed unless the gift goal is met, but can be blocked.


<youtube>qcLWb7yRHWM</youtube>
<youtube>qcLWb7yRHWM</youtube>
Line 18: Line 13:
You can enable or disable the game mode with the <code>[[sm_fortressblast_gifthunt]]</code> [[ConVars|ConVar]]. Like [[powerups]], gifts in Gift Hunt are also <code>tf_halloween_pickup</code> entities, however they have a plugin-given ID of 0. Using the [[Commands|command]] <code>[[sm_setpowerup]] @me 0</code> will only remove any equipped powerup and does not increment the collected gifts counter.
You can enable or disable the game mode with the <code>[[sm_fortressblast_gifthunt]]</code> [[ConVars|ConVar]]. Like [[powerups]], gifts in Gift Hunt are also <code>tf_halloween_pickup</code> entities, however they have a plugin-given ID of 0. Using the [[Commands|command]] <code>[[sm_setpowerup]] @me 0</code> will only remove any equipped powerup and does not increment the collected gifts counter.


The number of gifts required is controlled by four [[ConVars]]: <code>[[sm_fortressblast_gifthunt_goal]]</code> which contains the base value, <code>[[sm_fortressblast_gifthunt_players]]</code> which specifies when the goal should increase, <code>[[sm_fortressblast_gifthunt_increment]]</code> which specifies how much it should increase by, and <code>[[sm_fortressblast_gifthunt_countbots]]</code> which includes or excludes bots from this calculation. Another ConVar is used for determining how many gifts should be dropped each spawn event, namely <code>[[sm_fortressblast_gifthunt_rate]]</code>.
On Capture the Flag maps with Gift Hunt .json files, the extended time spent playing caused by Gift Hunt does not work well with the default number of required intelligence captures. It is recommended to change the value of <code>tf_flag_caps_per_round</code> from 3 to 1 on these maps through the server configuration files.


[[Category:Server-specific setup]]
[[Category:Gift Hunt]]

Latest revision as of 21:22, 6 June 2023

Gift Hunt is an optional miniature game mode included in Fortress Blast, inspired by Gem Hunt and Gem Collection from Marble blast gold icon.png PlatinumQuest. 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 tf/scripts/fortressblast/gift_spawns.

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.

In the event where it has been more than 1 minute since one team reached the gift goal, and the other team has not, the amount each collected gift is worth for the other team may increase every minute, depending on the server's preferences, to a maximum of 5 times normal.

Developer information

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

On Capture the Flag maps with Gift Hunt .json files, the extended time spent playing caused by Gift Hunt does not work well with the default number of required intelligence captures. It is recommended to change the value of tf_flag_caps_per_round from 3 to 1 on these maps through the server configuration files.