DarkDoomZ [Finished]

Projects that alter game functions but do not include new maps belong here.
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.

Re: DarkDoomZ (custom darkness + flashlight)

Postby BROS_ETT_311 » Tue Jun 23, 2020 2:41 pm

This might be beyond the scope of this mod, but is it possible to implement a feature for casting shadows? Conceptually, when shining the light over a sprite based object or enemy it would project that actor's "shadow" on the surface behind it. I was thinking something like how Nash's SpriteShadow handles it, but taken a step further by interacting with the flashlight.
User avatar
BROS_ETT_311
 
Joined: 04 Nov 2017

Re: DarkDoomZ (custom darkness + flashlight)

Postby AL-97 » Tue Jun 23, 2020 9:47 pm

You can use GShadow mod to inject some dynamic shadows into your game.
User avatar
AL-97
 
Joined: 07 Dec 2016

Re: DarkDoomZ (custom darkness + flashlight)

Postby Captain J » Tue Jun 23, 2020 10:18 pm

The darkening effect of this addon is very impressive and dynamic! And Toggleable Flashlight is a neat touch too.

Now i wonder if we could make Ghoul Forest TC out of this... :P
User avatar
Captain J
'OH YE'
 
 
 
Joined: 02 Oct 2012
Location: Secret Chamber
Discord: DiscussJ#3128

Re: DarkDoomZ (custom darkness + flashlight)

Postby BROS_ETT_311 » Wed Jun 24, 2020 12:47 am

AL-97 wrote:You can use GShadow mod to inject some dynamic shadows into your game.

True! I've checked that out before and it is pretty cool, but not exactly universal since it overrides actors.

Captain J wrote:The darkening effect of this addon is very impressive and dynamic! And Toggleable Flashlight is a neat touch too.

Now i wonder if we could make Ghoul Forest TC out of this... :P


@Captain J, I think someone may have beat ya to to the punch there unless I'm mistaken. viewtopic.php?f=19&t=57430
User avatar
BROS_ETT_311
 
Joined: 04 Nov 2017

Re: DarkDoomZ (custom darkness + flashlight)

Postby Kzer-Za » Sat Jun 27, 2020 1:56 am

A feature request:

Could you make an option to disregard the map information about light level in the sectors completely and calculate them from the "remoteness" from sectors that are under the sky? I.e. a sector neighboring an under-sky sector is slightly darker than the under-sky sector, the sector that neighbors the sky via at least one intermediate sector is lit even less, the next is lit less again. Starting from the 4-th or 5-th remoteness level it's pitch black. Of course, sectors separated by walls (impassable lines?) are not considered neighboring. Would you consider it within the scope of your mod?

If not, can you tell me what I need to read to try to make this adjustment myself?
Kzer-Za
 
Joined: 20 Aug 2017

Re: DarkDoomZ (custom darkness + flashlight)

Postby Caligari87 » Sat Jun 27, 2020 9:37 am

BROS_ETT_311 wrote:This might be beyond the scope of this mod, but is it possible to implement a feature for casting shadows? Conceptually, when shining the light over a sprite based object or enemy it would project that actor's "shadow" on the surface behind it. I was thinking something like how Nash's SpriteShadow handles it, but taken a step further by interacting with the flashlight.

There is no way to project a shadow like that in GZDoom (I wish there was). The closest is GShadow, as mentioned, but it's not universal. Nash's Spriteshadow effect only really works for a very simple illusory approximation of a shadow and the effect will break down if abused, Either way, I consider it out-of-scope for DarkDoomZ.

Kzer-Za wrote:Could you make an option to disregard the map information about light level in the sectors completely and calculate them from the "remoteness" from sectors that are under the sky? I.e. a sector neighboring an under-sky sector is slightly darker than the under-sky sector, the sector that neighbors the sky via at least one intermediate sector is lit even less, the next is lit less again. Starting from the 4-th or 5-th remoteness level it's pitch black. Of course, sectors separated by walls (impassable lines?) are not considered neighboring. Would you consider it within the scope of your mod?

I understand what you're suggesting and have considered it at length. Unfortunately Doom's sectors are not suited to this kind of light diminishing since they can be any size, shape, or even completely disconnected from themselves. It only really works for games like Minecraft or roguelikes where the lighting can be handled on a grid. Put another way, there's no way to determine a "neighboring" sector, only sectors that happen to share a line. Since the line geometry and sector heights are completely arbitrary as well, the amount of pre-processing the level would require to generate this "lightmap" would be astronomical just in script time. It'd also need to be completely static, and couldn't respond to any sort of level changes like a door opening. If you think you could tackle it, great, but I have no interest in it.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: DarkDoomZ (custom darkness + flashlight)

Postby Redneckerz » Sat Jun 27, 2020 2:16 pm

Caligari87 wrote:I understand what you're suggesting and have considered it at length. Unfortunately Doom's sectors are not suited to this kind of light diminishing since they can be any size, shape, or even completely disconnected from themselves. It only really works for games like Minecraft or roguelikes where the lighting can be handled on a grid. Put another way, there's no way to determine a "neighboring" sector, only sectors that happen to share a line. Since the line geometry and sector heights are completely arbitrary as well, the amount of pre-processing the level would require to generate this "lightmap" would be astronomical just in script time. It'd also need to be completely static, and couldn't respond to any sort of level changes like a door opening. If you think you could tackle it, great, but I have no interest in it.

8-)

Could ZDRay be of use here? There is a custom compiled GZ build with support for that in the archives.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: DarkDoomZ (custom darkness + flashlight)

Postby Caligari87 » Sat Jun 27, 2020 2:53 pm

Certainly. But it's not realtime and requires engine support, so it's out of scope for DDZ.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: DarkDoomZ (custom darkness + flashlight)

Postby Redneckerz » Sat Jun 27, 2020 3:02 pm

Caligari87 wrote:Certainly. But it's not realtime and requires engine support, so it's out of scope for DDZ.

8-)

Oh you also want it real time? Because you mentioned static lights..

If you merge DarkDoomZ with the custom ZDRay build/utility, would that not achieve what you want? Well, you would be locked to the 3.8-pre based build obviously, but still.. considering ZDRay is likely to remain in this state for the long haul, i guess you could just fork this and merge it with DarkDoomZ?
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: DarkDoomZ (custom darkness + flashlight)

Postby Caligari87 » Sat Jun 27, 2020 3:08 pm

No, I will not merge DarkDoomZ into a broken unfinished project locked to an old fork of GZDoom.

8-)

User has warned himself for this post. ~~Caligari87
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: DarkDoomZ [Finished]

Postby Nash » Sat Jun 27, 2020 3:33 pm

The "lightmaps" branch and ZDRay is nothing more than a proof of concept and is far, far, FAR from being anything even remotely resembling "usable". There shouldn't even be any discussion about it LOL.

Also, we (Cali, me, dpJudas, among others) are all in a mutual server where these engine experiments get discussed privately so I can assure you Cali 100% knows what is usable and what isn't.
Last edited by Nash on Sat Jun 27, 2020 3:35 pm, edited 1 time in total.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: DarkDoomZ [Finished]

Postby Caligari87 » Sat Jun 27, 2020 3:33 pm

Announcement

Since the last 1.5 pages have basically consisted of me turning down feature suggestions, I'd like to formally make it clear that I consider this mod feature-complete at this time, and I will not be adding any new features or tweaks in response to suggestions. Bug reports, if any, are still appreciated.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: DarkDoomZ [Finished]

Postby Redneckerz » Sat Jun 27, 2020 4:04 pm

Apologies for bringing it up. I was under the impression Nash's and Rachael's efforts into bringing it into the limelight were overseen, so i simply tried to be helpful here.

For what it is worth, i appreciate the self-warning. Some nice humor right there. :P
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: DarkDoomZ [Finished]

Postby Rachael » Sat Jun 27, 2020 6:57 pm

FWIW - regarding the recent stuff - I just want to say I applaud Caligari for the way he handled this - yes, it was a mistake the original message, but to be fair we all have those days, and none of us are "above" the rules.

But like I said - we do all get a little snippy and annoyed from time to time, and that's why I tend to be a lot more lenient when people make angry posts, as long as they are not being malicious in doing so, or ignoring warnings.

It is fair for us all to hold each other accountable, and even better when we hold ourselves accountable. So, thank you Cali.

You may all return to your regular scheduled programming! ~♥~
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Previous

Return to Gameplay Mods

Who is online

Users browsing this forum: ShockwaveS08, Solaela, TheLightBad96, zrrion the insect and 13 guests