Commit Graph
25 Commits
Author SHA1 Message Date
CongratsIsTrash 982a4e16ee BaseGunHoldoutProjectiles dynamically update stats 2026-03-04 17:00:00 -05:00
Dreitone 7599705a61 Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into inherited-multiplayer-fixes 2026-02-06 01:03:12 -06:00
Dreitone d1ff0e4b89 fix starmada, starfleet and basegunholdout projectile syncing 2026-02-06 00:49:07 -06:00
Nathanael Overton 38afb6950e round 1
This branch should eliminate the vast majority of remaining bugs with projectiles inheriting from BaseGunHoldout. This includes:

- Holdouts rotating incorrectly for other clients in multiplayer
- Holdouts not adjusting their position and rotation correctly from the owner's perspective when their gravity is reversed
- Manual drawing fixes for some projectiles while the owner's gravity is reversed
- Minor positioning adjustments to some projectiles to better match hand placement

todo:
- UCG's big wheel is incorrectly rotating when grav is flipped. this affects the actual positioning of the projectiles
-  SHPC's right click positioning when upside down is registering wrong
- chromatic eruption needs a predraw to fix drawing issues and the glow itself is bugged
-vulcan and nidhogg fliped vertically when upside down
- investigate what is happening with fetid in mp. otherwise it draws fine
-blissful bombadier when inverse grav
-phalanx surge and superradiant when inverse grav.
2026-02-06 01:07:10 -05:00
CongratsIsTrash 88e9dffcaa Fixed Fetid Emesis firing multiple projectiles in mp
Removed our Player.ActiveItem() function because it is strictly worse and buggier than Player.HeldItem
2025-11-15 00:01:36 -05:00
Xyk 106faac822 Starfleet Final Touches 2025-09-05 21:58:42 -07:00
Xyk 1708bfa844 Starfleet Basic Function 2025-09-04 15:14:06 -07:00
CongratsIsTrash 2b292e08ea Added ForceNetUpdate methods for NPC and Projectile, which replace all cases of setting netUpdate and resetting netSpam
These methods are configurable to either ignore the current value of netSpam or not

Also reorganized the ProjectileUtils file
2025-03-07 21:53:00 -05:00
Xyk a033c9422f Gun holdout fix + small weapon fixes 2025-01-08 09:29:21 -08:00
Ozzatron 08d5192151 MouseWorld clamping partial progress through Magic and Melee holdouts. 2024-11-15 16:59:04 -05:00
Xyk f598bf6e8f Sword and Gun holdouts now update their damage continuously 2024-11-09 13:38:08 -08:00
Mr-Memes 4f72c4ba56 Tau Cannon start. 2024-08-04 23:59:19 +02:00
Memes 061b636a1c Adamantite Particle Accelerator as a base holdout. 2024-05-19 13:31:35 +02:00
Memes 1ade3edb71 Fixed Genesis in multiplayer.
1. Genesis Y-beam doesn't infinite proc chain anymore.
2. IMPORTANT: There's only one bug left where visually the Y-beam doesn't exist.
3. Fixed BaseGunHoldoutProjectile passing null values.
2024-05-16 22:59:04 +02:00
Memes 3834fd39e9 The holdout syncing experiment.
1. Base holdout sets netUpdate to true every frame and netSpam to 0 every frame.
2. Eliminated all instances of netUpdate and netSpam on specific holdouts, since base holdout does it every frame.
2024-05-16 18:10:24 +02:00
Memes fa6e15ab67 Texture null check in base holdout. 2024-05-16 10:43:17 +02:00
Memes ef2b524df1 Typo lmao. 2024-05-15 18:38:04 +02:00
Memes 28ae7ef9e8 Added some syncing to base holdouts. 2024-05-15 18:37:30 +02:00
Xyk f3a5aba9ca Fixed holdouts with endlag breaking when using menu items 2024-05-11 14:12:26 -07:00
Memes b3fe018626 BaseGunHoldoutProjectile supports Gravitation Potion. 2024-05-05 20:59:35 +02:00
GinYuH 62a981d56b Projectile sprites pull from TextureAssets 2024-04-24 17:47:16 -04:00
Memes e95681501f Oh shit I forgot to remove this. 2024-03-31 12:55:42 +02:00
Memes 7c84a37717 Followed Ozz's review & some cleanup. 2024-03-30 20:54:32 -04:00
Memes 4d701b6f1a Forgot class documentation. 2024-03-30 20:54:32 -04:00
Memes 90ca169686 Created an abstract class for holdouts. 2024-03-30 20:54:32 -04:00