Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

nosoop/SM-TFCustomWeaponAttributes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF2 Custom Weapon Attributes Collection

A collection of previously commissioned attributes ported to the TF2 Custom Attributes framework, which is my replacement for the various Custom Weapons projects.

XKCD image on standards

I've learned a bunch since I've written these originally, though while I am doing a port, I may or may not put in effort in rewriting the dark magic hackjobs that were initially implemented.

For the old versions of the plugins, see the legacy branch.

Ported attributes

  • is tossable teleporter: Now works with non-milk projectiles. Modified the plugin to use various functions from stocksoup, making the particle effects tempents, etc.
  • minicrits on bleed: Modified to use my crit-supported OnTakeDamage forwards.
  • per head attack increase: Now uses the decapitation head counter and overwrites the game's functions on setting speed / health modifiers on the sword with DHooks.
  • damage to heals: Straight port and used external copy of TF2_HealPlayer. Now capable of specifying damage multiplier returned as heals.
  • exploding sapper timer: Modified so the attribute takes key=value pairs (instead of having to use multiple attributes). Also improved the weapon switch logic and timer handling.
  • no secondary ammo from dispensers while active: Replaced one filthy hack with another. But it's a cleaner hack that only prevents gaining ammo from dispensers, instead of saving / restoring the secondary ammo count in the next frame. Gamedata also updated.