-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alter lean speed/angle #638
base: master
Are you sure you want to change the base?
Alter lean speed/angle #638
Conversation
382fd31
to
905703f
Compare
Also I should add that if rolling the upper body 7.5 degrees either way results in exactly the same amount of stuff being visible to the player, and therefore the same amount of the player being exposed, rolling the camera a further 2.66 times to get the same camera angle is kinda pointless. It just makes the screen more sideways without giving the player any more information. Unless of course the reason why the final camera roll in the original is 20 degrees in either direction is because the character in the original doesn't roll his entire upper body, but only like the top part of his upper body, in which case he can see the same amount of stuff while exposing less of his body, although the camera rotated that much more probably makes it a bit more awkward to aim |
Less roll is probably better because it's less disorientating as a player. What's important is that the visibility is the same and that the first person and third person matches up so you can't see around a corner without exposing yourself. |
I agree, that's why I personally wouldn't bother implementing the camera roll that's present in the base game, and instead keep the camera roll fixed to the body roll. We should probably open a discussion about this and make an entry in the design doc |
// Original Neotokyo with the latest leftlean fix uses 7 for leftlean and 15 for rightlean yaw slide. | ||
ConVar neo_lean_yaw_peek_left_amount("neo_lean_yaw_peek_left_amount", "7.0", FCVAR_REPLICATED | FCVAR_CHEAT, "How far sideways will a full left lean view reach.", true, 0.001f, false, 0); | ||
ConVar neo_lean_speed("neo_lean_speed", "0.2", FCVAR_REPLICATED | FCVAR_CHEAT, "Lean speed scale", true, 0.0, false, 1000.0); | ||
ConVar neo_lean_yaw_peek_left_amount("neo_lean_yaw_peek_left_amount", "15.0", FCVAR_REPLICATED | FCVAR_CHEAT, "How far sideways will a full left lean view reach.", true, 0.001f, false, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 7.5
ConVar neo_lean_speed("neo_lean_speed", "0.333", FCVAR_REPLICATED | FCVAR_CHEAT, "Lean speed scale", true, 0.0, false, 1000.0); | ||
// Original Neotokyo with the latest leftlean fix uses 7 for leftlean and 15 for rightlean yaw slide. | ||
ConVar neo_lean_yaw_peek_left_amount("neo_lean_yaw_peek_left_amount", "7.0", FCVAR_REPLICATED | FCVAR_CHEAT, "How far sideways will a full left lean view reach.", true, 0.001f, false, 0); | ||
ConVar neo_lean_speed("neo_lean_speed", "0.2", FCVAR_REPLICATED | FCVAR_CHEAT, "Lean speed scale", true, 0.0, false, 1000.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you just made the lean speed slower here. A speed of 0.4 is one frame away from the lean coming to a full stop at the same time as in the original when recorded at host_timescale 0.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since its using lerp we're actually very close to the end of the lean a few frames before 01:10, but 01:10 is when cl_showpos shows no more changes to our position
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep in mind this was recorded with neo_lean_yaw_peek_left_amount 7.5, but im fairly confident that's the correct value, I explained my reasoning earlier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
damn im playing this back at host_timescale 1 and its so quick now ;(
Description
Alter the lean speed/angle to make it seem closer to OG:NT? Although it ain't exact as lean is done differently.
Also to note this was from like 2 months ago just rebased now. Only been notified to try for a PR.
Toolchain
Linked Issues