SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

Support multiple tags/ids per sector/line in UDMF maps

Open eevee opened this issue 10 years ago • 8 comments

It's not in a stable release yet, but ZDoom now supports multiple tags/ids on a sector or linedef by jamming the rest of them into the moreids property as a comma-delimited string. Ideally, SLADE would support this transparently, treating both properties as a single list.

No idea how the UI should work, or how this affects the "new tag" button.

eevee avatar Oct 06 '15 12:10 eevee

treating both properties as a single list.

Please, don't make tag list complicated. If we have two UDMF variables, we should make them separated.

Monsterovich avatar Oct 06 '15 16:10 Monsterovich

I don't know that inheriting UDMF's backwards-compatibility concerns is a good idea. All the internals and UI would need to understand multiple ids, either way. Separate fields just makes that more complicated.

eevee avatar Oct 06 '15 16:10 eevee

I got an idea. We can make a table for that. The first row will be regular "tag" value, other rows will be parsed as "moreids" value. In this table "new tag" button must work by the same way, but just for currently selected row.

Monsterovich avatar Oct 06 '15 17:10 Monsterovich

Hm, how would you add a new row?

It seems like the "new tag" button is most useful when you don't already have a tag, so maybe it should always add a new one? You can just delete the old one if that's what you want.

eevee avatar Oct 06 '15 17:10 eevee

It seems like the "new tag" button is most useful when you don't already have a tag, so maybe it should always add a new one? You can just delete the old one if that's what you want.

Yeah, but if you already have a tag, it should generate a new number for selected tag in a row.

Monsterovich avatar Oct 06 '15 17:10 Monsterovich

Other concerns:

  • How is this exposed in the prop grid?
  • How does this affect "change tag" mode?

eevee avatar Dec 18 '15 13:12 eevee

This is now in a stable release, ZDoom 2.8.0.

Also note that this is a ZDoom-specific property, not part of the UDMF base spec, so it shouldn't be exposed in other ports.

eevee avatar Feb 06 '16 20:02 eevee

Please add this. I can't use UDB on linux because it's too unstable and i'm doing everything on slade. I don't want to use UDB just for that :(

jmfergeau avatar Feb 21 '24 09:02 jmfergeau