Difference between revisions of "Mini-Dispenser"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 18: Line 18:
 
* {{code|tf\materials\models\workshop\buildables\mini_dispenser\mini_dispenser_phongmask}}
 
* {{code|tf\materials\models\workshop\buildables\mini_dispenser\mini_dispenser_phongmask}}
  
The Mini-Dispenser would have 100 health<ref name=values>game\server\tf\tf_obj_dispenser.h:L21-25</ref>, heal at 10 health per second<ref name=values/>, give 20% of the max ammo every half second.<ref name=values/>. The Mini-Dispenser could be repaired<ref>game\server\tf\tf_obj_dispenser.h:L183</ref> and would not spawn with the 25 metal that a regular [[Dispenser]] spawns with<ref>game\server\tf\tf_obj_dispenser.cpp:L452</ref>.
+
The Mini-Dispenser would have 100 health<ref name=values>game\server\tf\tf_obj_dispenser.h:L21-25</ref>, heal at 10 health per second<ref name=values/>, give 20% of the max ammo every half second.<ref name=values/>. The Mini-Dispenser could be repaired<ref>game\server\tf\tf_obj_dispenser.h:L183</ref> and would not spawn with the 25 metal that a regular [[Dispenser]] spawns with<ref>game\server\tf\tf_obj_dispenser.cpp:L452</ref>. The Dispenser's cut explosion-on-destruction feature was repurposed for this, complete with a scaling blast radius (150 [[Hammer unit]]s at base, up to 200 Hu) and damage (50 at base, up to 300) based on the metal stored.<ref>game\server\tf\tf_obj_dispenser.cpp:L151-170</ref>.
<!-- Note: the half second ammo thing is based on tf_obj_dispenser.cpp:L735-742, which seems to use the 0.5 defined in the header file as the "ammo think" variable if it's a mini building. The code is unfinished due to being cut, but an if-statement would likely be included there to determine if it was mini or not. -->
+
<!-- Note: the half second ammo thing is based on tf_obj_dispenser.cpp:L735-742, which seems to use the 0.5 defined in the header file as the "ammo think" variable if it's a mini building. The code is unfinished due to being cut, but an if-statement would likely be included there to determine if it was mini or not. Metal gain is not clear, feel free to add with source.-->
  
 
The Mini-Dispenser was [https://steamcommunity.com/sharedfiles/filedetails/?id=74832833 contributed] to the [[Steam Workshop]].
 
The Mini-Dispenser was [https://steamcommunity.com/sharedfiles/filedetails/?id=74832833 contributed] to the [[Steam Workshop]].

Revision as of 01:09, 16 August 2023

The Mini-Dispenser is an experimental Engineer building that was being play-tested by Valve. The existence of this building was first discovered in the form of VTF filename strings found in the texture_preload_list.txt file that had been added to the game as part of the October 28, 2015 Patch;

  • tf\materials\models\workshop\buildables\mini_dispenser\mini_dispenser
  • tf\materials\models\workshop\buildables\mini_dispenser\mini_dispenser_blue
  • tf\materials\models\workshop\buildables\mini_dispenser\mini_dispenser_phongmask

The Mini-Dispenser would have 100 health[1], heal at 10 health per second[1], give 20% of the max ammo every half second.[1]. The Mini-Dispenser could be repaired[2] and would not spawn with the 25 metal that a regular Dispenser spawns with[3]. The Dispenser's cut explosion-on-destruction feature was repurposed for this, complete with a scaling blast radius (150 Hammer units at base, up to 200 Hu) and damage (50 at base, up to 300) based on the metal stored.[4].

The Mini-Dispenser was contributed to the Steam Workshop.

Gallery

See also

References

  1. a b c game\server\tf\tf_obj_dispenser.h:L21-25
  2. game\server\tf\tf_obj_dispenser.h:L183
  3. game\server\tf\tf_obj_dispenser.cpp:L452
  4. game\server\tf\tf_obj_dispenser.cpp:L151-170