Releases: nosoop/SM-TFWeaponPickupResponses
Releases · nosoop/SM-TFWeaponPickupResponses
The "thank Sarge for this release" release
- Removed various checks where defindex is false (which is
TF_WEAPON_BAT
) and changed the array iteration terminator to -1 instead of 0. - Checked that Australium properties exist through SOCAttribs (item server) instead of just applied to the weapon (e.g., via TF2Attributes, dynamically?).
- Removed code that mangled bot weapons, setting owned account IDs to 0.
And code refactoring.
Reorganized the lookup table and changed it so it directly returns perceived item rarity instead of having to convert the item grade (which was pretty dumb).
Also added support for the Golden Wrench and the Saxxy.
Wasting time with hacky implemtations.
There was a much easier way to check for weapon pickups. There's some unusual edge-cases, but it's a lot simpler than making sure two disjoint things happen on one frame.
The four-hour marathon of coding
Initial release.
Does the following:
- Rare loot response: Assassin-grade weapons.
- Ultra rare loot response: Unusual, Elite-grade, or Australium weapons.