ThrustFactor

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

Yeah, NOIMPACTDMG is meant to work one way. An actor with this flag can still receive -- but cannot give -- impact damage, as long as this flag is not present on the actor being thrust around.
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

Now with Graf's refactoring complete, I have updated ThrustFactor to follow suit.
New vs old for quick comparison if you'd like.
The only important thing changed from the old pull request to this new one was the save version bump.
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ThrustFactor

Post by Blzut3 »

Still looks fine to me. Graf the ball's back in your court to glance over the corrected version and merge.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ThrustFactor

Post by Graf Zahl »

This will have to wait for Randi's approval since it introduces a dynamic structure into AActor and I have no idea what the impact on the scripting branch will be.
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

I'll take waiting over turning it static any day. :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ThrustFactor

Post by Graf Zahl »

I'll be honest here:

While I see the appeal with this feature, it's far too widespread throughout the code for something so specialized.
Does this really need this kind of ultimate flexibility that makes it a major drag?
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

There are times where I would want a monster that takes no damage from a certain damagefactor to always be thrust around, and then sometimes I would want it to change.

If there are better ways to go about handling this, I'm more than willing to try them out.

Also, in Doomscript, it would become modular at any rate wouldn't it?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: ThrustFactor

Post by Gez »

If you want Doomscript modularity, you'll have to wait for Doomscript.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ThrustFactor

Post by Graf Zahl »

As a matter of fact, this feature injects itself so deep into the engine that DoomScript is hardly an issue.
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

Well, alright. I'll look into rebuilding the thrustfactors as static then. Or is that not what you meant?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ThrustFactor

Post by Graf Zahl »

Please put this on hold for now.
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

Agreed. I'm not even sure where to go with this.
Blzut3
 
 
Posts: 3215
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: ThrustFactor

Post by Blzut3 »

So between Graf not liking the feature and me seeing ever more flaws as I re-review the change, I think it's best to WFDS this thread.
User avatar
Major Cooke
Posts: 8218
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: ThrustFactor

Post by Major Cooke »

Considering it probably isn't that far off anymore, I'm not overly concerned.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”