Gift Hunt: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
(Fixed wrong header)
mNo edit summary
Line 1: Line 1:
Gift Hunt is a map-based game mode exclusive to Fortress Blast, inspired by Gem Hunt and Gem Collection from PlatinumQuest. It was introduced in version 2.0 of the plugin, which released on the 21st of November, 2019. It is only available on maps that have been built to work with it, which use the 'gh_' prefix.
Gift Hunt is a map-based game mode exclusive to Fortress Blast, inspired by Gem Hunt and Gem Collection from PlatinumQuest. It was introduced in version 2.0 of the plugin, which released on the 21st of November, 2019. It is only available on maps that have been built to work with it, which uses the .json files in "gift_spots".


In Gift Hunt, small gifts appear randomly around a map. The mission of each team is to collect a certain number of gifts, which unlocks an objective that will win them the round upon capture. The objective can be anything, though the most common objective is a single Control Point. 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 unlocks an objective that will win them the round upon capture. The objective can be anything, though the most common objective is a single Control Point. 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 maps can be made using the [https://gamebanana.com/prefabs/7547 Gift Hunt prefab].
Gift Hunt maps can be made using the same format as powerup locations, but with locations for gifts instead.


<youtube>qcLWb7yRHWM</youtube>
<youtube>qcLWb7yRHWM</youtube>
Line 9: Line 9:
== Developer information ==
== Developer information ==


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 collect gifts counter.
You can enable or disable the gamemode 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 collect gifts counter.


The number of gifts required is controlled by three [[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, and <code>[[sm_fortressblast_gifthunt_increment]]</code> which specifies how much it should increase by. Another ConVar is used for determining how many gifts should be dropped each spawn event, namely <code>[[sm_fortressblast_gifthunt_rate]]</code>.
The number of gifts required is controlled by three [[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, and <code>[[sm_fortressblast_gifthunt_increment]]</code> which specifies how much it should increase by. Another ConVar is used for determining how many gifts should be dropped each spawn event, namely <code>[[sm_fortressblast_gifthunt_rate]]</code>.


Fortress Blast always sends the Kill input to the entity named <code>fb_warningmessage</code>. This can be used to print a message to players who aren't on a server with Fortress Blast active. Also, once a team reaches the gift goal, Fortress Blast sends the Trigger input to the entity <code>fb_giftscollected_<red/blu></code> depending on the team, which can be used to unlock the objective of the map, or simply cause it to prematurely result in a victory. Examples of these are provided in the prefab.
Fortress Blast always sends the Kill input to the entity named <code>fb_warningmessage</code>. This can be used to print a message to players who aren't on a server with Fortress Blast active. Also, once a team reaches the gift goal, Fortress Blast sends the Trigger input to the entity <code>fb_giftscollected_<red/blu></code> depending on the team, which can be used to unlock the objective of the map, or simply cause it to prematurely result in a victory. Examples of these are provided in the prefab.

Revision as of 19:42, 10 December 2019

Gift Hunt is a map-based game mode exclusive to Fortress Blast, inspired by Gem Hunt and Gem Collection from PlatinumQuest. It was introduced in version 2.0 of the plugin, which released on the 21st of November, 2019. It is only available on maps that have been built to work with it, which uses the .json files in "gift_spots".

In Gift Hunt, small gifts appear randomly around a map. The mission of each team is to collect a certain number of gifts, which unlocks an objective that will win them the round upon capture. The objective can be anything, though the most common objective is a single Control Point. 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 maps can be made using the same format as powerup locations, but with locations for gifts instead.

Developer information

You can enable or disable the gamemode 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 collect gifts counter.

The number of gifts required is controlled by three ConVars; sm_fortressblast_gifthunt_goal which contains the base value, sm_fortressblast_gifthunt_players which specifies when the goal should increase, and sm_fortressblast_gifthunt_increment which specifies how much it should increase by. Another ConVar is used for determining how many gifts should be dropped each spawn event, namely sm_fortressblast_gifthunt_rate.

Fortress Blast always sends the Kill input to the entity named fb_warningmessage. This can be used to print a message to players who aren't on a server with Fortress Blast active. Also, once a team reaches the gift goal, Fortress Blast sends the Trigger input to the entity fb_giftscollected_<red/blu> depending on the team, which can be used to unlock the objective of the map, or simply cause it to prematurely result in a victory. Examples of these are provided in the prefab.