UDMF 'classtype' field

Moderator: GZDoom Developers

User avatar
Leonard2
Posts: 313
Joined: Tue Aug 14, 2012 6:10 pm

Re: UDMF 'classtype' field

Post by Leonard2 »

I don't really get why people worry about the editors?
This suggestion only concerns zdoom..
I'm very surprised nobody made this point: I literally don't care if the editor comes with a list.
All I want is to be able to place a thing without having to worry about the chore of assigning a doomednum to it.
I don't think that's much to ask really, just flat out using the property and nothing else.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: UDMF 'classtype' field

Post by Tapwave »

Leonard2 wrote:I don't really get why people worry about the editors?
This suggestion only concerns zdoom..
UDMF concerns a variety of engines, actually. Since it's supposed to be an universal specification, it'd require consensus to be added, as the maps would be broken in any other engine than ZDoom if the other ports weren't made to support it.
All I want is to be able to place a thing without having to worry about the chore of assigning a doomednum to it.
In theory, yes, that'd be the ideal purpose. But the problem of abstract classes, inter-operability between ports with different classnames, etc, makes this a riskier addition than anything else.
At this point, it's much easier to use something like MaxEd showed, an editor with a search function that can find the actor's name from the resource file.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: UDMF 'classtype' field

Post by Gez »

Tapwave wrote:UDMF concerns a variety of engines, actually.
Fixed your link to be not evil.
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: UDMF 'classtype' field

Post by Graf Zahl »

In that case: report the post so someone can remove the evil link - which has been taken care of now.
Tapwave wrote: In theory, yes, that'd be the ideal purpose. But the problem of abstract classes, inter-operability between ports with different classnames, etc, makes this a riskier addition than anything else.

That's exactly my problem here. This one concerns one of the core properties in UDMF. This stuff is not changed for some mere convenience issue. Remember: A similar situation results in USDF vs. ZSDF, but there the alternative was not acceptable.
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Re: UDMF 'classtype' field

Post by printz »

I don't get it. We're talking about the "zdoom" namespace here, aren't we? Why should the "zdoom" namespace care how other ports can read it?
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: UDMF 'classtype' field

Post by Graf Zahl »

It doesn't. But I still have issues with superseding core properties.

But the way this discussion went I saw no other choice but to end it. The feature as-is would be ok, but not if it needs to get saddled with safeguards and other clutter that were proposed.
User avatar
arookas
Posts: 265
Joined: Mon Jan 24, 2011 6:04 pm
Contact:

Re: UDMF 'classtype' field

Post by arookas »

The safeguarding was strictly for the editors, which was not needed: the editors could simply not to show any actor classes by default and it be an opt-in feature for actor classes using some method designated by the editor (for GZDB, it could be done in the actor's DECORATE using an editor comment or game-configuration using the classname instead of doomednum). However, the actual in-engine implementation would remain sweet and simple. Or, just do this:
printz wrote:It is easy to support this in editors: just place something with a dummy doomednum, and set a "custom" UDMF property as classtype="Whatever". The shortcoming would currently mostly be visual (no sprite or size shown in the editor).
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”