Gift spawns: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
m (9 revisions imported: Importing pages from old wiki)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
* Gifts are intended to be placed much closer together, roughly 144 Hammer units apart. This means that the '''basic method''' described when creating custom powerup spawns is far more difficult, due to how much measuring and memorisation is required. The '''advanced method''' is highly recommended, though placing <code>info_powerup_spawn</code> entities is not necessary.
* Gifts are intended to be placed much closer together, roughly 144 Hammer units apart. This means that the '''basic method''' described when creating custom powerup spawns is far more difficult, due to how much measuring and memorisation is required. The '''advanced method''' is highly recommended, though placing <code>info_powerup_spawn</code> entities is not necessary.
* In addition to the optional attributes powerup spawns have, a gift spawns .json file has an additional optional boolean attribute called <code>"attackdefense"</code>. If set to true, gifts will only start spawning after setup time ends, and the game timer is frozen until the RED team reaches the gift goal. This should be used for map game modes such as Attack/Defense and Payload.
* In addition to the optional attributes powerup spawns have, a gift spawns .json file has an additional optional boolean attribute called <code>"attackdefense"</code>. If set to true, gifts will only start spawning after setup time ends, and the game timer is frozen until the RED team reaches the gift goal. This should be used for map game modes such as Attack/Defense and Payload.
[[Category:Gift Hunt]]

Latest revision as of 21:22, 6 June 2023

Gift spawns for the miniature game mode Gift Hunt are defined exactly the same as powerup spawns, but are instead found in the file tf/scripts/fortress_blast/gift_spawns/<map name here>.json. All the rules when creating custom powerup spawns apply for gifts as well, but with the following exceptions:

  • Gifts spawn 8 Hammer units above their specified Z coordinates. This is to prevent them from touching and phasing through the ground.
  • Gifts spawn randomly around a map within their defined spawns, therefore it is preferable to avoid placing them in areas that are much easier to access by being on a particular team.
  • Gifts are intended to be placed much closer together, roughly 144 Hammer units apart. This means that the basic method described when creating custom powerup spawns is far more difficult, due to how much measuring and memorisation is required. The advanced method is highly recommended, though placing info_powerup_spawn entities is not necessary.
  • In addition to the optional attributes powerup spawns have, a gift spawns .json file has an additional optional boolean attribute called "attackdefense". If set to true, gifts will only start spawning after setup time ends, and the game timer is frozen until the RED team reaches the gift goal. This should be used for map game modes such as Attack/Defense and Payload.