AJOgames Posted October 10, 2018 Hello, I am making a map using GZDoom Builder, And I was thinking of putting colored lighting similar to what you'd see in Doom 64 and the Playstation version of Doom. but I can't find any tutorial online that is up to date, I do know how to to put in standard lighting, I'm just wondering if there's a way to put in colored lighting in GZdoom Builder, I did did see this video that showed how to write a script that would allow colored lighting, but the video is nearly a decade old, and since I use GZD Builder, I don't know if this is possible, since this tutorial was done on a old version of DoomBuilder, ()I do know GZDoomBuilder is based off of Doombuilder) I'm still a bit new with GZDbuilder, so if there's anyway you can help, I would highly appreciate it. here's the video in question. like I said, this is an old video, and I don't know if this is possible in GZDBuilder, since he uses an older version of DoomBuilder, The lighting effects seen here though are kinda what I'm aiming for. (before watching, you might wanna turn down your volume a bit, because for some reason he plays loud rock music while explaining what to do.) 0 Share this post Link to post
Gez Posted October 10, 2018 (edited) First thing first, just to make sure: by GZDoom Builder, do you actually mean GZDoom Builder-Bugfix? It's the Bugfix version which is kept updated, as the original GZDoom Builder has been abandoned for a while. With GZDBBF, you will get this screen for UDMF sector properties: If you don't have the BF version, here are the useful links: https://devbuilds.drdteam.org/gzdbbf/ https://forum.zdoom.org/viewtopic.php?t=54957 Now, for colored lighting: Make a new map in UDMF format. Very important. The features I'm talking about are not all available in Hexen or Doom formats. Use Doom in UDMF only. Global sector light color applies to everything in the sector. It's the color of ambient light. Global sector fade color also applies to everything in the sector. It's the color of ambient darkness -- you can use it to create a colored fog, for example, if you make it green then things in dark area will fade to green; and since in Doom darkness increases with distance, things that are far away will be greener than when up close. Global sector desaturaton also applies to everything. It desaturates, meaning that the colors are made to be closer to grey. Floor glow. This affects everything that is within its range. Ceiling glow. Likewise, it affects everything within range. The height is counted down from the ceiling. Doom 64-like ceiling: the color that applies to the ceiling texture (and only it). Doom 64-like upper wall: the color that applies to wall textures on the top. As you run down the wall, it turns on a gradient towards the Doom 64-like lower wall color. Doom 64-like lower wall: the color that applies to wall textures on the bottom. As you run upthe wall, it turns on a gradient towards the Doom 64-like upper wall color. Doom 64-like thing: the color that applies to things in the sector. Doom 64-like floor: the color that applies to the floor texture. Now it's important to note that the Doom 64 colors are just colors, not lights. IIRC, in Doom 64, light levels are created by using darker colors, but technically the light level is always the maximum. The ceiling and floor glows can be used to imitate the Doom 64 gradients, but there are differences: first, glows are adding light instead of just coloring like the Doom 64-style upper and lower walls; secondly they will affect things in the glowy area, whereas all Doom 64-style colors apply only to what they apply to. You can have bright red floor, ceiling and walls in Doom 64-style, with bright green things in the middle. It'll look strange, but the rendered won't complain. Edited October 10, 2018 by Gez 4 Share this post Link to post
AJOgames Posted October 11, 2018 Okay, Thank you so much! It is unfortunate that it only works with UDMF, since Hexen format allows for features like slopes and 3d floors, which I hope UDMF has at least some of those advanced features, but I doubt it. anyway, thank you for helping me out with this one, it was so difficult to look for info on this subject, and at first I actually doubted it would even be possible, that is until I saw PSXDoom.wad in action, So I grew determined to find out how to do this sort of thing. As for the question you asked at the beginning of your reply...I honestly didn't even know that GZDBBF was a thing, I'll check them both out, I did run into another problem, that being the decorate tab in the "Things" menu, as in it disappeared for some reason, Now this happened after I inserted some custom weapons and enemies (that I got from Realm667) into my map wad, the method in this video is what I used to insert them, the only difference being that once I did this, the Decorate tab, (not to be confused with the Decorations tab) in the things menu, which is accessed through Things mode. this is the video I watched, I don't know if this is the proper way to insert custom content into your wad, GZDBBF also fixes this issue, but I will say that some of the custom content I put into the wad via Slade 3 are also in the Resources, which you can access through Edit-Map Options, so I don't know if it's causing a bug or something, but anyway, heres the video link. and here's a screenshot of the Things Menu, keep in mind that "Decorate" would usually appear below "Dynamic Lights" 0 Share this post Link to post
Empyre Posted October 11, 2018 UDMF for (G)ZDoom does everything Doom-in-Hexen does, and much more. A couple years ago, I finally made the change from Doom-in-Hexen to UDMF, and I am loving it! 1 Share this post Link to post
Kore Posted October 11, 2018 You could even say hexen format is deprecated. 1 Share this post Link to post
Gez Posted October 11, 2018 2 hours ago, AJOgames said: It is unfortunate that it only works with UDMF, since Hexen format allows for features like slopes and 3d floors, which I hope UDMF has at least some of those advanced features, but I doubt it. Heh. Heheh. HeheheeheehihihwahahahahahahahAHAHAHAHAHAAAAA*cough* Sorry about that. 4 Share this post Link to post
AJOgames Posted October 11, 2018 I am pleasantly surprised by UDMF, like Empyre said it far surpasses the Hexen format, this is great! However, "Doom 64-like sector colors" is missing, in fact the Colors tab is gone entirely. And yes, I am using the Bugfix version. so either it was removed, or the contents inside the Colors tab were moved around to other parts of GZDB. Not exactly sure what happened either way, here's a screenshot Not sure what version of GZDBBF Gez was using, the version I got was the most recent DRD Team version, I still enjoy this UDMF format, it's my new favorite. 0 Share this post Link to post
elend Posted October 11, 2018 Same here, I was wondering just now. I do have the "Light", "Fade" and "Desaturation" options under the "Properties" tab as seen above, but the colors tab is missing. I would love to have some easy way to adjust the floor brightness, without affecting the whole sector. 0 Share this post Link to post
Nevander Posted October 12, 2018 (edited) You sure you are in UDMF? If you are sure you are, then that is weird and I suggest asking @ZZYZX on the ZDoom Forums GZDB-BF thread about it. 0 Share this post Link to post
Erick194 Posted October 12, 2018 Have you already tried to download the latest version? @Gez gave you the link. https://devbuilds.drdteam.org/gzdbbf/ 0 Share this post Link to post
Kappes Buur Posted October 12, 2018 (edited) This works the same in either 32 or 64 bit version 0 Share this post Link to post
AJOgames Posted October 12, 2018 As you can see with these screenshot, unzipping the Bugfix.7z file shows this, but when I run Builder.exe, I just get regular GZDBuilder, not the BugFix version, and yes, I extracted these same files into my GZDBuilder folder. and yes, I did download the bugfix version from DRDTeam 0 Share this post Link to post
Kappes Buur Posted October 12, 2018 Did you set up the editor to edit in UDMF? This is done through the F6 (Game Configurations) menu When you include gzdoom.pk3 make sure that you tick the box for Exclude from testing. 0 Share this post Link to post
Nevander Posted October 12, 2018 1 hour ago, AJOgames said: I extracted these same files into my GZDBuilder folder. There's your mistake, most likely. Extract those files into a new folder, not an existing GZDB folder! 0 Share this post Link to post
elend Posted October 12, 2018 That is strange, I also was under the assumption, that I have GzDoom Builder Bugfix installed. I downloaded it (again?!) from that link mentioned above and now I indeed have that colours tab. Thank you very much for your kind help! One more question though: You mentioned including gzdoom.pk3 in the resources. Why exactly should I do this? I never did this before and have no clue why this is needed. What are the advantages for me? 0 Share this post Link to post
AJOgames Posted October 12, 2018 Thanks Nevander, that helped fixed the problem. :) 0 Share this post Link to post
Bauul Posted October 12, 2018 1 hour ago, elend said: One more question though: You mentioned including gzdoom.pk3 in the resources. Why exactly should I do this? I never did this before and have no clue why this is needed. What are the advantages for me? The only benefit I've ever come across is it enables you to view models in GZDB. There might be other benefits though. 2 Share this post Link to post
Gez Posted October 12, 2018 4 hours ago, elend said: One more question though: You mentioned including gzdoom.pk3 in the resources. Why exactly should I do this? I never did this before and have no clue why this is needed. What are the advantages for me? It'll let the editor parse through the GZDoom resource definitions, so it will be able to handle custom DECORATE or ZScript actors that are derived from standard types. 1 Share this post Link to post
Nevander Posted October 12, 2018 Technically you don't need to include it. I never do, since in-game everything will get loaded fine with the engine anyway when it loads the PK3. The only real "issue" is you'll get warnings for things like replaced actors and stuff, but I just ignore them. 0 Share this post Link to post
Antnee Posted October 15, 2018 (edited) I also have a question with this. See screenshot below for in-builder (left) and in-game (right). WTF am I doing wrong? 0 Share this post Link to post
Nevander Posted October 15, 2018 What is your GZDoom version and your GPU? 0 Share this post Link to post
Gez Posted October 15, 2018 5 minutes ago, Antnee said: 2.0.5 There's your problem. you need GZDoom 3.2.0 at a minimum to get Doom 64-style colors in-game. 0 Share this post Link to post
Antnee Posted October 15, 2018 Just now, Gez said: There's your problem. you need GZDoom 3.2.0 at a minimum to get Doom 64-style colors in-game. Yeah, I'm an idiot. I have the latest version, but W10 still had my .wad associations set to the older version. I'm all set. 0 Share this post Link to post