Skip to content

Conversation

@wgetJane
Copy link
Contributor

@wgetJane wgetJane commented Jan 6, 2026

Description

the Dragon's Fury's fireballs seem to be the only projectiles with a spawn offset that don't get their path corrected to be pointed at the player's crosshair

this is because the df never uses the GetProjectileFireSetup method which handles projectile path correction:

void CTFWeaponBase::GetProjectileFireSetup( CTFPlayer *pPlayer, Vector vecOffset, Vector *vecSrc, QAngle *angForward, bool bHitTeammates /* = true */, float flEndDist /* = 2000 */)

this results in the fireballs being visibly offset to the bottom right of the player's crosshair

for this fix, i don't use the GetProjectileFireSetup method because it wouldnt be ideal for the df's projectiles which have 2 unique properties compared to other projectiles:

  • it automatically deletes itself after traveling 500 units
  • it's supposed to penetrate and deal damage to multiple players
image

video:

dragonfix.mp4

note: in this video, im using a keybind to toggle the fix on and off
also here's what the debug shapes mean:
- red = crosshair path starting from eyepos, up to 500 units
- green = correct expected projectile path starting from the projectile spawn offset, green box at 500 units is where the projectile should despawn
- blue = actual projectile path, blue box is the projectile's current position, blue line is the path it has traveled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant