View Single Post
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 01-05-2021 , 22:33   Re: [TF2] Bling (v1.7 dated 05Jan2021)
Reply With Quote #21

Updated plugin in original post to version 1.7 which fixed a bug where Heavy would punch while using Saxxy type weapons instead of swinging the weapon.

Note: The weapon randomness needs rework. This will happen soon by either That Annoying Guide or me, whoever fixes the problem first.

Example of problem that I noticed while fixing bug with Heavy's melee weapons:
I spawned 30 times without ever getting a Saxxy type weapon. There are 23 possible Heavy melee weapons according to the wiki. If it were truly random that would mean each listed weapon has a 4.35% chance of being given to the player. However, in this plugin the player has an 87% chance that they will get a Fist weapon (7 in 8 chance). The odds of getting a specific Saxxy weapon like The Ham Shank are less than 1%. The odds of getting any Saxxy weapon are only 10% even though Saxxy weapons represent 47% of all available Heavy melee weapons.

That was a long winded way of saying Saxxy melee weapons (like the frying pan) should be given a near equal chance to spawn if they are nearly 50% of the weapon pool.
PC Gamer is offline