[Decorate] Player.MoveBob

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [Decorate] Player.MoveBob

Re: [Decorate] Player.MoveBob

by Nash » Tue Nov 01, 2016 8:38 am

Graf you forgot to close this PR: https://github.com/rheit/zdoom/pull/866

Re: [Decorate] Player.MoveBob

by Nash » Thu Oct 20, 2016 3:55 am

I've moved the bobbing adjustment to affect the view height in P_CalcHeight, not the velocity of the bobbing. This perfectly mimics the user altering their movebob CVar to compensate for modded player movement speeds and finally "feels" natural when played. It no longer has the "float-ey" problem I described in the first page.

Tested by replicating the values of the Blade of Agony player and with these properties, I finally don't feel like throwing up when moving around. :P

Code: Select all

// BoA player values
actor DoomPlayer2 : DoomPlayer replaces DoomPlayer
{
    player.viewbob 0.5
    player.forwardmove 0.5
    player.sidemove 0.5
}
 

Re: [Decorate] Player.MoveBob

by Rachael » Tue Oct 18, 2016 8:37 am

Thank you, Wildweasel.

I think what's holding this back is the lack of peer review this feature is receiving. Would it be possible for any other devs to take a look at this and critique and/or sign-off on this?

Re: [Decorate] Player.MoveBob

by wildweasel » Mon Oct 17, 2016 7:29 pm

Eruanna wrote:You might be able to, however, ask Randi to change the author of the opening post so that you can take control of it and update your links.
As far as I'm aware, any global moderator can change a post's owner, so I've gone ahead and put Nash in charge of the OP.

Re: [Decorate] Player.MoveBob

by Rachael » Mon Oct 17, 2016 11:07 am

Will do.

Re: [Decorate] Player.MoveBob

by Nash » Mon Oct 17, 2016 10:14 am

Okay here's my PR. Can you just update your OP in the mean time? :) Thanks!

https://github.com/rheit/zdoom/pull/866

Re: [Decorate] Player.MoveBob

by Rachael » Mon Oct 17, 2016 9:45 am

Shouldn't be necessary. You're picking up where I left off on it, and ultimately you are continuing the same issue that I brought, so it belongs in the same thread, imo.

You might be able to, however, ask Randi to change the author of the opening post so that you can take control of it and update your links.

Re: [Decorate] Player.MoveBob

by Nash » Mon Oct 17, 2016 8:31 am

Sorry to pollute this thread with irrelevant discussion but if I'm going to take over this PR and will see to maintaining it until it gets into ZDoom - shouldn't I make a new thread, and this one closed as a duplicate?

Re: [Decorate] Player.MoveBob

by Rachael » Mon Oct 17, 2016 7:06 am

QZDoom now has this merged.

Re: [Decorate] Player.MoveBob

by Rachael » Mon Oct 17, 2016 12:11 am

Then you'll have to close the PR, then create a zdoom clone ("git clone http://github.com/rheit/zdoom") then create a new branch ("git checkout -b decorate-viewbob") then pull my branch on top of it ("git pull http://github.com/raa-eruanna/qzdoom decorate-viewbob") - then resolve the conflicts whichever your favorite way (I personally use tortoisegit's diff tool) - then push the branch to your own repo. ("git push --repo=http://github.com/nashmuhandes/zdoom")

After that, decorate-viewbob should now appear as a new branch on your own repo, and you can create a pull request directly from there. For convenience Github will show that you've pushed the branch for up to an hour after you pushed it if you view any ZDoom-forked repository.

Re: [Decorate] Player.MoveBob

by Nash » Sun Oct 16, 2016 11:44 pm

Eruanna wrote:(By the way, you can create pull requests directly from my branch, using the link provided)
Alright I did exactly this from the link you gave... now how would I go about updating conflicts if the PR gets dirty in future? It's not my fork and it doesn't exist in my copy, so... I'm a little confused here. :S

Re: [Decorate] Player.MoveBob

by Nash » Sun Oct 16, 2016 11:29 pm

Woops! I forgot about this! D: I'll do it today (wheee a day off work). I'll post an update here later!

Re: [Decorate] Player.MoveBob

by Rachael » Sun Oct 16, 2016 5:36 pm

I think I am going to merge this into QZDoom.

At least then, it can get some proper testing.

Have you updated it, Nash? Do you have a proper branch for me to pull from?

Re: [Decorate] Player.MoveBob

by Rachael » Thu Oct 13, 2016 10:42 pm

No problem. :) I am glad to see it won't die in obscurity.

Re: [Decorate] Player.MoveBob

by Nash » Thu Oct 13, 2016 8:56 pm

I appreciate you taking the time to look into this, Eruanna. As I was the one who originally PM'ed you asking to do this, I think I'll just take this over. I'll do it when I have some free time in the next few days. Along with the ACS portion.

Top