[Added] OverlayX/Y + Flags/Offset Enhancements

Moderator: GZDoom Developers

Re: OverlayX/Y + Flags/Offset Enhancements

Postby Leonard2 » Mon Oct 31, 2016 2:36 am

The discussion at the time basically stopped at "when should we interpolate movements implicitely" here.
Looking back at it, here's what I think should be done based on one of Xaser's posts:
  • Bobbing: Interpolated period. Why would you want to disable interpolation for such a thing honestly?
  • Raise/Lower: Interpolated by default. Can be disabled with an A_Raise/A_Lower parameter.
  • A_WeaponOffset: Interpolated by default. Can be disabled with a parameter as well. IIRC this function came around at the same time I did the overlay stuff so people using it should be aware of the interpolation which is why I think it should be on by default.
  • "Offset" keyword: I'll have to agree with Xaser here and make it off by default as old mods used (and could only use that) it without the interpolation in mind which gave rise to some reported issues HOWEVER I would like the possibility to turn it back on with a CVAR as I think it looks great regardless with some old weapons that made proper use of offset animations.
  • Finally, add a level-based CVAR with the following options: never interpolate, default behavior and default with enforced interpolation for the offset keyword on top of that for people like me.
This should make everyone happy: every issues should be fixed, modders have access to the interpolation using the proposed parameters and users can set it up to their liking.
User avatar
Leonard2
 
Joined: 14 Aug 2012

Re: OverlayX/Y + Flags/Offset Enhancements

Postby Graf Zahl » Mon Oct 31, 2016 2:48 am

Agreed mostly. I think, though, 'offset' should be extended then by an optional third boolean parameter that can explicitly enable interpolation. With that the Hexen weapons could be fixed and everything was perfect.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: OverlayX/Y + Flags/Offset Enhancements

Postby NeuralStunner » Mon Oct 31, 2016 11:44 am

Agreed and agreed. The "never/default/always" setting is the best way to handle it.
User avatar
NeuralStunner
Cuddly but Packin'
 
 
 
Joined: 21 Jul 2009
Location: Indiana, USA
Discord: NeuralStunner#1293
Operating System: Windows Vista/7 64-bit

Re: OverlayX/Y + Flags/Offset Enhancements

Postby Major Cooke » Mon Oct 31, 2016 11:47 am

And hopefully can fix a certain bug that's been bothering me for a while.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: OverlayX/Y + Flags/Offset Enhancements

Postby Xaser » Mon Oct 31, 2016 2:15 pm

This is probably implicit, but agreed with Leonard2 and Graf. That oughta square it away for everyone.
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Previous

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: MauiBot and 1 guest