Ultimate Doom Builder

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Ultimate Doom Builder

Post by Nash »

boris wrote:It's a known bug: https://github.com/jewalky/UltimateDoom ... issues/380

The code involved is a complete clusterfuck and nobody wants to touch it.
Can this be worked around with a UDBScript?
boris
Posts: 753
Joined: Tue Jul 15, 2003 3:37 pm

Re: Ultimate Doom Builder

Post by boris »

I don't see what UDBScript could do about that. The issue is that UDB wants to be super convenient to the user. It has three boxes for arg0/arg0str: normal integer box, normal string box, and named string box. But when you select lines that mix those everything goes haywire, since it obviously can't show two different boxes in the same place, and when you press "OK" everything fucks up.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Ultimate Doom Builder

Post by Nash »

boris wrote:I don't see what UDBScript could do about that.
I mean, if all the user wants is to set/unset automap hidden line flags or whatever, wouldn't it be trivial to just make a script that toggles said flags on/off for the selected lines, without touching anything else?
boris
Posts: 753
Joined: Tue Jul 15, 2003 3:37 pm

Re: Ultimate Doom Builder

Post by boris »

Oh, yes of course. Stuff like that can be easily done with UDBScript.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space

Re: Ultimate Doom Builder

Post by NeuralStunner »

I think this pesky behavior is the only outstanding issue I'm having with UDB at this point. And yeah, that's a good thing! Seems like every time I come back from a break from mapping, there's an update with cool stuff. :)
User avatar
Enjay
 
 
Posts: 26573
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Ultimate Doom Builder

Post by Enjay »

You know how when you slope a floor/ceiling the texture on it can get quite stretched looking if the slope angle is steep:

And, of course, it gets increasingly complicated if the slope is not aligned to one of the cardinal directions (especially if the textures are being rotated too).

Sometimes, scaling the texture isn't good because it can misalign how things look, but on other occasions scaling can look good. However, I am not aware of any way to tell UDB "OK, I'm sloping this floor by 80 degrees and rotating the floor by 30. Can you please calculate X and Y scaling values for me please".

Does such a thing exists? If not, does anyone have any tips as to the best way to get things looking right?
boris
Posts: 753
Joined: Tue Jul 15, 2003 3:37 pm

Re: Ultimate Doom Builder

Post by boris »

Enjay wrote:Does such a thing exists? If not, does anyone have any tips as to the best way to get things looking right?
Auto-aligning the flats on the slopes automatically scales them (unless you disabled that in the preferences).
User avatar
Enjay
 
 
Posts: 26573
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Ultimate Doom Builder

Post by Enjay »

And, once again, thank you. :)
User avatar
Mav3r1ck
Posts: 262
Joined: Thu Jul 16, 2015 11:09 pm

Re: Ultimate Doom Builder

Post by Mav3r1ck »

I was trying to recreate the effect used the building outside on D64's Holding Area level. The building where the computers raise up to reveal the imps inside. Apparently, when I attempted to use special 89 (fake 3d effect) on doors I see the lowered sky (F_Sky) instead of the buildings in the background from different angles.

Long story short, I wanted to do this instead of 3D objects that would save on excessive use of tags. I'm guessing special 89 has limitations?
User avatar
axredneck
Posts: 393
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: Ultimate Doom Builder

Post by axredneck »

Mav3r1ck wrote:I was trying to recreate the effect used the building outside on D64's Holding Area level. The building where the computers raise up to reveal the imps inside. Apparently, when I attempted to use special 89 (fake 3d effect) on doors I see the lowered sky (F_Sky) instead of the buildings in the background from different angles.

Long story short, I wanted to do this instead of 3D objects that would save on excessive use of tags. I'm guessing special 89 has limitations?
I think it only affects sectors that have non-zero height, so it probably will not work with closed doors.
User avatar
Mav3r1ck
Posts: 262
Joined: Thu Jul 16, 2015 11:09 pm

Re: Ultimate Doom Builder

Post by Mav3r1ck »

It doesn't work for any ceiling touching the ground but as long as the ceiling with special 89 isn't touching the floor the effect works as intended it seems.
User avatar
Tormentor667
Posts: 13549
Joined: Wed Jul 16, 2003 3:52 am

Re: Ultimate Doom Builder

Post by Tormentor667 »

boris wrote:It's a known bug: https://github.com/jewalky/UltimateDoom ... issues/380
The code involved is a complete clusterfuck and nobody wants to touch it.
I already feared that this is known and for a certain reason not being touched yet. It's quite annoying though and already exists for ages, I just wondered why nobody else noticed it. Any chance of getting it fixed anytime soon?
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: Ultimate Doom Builder

Post by Amuscaria »

Got a question regarding the 3D preview mode in DB. Does it use software or Hardware rendering? I'm having choppy framerates even on a relatively beefy machine with a 10700K, 64 gigs and RTX3070.
User avatar
nova++
Posts: 177
Joined: Sat Sep 04, 2021 3:13 am

Re: Ultimate Doom Builder

Post by nova++ »

Amuscaria wrote:Got a question regarding the 3D preview mode in DB. Does it use software or Hardware rendering? I'm having choppy framerates even on a relatively beefy machine with a 10700K, 64 gigs and RTX3070.
I think there's some limitations in update frequency due to it being piped unwillingly through Windows Forms? So even if it's running perfectly fine under the hood the actual display of it will be beholden to whenever WF decides to update.
User avatar
Enjay
 
 
Posts: 26573
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Ultimate Doom Builder

Post by Enjay »

I want to check if the following is expected behaviour.

I was trying to clean up an old scripts lump and I wasn't sure if script 28 was used any more. So, I tried the following search to find which line, if any, was running script 28.
Image
As you can see, it found a line.

However, on checking the line, it looked like this:
Image
i.e. it is not running script 28 but a named script called PortraitSecret.

I'm guessing, perhaps, that scripts get allocated an index in the background but, as I mentioned, I do have a script 28 in the scripts file, and it's not this one.

I don't *think* any lines are set to run script 28 in the map but, if I set one to do so for testing purposes, my search now finds both lines - one running the named script and one running script 28:
Image

So... is this expected?

Return to “Creation, Conversion, and Editing”