Deocorate Value Extension

Moderator: GZDoom Developers

User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: DamageProperty Extension

Post by Project Shadowcat »

Gez wrote:
Project Dark Fox wrote:This portion is already doable in ACS... [wiki]SetAmmoCapacity[/wiki]
A purely DECORATE way of doing this would be nice, though.
I won't disagree.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: DamageProperty Extension

Post by Graf Zahl »

I do. DECORATE in its current state will not provide solutions for every eventuality - especially ones like this that may be used in one out of 1000 projects.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: DamageProperty Extension

Post by Amuscaria »

Graf Zahl wrote:I do. DECORATE in its current state will not provide solutions for every eventuality - especially ones like this that may be used in one out of 1000 projects.
That's because only 1/1000 projects are large scale. :wink:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: DamageProperty Extension

Post by Graf Zahl »

Then these special projects can surely use ACS with DECORATE. Just adding bloat to the engine so that you can avoid a minor inconvenience is not a good design decision.
CO2
Posts: 42
Joined: Tue Jul 29, 2008 9:24 am

Re: DamageProperty Extension

Post by CO2 »

Alright, what we need is a way for this kind of thing to happen.

Dynamic ammo capacities - This is already supported via ACS, so that's ok.
Some sort of function like random() that you can specify a type and it returns the number of the item held, so that way with some simple math we could take that result, and generate a number that is lower the more of said item is held for things such as hitscan offsets, or whatnot. If we can get that then the rest of this should be settled, and if it's already in, I have to agree with Graf, acs combined with decorate can already do what you need.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: DamageProperty Extension

Post by Gez »

Graf Zahl wrote:I do. DECORATE in its current state will not provide solutions for every eventuality - especially ones like this that may be used in one out of 1000 projects.
I was thinking of a property for a (new) inventory subclass, not a codepointer.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: DamageProperty Extension

Post by Graf Zahl »

That'd be even worse. I won't add new code for things that can already be done just so some people that refuse to make 'dirty hacks' that combine DECORATE with ACS. The real hack would be the addition of a redundant feature.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Deocorate Value Extension

Post by Graf Zahl »

Once we got a proper scripting language this will come automatically. But with DECORATE as it is it won't happen. I might as well close this thread.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”