Custom variables in DECORATE items

Moderator: GZDoom Developers

User avatar
Belial
Posts: 1616
Joined: Wed Feb 09, 2005 3:09 pm

Post by Belial »

To me, Flechette will always mean the SS1 minigun.
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

I must play this System Shock you keep talking of.
User avatar
Belial
Posts: 1616
Joined: Wed Feb 09, 2005 3:09 pm

Post by Belial »

I agree on the 'you must' part. :)

You must love HOTU. ;)
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

So... Graf. When I guessed, did I guess correctly?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

I like these ideas, and they will see their way to an official ZDoom, but I do not think I will use this specific implementation. Let me elaborate:

You limit each actor to a specific number of extra variables, they are unnamed, and they take up space even in actors that don't need them. We can take advantage of the class information maintained for each actor and extend them with however many additional variables we want at runtime.

As for the expression parsing, I was going to do this eventually. Now I will just have to do it sooner. I am looking at switching state actions into streams of p-code that can do much more complicated things than just calling a single function. All action functions, whether they take arguments or not, could be treated identically. And every function that takes parameters would automatically gain support for expression evaluation once a parser is in place that can generate the codes for them.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Somehow I was expecting this. I had the similar thoughts about the whole matter.
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

Grubber wrote:...it needs to be turned into REAL programming language...
Now you know what I meant.
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

Hah! Graf! Randy said he would do it! Now document it!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

You are in no position to give orders here. I'll do it when I have time to do so, not when you want it.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

"You are in no position to bargin. They WILL be staying with me."

:P
User avatar
Nash
 
 
Posts: 17491
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

randy wrote:I like these ideas, and they will see their way to an official ZDoom, but I do not think I will use this specific implementation. Let me elaborate:

You limit each actor to a specific number of extra variables, they are unnamed, and they take up space even in actors that don't need them. We can take advantage of the class information maintained for each actor and extend them with however many additional variables we want at runtime.

As for the expression parsing, I was going to do this eventually. Now I will just have to do it sooner. I am looking at switching state actions into streams of p-code that can do much more complicated things than just calling a single function. All action functions, whether they take arguments or not, could be treated identically. And every function that takes parameters would automatically gain support for expression evaluation once a parser is in place that can generate the codes for them.
Wait a minute, Randy. Does this mean that anyone who's using these new variable features right now in the unofficial version will have their wads screw up in your next official release? Correct me if I'm wrong...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

That's what it most likely means. Keep in mind that the unofficial build is unofficial and that there was never a guarantee that all of it might be included in an official version.

Why do you think that I constantly argued against too radical changes? The thing with this is that although it is useful it might prove too limiting for future extensions. I understand Randy's motives in this matter fully and I have to agree with him up to a point.

To be on the safe side I'd not use these features right now.
User avatar
MartinHowe
Posts: 2068
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Post by MartinHowe »

FWIW, the original user-variables code was a submission intended mostly for discussion; I didn't expect Graf and Grubber to jump on it so eagerly! Nice to be loved :) I also originally envisiaged user variables as "custom actor properties" of course, but that would have been too much work to implement in the Unofficial Build.

It will be interesting to see how things eventually turn out...!
User avatar
Doomguy0505
Posts: 625
Joined: Tue Mar 29, 2005 4:53 am
Contact:

Post by Doomguy0505 »

don't know how you can expect graf and grubber to reinvent c++ for some decorate stuff
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”