|
Post by optimus on Aug 19, 2021 11:55:00 GMT -5
In one map I was working (that I already released but only played in GZDoom), I realized a horrible map I did when I tried with Chocolate Doom. I couldn't figure out why it happens, but much later the same bug in another mod (in the description of my video) and decino was saying "when you make a lift or door don't tag it to zero". And indeed I made the same mistake.
But then I later checked all my doors and all were tagged zero, that's how I always did it. Then I rememember some tutorial said "you don't need to tag a line that is adjustent to the sector door" and thought was it wrong suggestion? But then I open the original Doom.WAD and it does the same, and I am wtf? Why the original game does it this way that I am not supposed to do it, but some tutorial says you are free to do, but decino says don't do it? Finally,. I only later realized that all my "1 DR" doors have zero tag, but that particular door I accidentally used "63 - SR Door Open Wait Close" so it makes sense there to remember the tag (or switch back to 1 DR because that's what I wanted).
So, is the advice "For simple DR actions on linedefs adjustent to sector you don't need to tag sector" ok? Was decino saying to tag everything just for sanity's sake? This bug made me sperg
|
|
|
Post by JadingTsunami on Aug 19, 2021 12:04:51 GMT -5
DR/D1 types do not need a sector tag, as they will affect their back-sidedef sector.
All other types (S*/W*/G*) need a sector tag, or the behavior is not well-defined and some ports will break, others will "try to do the right thing" and affect the back-sector only.
Hence you should always apply a tag for non-D* types.
|
|
|
Post by optimus on Aug 19, 2021 12:12:21 GMT -5
Ok, that makes sense.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 19, 2021 13:00:18 GMT -5
Yeah that's confusing, I recently loaded some map of mine that intends to run in vanilla, and was puzzled that Chocorenderlimits allowed untagged doors to work as intended, then checked in Chocolate Doom and was totally at a loss of words. I really forgot about this feature. Tagged them anyway, because yeah I value my sanity and also prefer consistency. Under spoiler follows programmer's rant (it's offtopic and you can ignore it) This is how I program too, I don't eliminate redundancy if it makes code less readable or will warrant extra attention when revisiting it later. Really the only reason to make code less readable that I can justify is when it needs to run fast and can't run fast otherwise. But those damn kids with fresh diplomas, some fuckers at university taught them to always write in the most compact form even if it makes it impervious to understanding. If compiler is not bugged/running in low resource environment it can eliminate "useless" variables on his own, so assigning a complex expression to a variable to then pass that variable (rather than expression) as function parameter on the next line is preferable coding-style wise to writing expression on the same line as function call. Not to say giving something a name also provides a clue as to what you are doing, and whether you doing it right, or why you are doing it this way, all without comments that tend to rot because ignored by hasty/incompetent programmers.
|
|
|
Post by lunchlunch on Jan 6, 2022 6:32:16 GMT -5
komoriThanks, it's cool to see someone looking at that map under the hood because it's a remake of a beautiful DNP29 map someone made that I had spent a lot of time with in the editor learning from. Idk if there's a procedural way to make cliffs or what other people do, but I draw them. Even if there were a shortcut, I'd still draw them by hand, I'm picky about how they look, what with their specific shapes, and relative height/brightness to one another. I'm not totally sure what you mean by spirals but maybe Bridgeburner's 'Art of Architectural Precision' is what you're looking forYour sectors are all fucked, I don't know the technical way to say that. I think you can try rebuilding nodes or changing node builders. When that doesn't work, I delete the offending sectors and redraw them. I'm sure someone else is actually knowledgeable and can give a proper solution though, because redrawing them is a pain, especially when sectors continue to jank out.
|
|