[TF2] Fix Incomplete Reversion of the Righteous Bison & Pomson 6000 - #2039
[TF2] Fix Incomplete Reversion of the Righteous Bison & Pomson 6000#2039antielectronbomb wants to merge 7 commits into
Conversation
…our Match Update Reverts the following: - Hitboxes - Old pomson/bison projectile hitbox was a cube that was about 48 HU on all sides and only around its center would it collide with world - Ignites friendly Huntsman arrows - Old Bison and Pomson used to ignite friendly Huntsman arrows, but did not get assists from them. - DMG_SONIC damage type. Both Pomson/Bison used to deal this damage type (which ignored Vaccinator resistances) and used to knockback players.
|
This will make the playerbase SO MUCH HAPPY if this gets in! This has been requested for YEARS! And it would give us potential Vaccinator counters, which the game doesn't currently really have right now. It would be good because this is the one weapon everyone complains about yet uses anyways. |
|
If you want full reversion, you should allow pomson 6000 to penetrate teammates again. It was originally removed to fix a bug with invisible projectile particle, but the current projectile code shouldn't cause that bug anymore. |
Co-authored-by: Hunter Kvalevog <hunter@kvog.sh>
If a weapon poses such a significant issue that players are compelled to use certain weapons to counter it, that indicates a more fundamental problem with the Vaccinator. |
Unless you get a random crit, the Bison or Pomson is just going to be outhealed and you'll die before being able to kill either the Medic or the patient.
This was never an intentional change as far as I can tell, unless you mean penetrating them at long range. Though allowing it to penetrate teammates again would be a legitimate balance change rather than an issue with the code not being fully reverted. |
Damage values were determined empirically using an old build of TF2
|
I have also added the old damage fall-off and rampup mechanics for both the Bison and the Pomson. Using the Pomson 6000 as an example, from point-blank range to 256 HU the Pomson would deal 60 damage regardless. After 256 HU, the damage would ramp-down to around 42 damage at around 400 HU. Beyond 400 HU, the damage would be 42. This was determined empirically using an old build of TF2. The Righteous Bison also acts in the same way. Because both weapons now use their old damage mechanics, I have decided to add a cvar called tf_energy_ring_old_damage_mechanics, which is set to 1 by default. When the cvar is toggled on, it makes the weapons use their old damage mechanics. I am not sure if this cvar should be locked behind sv_cheats 1 - for the meantime it is locked behind sv_cheats 1. |
3d11806 to
b21fd32
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Pre-MYM Bison projectile calculates the damage falloff based on the distance between projectile origin and its end position, rather than the distance between the target and the attacker when the projectile hits. You can consult the old distance formula from the currently unused flamethrower code. source-sdk-2013/src/game/shared/tf/tf_weapon_flamethrower.cpp Lines 3040 to 3041 in 9cbe7d5 |
…damage_maxdamagedist dev cvar, fix vec3_origin errors
fb667ce to
1672a06
Compare
Suggestion implemented. Although the only difference is that full damage ramp-up starts at around 223 HU instead (175 distance + 48 projectile cube). I have also added a development cvar called tf_energy_ring_old_damage_maxdamagedist, with a default value of 350.0. This is basically a mirror of tf_flamethrower_maxdamagedist but for the energy weapons. |
|
LET'S GOOOOOOOOOOO |
|
On my knees begging for this to be merged |
Summary:
Fully reverts the Righteous Bison (and also the Pomson 6000 due to shared code) to its previous iteration before July 7, 2016. The current iteration of the Bison was actually an incomplete reversion from its Jungle Inferno blog post. The reversion does not fully revert code - rather this pull request reverts the behavior of their previous iterations as much as possible using the modern post-Jungle Inferno codebase.
Description:
After the Meet your Match Update back in July 7, 2016, the Righteous Bison (and by extension the Pomson 6000) were changed in the following patch notes:
Righteous Bison:
Pomson 6000:
These changes also modified the projectile hitboxes of the Righteous Bison and the Pomson 6000 into a very small 2x2x2 HU cube.
When the Jungle Inferno update came out, the patch notes stated that the Righteous Bison was reverted to its previous design:
However, various players in the TF2 community (video link) have noticed that the Righteous Bison has not been fully reverted despite the patch notes.
The issue:
Players have noticed that the current iteration of the Righteous Bison does not deal its old damage behavior despite Valve claiming that the Bison's stats were reverted to before the Meet your Match update.
This was caused by the Righteous Bison's and the Pomson 6000's hitboxes not being the correct reverted size. Currently, the projectile hitbox size of both energy weapons is a 2x2x2 HU cube. The old hitbox size was a 48x48x48 HU cube.
For the Bison, since the actual hitbox size is small, this means that there is less contact time for the projectile to deal its multi-hit mechanic such that it only hits an enemy up to 3 times. Before the Meet your Match update, the Bison was able to hit an enemy up to 5 times because its projectile hitbox was a bigger 48x48x48 HU cube (about as big as a Dispenser).
Because of the hitbox size reduction, this made both the Bison and Pomson weapons to be extremely difficult to consistently hit shots with, let alone damage enemies.
As for why the hitbox size was not fully reverted, my educated guess would be that before the Jungle Inferno update, the projectiles of the Righteous Bison and the Pomson 6000 were considered as flame particles (which could be seen by toggling tf_debug_flamethrower in pre-Jungle Inferno builds). The size of flame particles would range from 24 to 48 HU cubes. After the Jungle Inferno update, the code for the Flamethrower and the Flames were reworked. Since the Flamethrower code was reworked after Jungle Inferno, reverting the hitboxes of both the Bison and the Pomson were overlooked.
Changes
This pull request reverts aspects of both the Righteous Bison and the Pomson 6000 back to before July 7, 2016 (Meet your Match):
Video demonstration
Full YouTube video demonstration coming soon
Hitboxes:
Righteous Bison:
Hitbox-Bison-Reverted.mp4
Pomson 6000:
Hitbox-Pomson-Reverted.mp4
Hitbox02-Pomson-Reverted.mp4
Lighting up Huntsman arrows
Righteous Bison:
Arrow-Bison-Reverted.mp4
Pomson 6000:
Arrow-Pomson-Reverted.mp4
Sonic damage type with knockback
Righteous Bison:
DMG_SONIC-Bison-Reverted.mp4
Pomson 6000:
DMG_SONIC-Pomson-Reverted.mp4
Addendum
As for how I came up with the 48x48x48 HU hitbox size, tf_flamethrower_boxsize has a max value of 24 in the pre-MyM version of TF2. Multiply 24 by 2 and you get 48 HU.
Archived video link of the pre-Meet your Match Righteous Bison
This revert was inspired by how the SourceMod Weapon Reverts Extended server-side plugin reverts the Righteous Bison and the Pomson 6000.