Import RATOA unlagged enhancements#97
Merged
Merged
Conversation
Calculate PMISSILE_WINDOWTIME based on sv_fps (Modified port of ratoa commit 1a683edaf974e30ed162718c45daaec576a13a4b) - Adjusts the lifetime of a predicted missile so that, instead of simply staying alive for a fixed 30msec, it instead aligns to time into a frame when the missile was launched. Simplify and improve projectile delag (Modified port of ratoa commit 2d6912a9b974231e6a9e9439a6fa6d6d7746d034) - Projectiles that don't match specific delag handlers (most significantly: grenades) now get a 1-frame nudge by default. This should resolve a visual glitch where a new grenade appears to warp backwards momentarily when launched. - Removed prevMsec (not needed) (cg_predict.c) - Bumped client frame history from 17 to 22 (g_local.h) - Implement G_PrintDelagMaxTimeshift() (g_unlagged.c) - Substitute out G_ApplyMissileNudge() and replace with G_SetMissileLaunchTime() Prevent missile visuals getting stuck in owner (Modified port of ratoa commit cd5333e7ed3626fdbaf8f868268d2295410b89fe) - Missiles now skip/pass collision checks with their owner (cg_ents.c)
Closed
Contributor
Author
|
Note: I tested this on localhost with a dedicated server and it looks good. Could use some real-world high-ping testing to confirm intended behaviors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Calculate PMISSILE_WINDOWTIME based on sv_fps (Modified port of ratoa commit 1a683edaf974e30ed162718c45daaec576a13a4b)
Simplify and improve projectile delag (Modified port of ratoa commit 2d6912a9b974231e6a9e9439a6fa6d6d7746d034)
Prevent missile visuals getting stuck in owner (Modified port of ratoa commit cd5333e7ed3626fdbaf8f868268d2295410b89fe)