Jump to content
The Dark Mod Forums

Search the Community

Searched results for '/tags/forums/dark/' or tags 'forums/dark/q=/tags/forums/dark/&'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • News & Announcements
    • The Dark Mod
    • Fan Missions
    • Off-Topic
  • Feedback and Support
    • TDM Tech Support
    • DarkRadiant Feedback and Development
    • I want to Help
  • Editing and Design
    • TDM Editors Guild
    • Art Assets
    • Music & SFX

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hello! Tracking down information on software and plug-ins that work with D3 / TDM can be a tough. So I have created a thread here where people can post what software/ plug-ins/ tutorials or other references they've had success or failure with in TDM. 3DS MAX 2013 64bit .ase - Default .ASE model exporter works. However you have to open the .ase file in text edit and manual change the *BITMAP line on each material to read something like: "//base/textures/common/collision" which allows the engine to read the correct material path. md5.mesh / animation - Beserker's md5 exporter/importers for 3dsmax. http://www.katsbits.com/tools, Importing and exporting works. The model must be textured, UV'd, with a skin modifier attached to the bones to export. PM me (Kingsal) for help with this. Imported models using the script will not be weighted appropriately, so this is not recommended if you are simply trying to edit existing tdm content. (Use blender instead) MAYA 2011 32bit md5.mesh - So far I've not had any luck with Maya 2011. I am using Greebo's MayaImportx86 for Maya 2011. I've got the importer working however I get a "Unexpected Internal Failure(kFailure)" and the import fails. This could be due to something finicky in Maya that I am not doing correctly. Will keep trying.. Blender 2.7 about - Blender is commonly used and pretty well supported on the forums/ wiki. Various versions may work as well - https://www.blender.org/download/ md5.mesh / animation Blender MD5 importer/exporter (io_scene_md5.zip): https://sourceforge.net/projects/blenderbitsbobs/files/ Sotha's guide Blender Male/ Female rigs by Arcturus - Here Edit by Dragofer: more links found in this post.
  2. As I understand the TDM license there are roughly three types of contributions to the TMD project as a whole: 1) Contributions to the source code of TDM: These are licensed GPL or BSD and can therefore be used already today by commercial projects. 2) Contributions to the 2.3 GB media/gamedata included in TDM at install: These are licensed CC-BY-NC-SA and restricts commercial use. 3) Contributions of fan missions that can be played using TDM and are added by the end-user after the install (either by the ingame downloader, website, or other source): These are not part of the core product and the license says "Any missions [...] are the property of their respective authors, and different licensing may apply.". This means the FM creators can choose any license they want, anything between CC-0/PD and strict copyright. Possibly even put additional restrictions on its use (e.g. say "You may only download and play this on regular TDM"), right? It is up to the end-user to abide by the stipulated license. The included missions "Training Misson", "A New Job", and "Tears of St Lucia" appears to fall into category (2) according to "Unless explicitly stated otherwise, all [...] non-software components that are distributed with The Dark Mod are licensed under [CC-BY-NC-SA]". Does anyone know if their license says anything else?
  3. Personally I can see some ancillary benefits from trying to move TDM from non-commercial-libre to true-libre, beyond getting off the FOSS community's naughty list. There are a fair few indie devs who have tried to make modernized Thief-likes. None of them have done half as good a job as this community. I think that is generally down to the engine. All the detection and movement systems take a lot of time to implement, which you guys have already paid down. Imagine if those indie devs had the option to use TDM as the base for their games. More of these games would be published, and more would be successful. And this in turn would grow the public knowledge base about working in Dark Radiant and TDM. Some of those devs might make their own public FMs. Some might contribute to the wiki and documentation. Some might contribute to project maintenance or even donate new features that they develop. Personally I would call this one of the bigger things that you could do to keep the project alive. It would definitely be a big project to bring the project assets into compliance or to fork off a compliant TDM-lite. A year ago I would have said it is impossible, but AI is changing things. It can make art and it can write code, and especially when it has a working example of the thing it is recreating to learn from. It still would not be easy, but at least possible. Let this be a lesson for creators to select your licensing carefully. It is not always easy to change after the fact.
  4. In that case, separating libre components from non-libre components does not seem possible, and like you say we may then have to assume it is CC-BY-NC-SA. That is something we may want to address, but I'll start a new topic for that. According to the TDM license (https://svn.thedarkmod.com/publicsvn/darkmod_src/trunk/LICENSE.txt), both GPL and BSD "3-clause license" apply for the source code: * The portions base on Doom 3 (1999-2011) is GPL * The portions by Broken Glass Studios / The Dark Mod Team (2005-2011) "were"(?) distributed under "revised BSD license". According to the Debian Free Software Guidelines (https://www.debian.org/legal/licenses/): * Both GPL and "modified BSD License" are accepted into the Debian "main" repository * "Non-Commercial License" (it sounds likely CC-BY-NC-SA falls into this category) is accepted into the Debian "non-free" repository ("revised BSD license" and "modified BSD License" are different names for the BSD "3-clause license", see https://en.wikipedia.org/wiki/BSD_licenses)
  5. Are you tired of looking at the same old painting skins? Do you want exciting, new banners to revitalize your WIP? If so, look no further than this all-in-one CC0/Public Domain asset pack filled with Paintings, Tapestries, and Prints! For the low, low price of $0.00, you can get over 80 brand-new images that will launch your Dark Mod map into the stratosphere! It doesn't get more FREE than this, people, so get the .pk4 while supplies last! This asset pack has been brought to you by @Wellingtoncrab and myself! Love it? Let us know! Hate it? Tell us your woes! Find a bug? We'll fix it. And did I mention that all these images are CC0/Public Domain? So go nuts! You can download the .pk4 from Google Drive here. Enjoy, Taffers!
  6. Dragofer's teledoor also has a fade to dark effect, which could be useful. You could combine that with an ambilight-style Presence Lamp, so that if you come close(r) the wall lights up around it.. Just kidding.
  7. So I got back to my desktop and installed the dark mod 2.09a, but when I start it I get a gray screen for a couple of seconds then a black screen. I can hear the music and the menu sounds when I move my mouse but I can't see anything. I tried some things from what I could see in the forums but nothing worked. I have a pretty old GPU but it should run it no problem I believe (a Radeon hd 4850). Things i tried: -Downloading the latest dev build -Downloading the build test15973-8787 -changing glcore from 2 to 1 and to 0 -changing the resolution to 800x600 -starting it in compatibility mode windows 7 -changing glsl -changing shadow to 0 - downloading an executable posted by stgatilov in a post about the same problem (I can't find it anymore) None of this worked and the log file doesn't show any issues. Any idea how to fix this or if I need an older version, because I believe the GPU should be able to launch the game properly at least?
  8. TDM is marketed as: It's a tremendous achievement - a detailed tribute to the Thief series. (link) Since The Dark Mod is designed to simulate the stealth gameplay of Thief, many things will be familiar to veteran Thief players. (link) It should be of no surprised when folks suggest making a change to TDM that fits more closely with Thief when it makes sense. The majority of active TDM players and mission authors I see today are also Thief players. And, besides the folks here on this forum, there aren't many places where the dev team can get player feedback on TDM, especially players who gave up on playing TDM all together. The Thief (including TTLG) community is one of the only places where we can get feedback in general and from veterans of this stealth game type. Feedback I received from a player: This is great news for our community. For our community, more players increase the likelihood of more devs, mission authors, and content creators. For the content creators, more players experience the content they make. That said, I think most agree that TDM is not meant be a 1:1 copy of Thief, and that's a good thing. Changes to TDM should be carefully considered and playtested before release. EDIT: To clarify, addressing player complaints does not mean copy Thief game mechanics. It means that when player complaints are addressed, a solution that is appropriate for TDM is implemented.
  9. Looking at the code, the originals were "pm_mantle_pull 750" and "pm_mantle_pullFast 450". The new "pm_mantle_pull" value is "400". A "pm_mantle_pullFast" value of "450" would be slower than regular pull, not faster. With both being set to "400", they are at least similar. Other than that, it's subjective and the feedback from playtesters was positive. Also, referenced internally here: https://forums.thedarkmod.com/index.php?/topic/22256-movementcontrols-settings-in-main-menu/&do=findComment&comment=489158
  10. That sort of tone doesn't fly in our forums.
  11. The time has finally come for me to release my 5th mission for The Dark Mod. This project started sometime around 2015-2016 (couldn't find any old files to confirm) with me starting poking on a city mission and for some time I built quite randomly without a plan. I expected I could plot a story later; You can never go wrong with a city section, eh? I had a hiatus and did other projects in my life with model painting and skydiving and mapping became more and more scarce. Now and then I felt an itch to map and some kind of responsibility towards the mod team to produce something, to provide and give something back, if you will. At the start of the pandemic I started building more focused on this misson, but still no exact goal on what I wanted to achieve. Finally I decided I wanted a mission where you follow a person and the mission continued to grow in a linear fashion. I am not the quickest mapper and have severe problems on how to imagine a scene without building it first. This means that I often have to redo scenes and lots of stuff gets unnecessarily built just to be removed later, hence the almost absurd build time (about 1900 hours all in all). Betatesting came about and I got very good tips and feedback and decided to redo a lot of the mission. This need for a rework could have killed my motivation but fortunately, as the map was designed, it only required a modest amount of work and the mission became so much better for it! Sometimes I believe I'm somewhat of the uncrowned king of missions with a bit more unusual and experimental playstyles and this mission also have some elements that isn't used that much. In contrast to some of my other missions though, this one isn't depending on any quirky meter or sun shining down on the player (Reap as you sow *cough*). As mentioned, it is a sprawling city mission with lots of exploring that I hope will satisfy you! So DeTeEff gives to you: Who Watches The Watcher? ver 1.0 https://drive.google.com/file/d/1YYoJJnxr2UbGxemTR-WoWmH64fbazusH/view?usp=sharing The night is creeping over Bridgeport. You squint in the street lights as you trot down the small alley to where you're about to meet your contact. As a man who straddles the line between lawful and outlaw, it's not often you have peaceful interactions with the City watch but as you're about to learn, this time they have more problems on their hands than to deal with petty thieves like yourself. You see the trademark silhouette of a City watch helmet approaching and you make a last take of your immediate surroundings, should you have to flee if things get awry. The guard presents himself as Albert and you listen carefully to his story and you quickly realise that you don't have much to fear from this man; The Citywatch has wrestled with some internal problems lately with missing reports and evidence that disappear. Albert strongly believes they have a mole on the inside that works for the Greynard RoughBoys; a band of ruthless thugs that doesn't hesitate to maim anyone who oppose them. You learn that he thinks the mole is no other than a Sergeant named Clerwick. Your mission will be to find this man, and collect intelligence on his doings for the night. And as it is payday, you should of course also help the inhabitants to carry some of their heavy purses. Mission type: Creepy elements? Undead? Spiders? Thanks to: My wonderful girlfriend who endures my constant talking about mapping and for helping me with readables and story design and some voice lines. Dragofer - Scripting help Springheel - All those modules Sotha - Hangman model Henrik Swenson for providing some ambients Digiffects Sound Library for some custom sound bites Betatesters: Acolytesix Datiswous Duzenko Jaxa Mezla Nort Prjames Shadow Thebigh Wellingtoncrab Wesp5 And a big thank you to the community for keeping the mod alive! I hope I haven't forgotten anyone... Known bugs: -The AI in TDM is inaccurate in some ways. They will sometimes behave strangely when returning to their original routes after being alerted, like sitting on chairs in weird ways or turning in places, especially if they meet another AI in narrow places. I have done my best to adjust these weird behaviours but with the complexity of everything that's going on and the player making different desicions/noise, it's probably impossible to adjust for everything. I believe I have ironed out the last wrinkles I can, with respect to my knowledge/skills. -Frobbing out of boxes/chests/drawers has always been a pain but I think this is largely an error within the code and how frobing works as the frob highlight wants to lock onto the box itself and not its contents. -There seems to be some kind of bug with the skybox, especially in places where there is water reflections present; The Sky/water volume switch between an opaque variant to a more translucent one. Neither is straight up ugly, but it's jarring to see the sky switch (as it seems randomly). I don't know what is causing this, and I have decided to let this one pass (if any players knows what is causing this, please let me know so can I squash this annoying bug. PLEASE POST ANY QUESTIONS/SPOILERS IN SPOILER BRACKETS
  12. In Elixir, wall is not lit, in dark, but when player approaches, it gets lit. Beta3
  13. Hello everyone, Firstly, and at the risk of seeming dishonnest for starting this with compliments considering what I'm gonna ask in this topic, I'd like to congratulate every one involved in creating "The Painter's Wife": all of you did an incredible work, at Thief 2 "Life of the Party"'s level of quality and even better yet in that there are a few occurences where the ambiance varies, with different "tones" evoking different feelings in one same big mission -that specter was chilling, especially its disturbing "voice(s)", congrats to everyone involved in its creation ! I haven't had the possibility to try other missions yet, since according to what I've read a SSD must always have ~20% of its capacity left free for and my SSD is at 40Go left before going full, but of the couple of "one-shot missions" I've tried for the moment, The Painter's Wife stands out, with Sir Taffsalot's Sword being a great hommage to the member of your forum that made this sad decision. Now, the heart of the matter. I'm 39, handicapped and almost unemployable due to both my handicap and my professional life at this point, too weird for the local anal-retentive standards on a job resume. That's why I decided to create a video game. No less... but since I'm very roughly "the Richard Halliwell / Sheldon Pacotti-kind of guy", having been creating homemade tabletop wargame & RPG rules as well as fictional universes since the last 20 years, and being aware of what can and cannot be done after modding various games until now, I know I can make it. I have my back against the wall anyway, so it's almost not like if I have a choice After months of hard thinking and spent reading all the documentation I could find about the Id Tech 4 engine, I think that using Dark Radiant as an engine is the way to go for me: I'm in favor of free software in the GNU sense of the word, I want my game to also be a modding platform where everything needed to create a FPS-RPG is already built-up by making all my RPG game design systems usable freely by anyone by releasing all of that intellectual property, fictional universe of the game included, under a Creative Commons license, as a way of sticking the finger to what the video game industry has become -DLCs and all these scams like disc-locked content that'd be made illegal in 5 seconds if it concerned any other industries, I scream your name with reeee-ing rage. So here's the question I'd like to ask to the ones here that have built Dark Radiant / The Dark Mod: would you allow me to use it as a base on which to build my game ? (bolding and italics just to make the question stand out from that wall of text) Knowing that of course, my game will be sold: the price I'll be asking is for the whole universe and game systems I've created, I'm not aiming to "make money on your efforts" of course. If my understanding is correct, Dark Radiant is a fork of the Id Tech 4 and includes enhancements not present in the original basic Id Tech 4, so using TDM / Dark Radiant as a base will allow me to save a precious time during the development instead of re-beginning a new engine from scratch, that's why I'm asking. In exchange, everything I plan to add to "my fork" of the Dark Radiant Engine will be freely available for everyone and thus re-usable for The Dark Mod, which means including not just my game design sub-systems for gunfights, for stealth, for dialogue simulation etc but also everything that I plan to implement, such as for instance procedurally generated faces for npcs like Far Cry 2 did, as well as all the 3D models I'd have commissioned during development, etc. But only, of course, after the release of the game. I may also contract various people here for work I can't afford to take the time to learn on my own, by the way: programming, 3D models, and animations, mostly. Who is interested ? Hoping this topic will receive quick replies 'cause the clock is kinda ticking for me these days professionally-wise, I wish to anyone having read until this point to have a nice day, and if you've spotted grammatical mistakes in what I wrote, please let me know, English is not my maternal language so even if I write fluently I'm not beyond progressing yet -actually as long as I won't pass as a native I won't be satisfied
  14. For some reason, DR (v2.14.0 on Windows 10) now crashes on startup for me. I don't even get as far as being able to open up my .map file. Things I've tried: uninstalling/reinstalling installing an older version (2.13.0) - this crashes as well. installing to a different location I'm a bit stumped - it was working totally fine up until a couple of hours ago. Could someone please help - my holidays have just started and I planned to do a lot of work on my map over the next couple of weeks I've uploaded a crash dump here: https://drive.protonmail.com/urls/E48HXR3P5M#QRHycXMjP8cG NOTE: The other day I created a bug report for a crash while using the source control feature, but this (I think) unrelated as like I mentioned I don't even get to open the map file. I'm happy to open a bug report, but as it seems very strange I think it would be impossible to reproduce for anyone so will hold off for now unless someone tells me otherwise. UPDATE: I think I've got it working again. I had to get DR into a state where I could edit the preferences (basically by deleting everything in '\AppData\Roaming\DarkRadiant'), and turning off 'Enable Auto-Fetch' seemed to do the trick. So I guess it was something to do with the version control. After playing around a bit, it looks like it is because I had changed the visibility of my Github project to 'private' a few minutes before it crashed for the first time. Turning it back to public makes the problem go away. I think once DR starts and if the current FM path includes a Git repository it will attempt a fetch immediately, hence the startup crash (if the repo is private). I will raise a bug report.
  15. I'm working on a new project: The Dark Mod Launcher. Its an application launcher for users/beginners who have difficulties to, run TDM (using start-arguments) and solving TDM operatingsystem errors. First it was made for the new tdm-installer mac, as a launcher to run TDM and the updater inside one application-container. But now i want to expand it, to do more things. Tdm launcher will come in two versions: Lite version: run TDM and TDM-updater.run TDM and TDM-updater with commandline arguments.Normal version - More advanced version run TDM and TDM-updater.run TDM and TDM-updater with commandline arguments.Ideas: screen resolution tester, application logger, Mission remover (outside TDM), etc.Download the work-in-progress-version of the lite or standard version from my google drive and extract the executable in your tdm-folder. Sourcecode of these versions will be publisched on my github repo and google drive) This launcher is inspired by darkloader, thief 4 setup and tdminstaller-win. Are other things you want to add to this launcher?
  16. Is that the one with the really confusing labyrinthine library that nobody's allowed to go into? I always thought that would make an excellent (part of a) Dark Mod mission.
  17. I would use this massive list for any fan missions, it includes campaigns too: https://www.ttlg.com/forums/showthread.php?t=148090 There are a lot of Fan Missions for the picking, I myself go for the lesser known ones and the short variety, because sometimes they hide a gem or two. Just like jaxa, I'm a bit outdated after the temporal retirement, but I do remember some amazing campaigns like "The Black Frog". If you intend to play The Black Frog, you should play the first two of the L'Arsene series missions, it's how I did it myself. Also, yes, L'Arsene are a fantastic series. The first mission of L'Arsene is a "rough draft", author was a bit new to Thief level making, but still great either way, after the 3rd you will see how his skill increased by a massive amount.
  18. VA would be a great panel tech for dark games like The Dark Mod as well, if there wouldn't be the drawback of the slow pixel reaction times, especially in dark scenes (which leads to ugly smearing with moving objects). Unfortunately, it is not even guaranteed with more premium models, as far as I've always read. The only decent monitor in that regard that I've seen is the Samsung Odyssey G7. It's curved though, and that's another issue with VA monitors: They're mostly curved. Again, I think, for now, IPS is the best compromise, if you can get a panel with good contrast ratio, and happen to be lucky with a low amount of IPS glow in your specific model. I also think IPS is the most versatile, because, apart from being decent for gaming, it's also good for image or video editing, if you get one with good colour space coverage. For the future, OLED is surely the way to go, if they go for a cheaper price. That said, burn in still seems to be an issue with OLEDs. As @Xolvix wrote, all panel techs have their pros and cons.
  19. Unfortunately, TDM forum deletes the separator between the numbers. So I have to guess where one number ends and the next starts Also, user can rename screenshot manually, or push it through something that would rename it automatically. Thenwe won't see coordinates on screenshot address on forums.
  20. tdm_show_viewpos cvar and screenshot_viewpos command: https://forums.thedarkmod.com/index.php?/topic/22310-212-viewpos-on-player-hud-and-screenshots/
  21. Maybe a dark ritual at the start of the mission would be nice.
  22. Hello, everyone! In this multi-part, comprehensive tutorial I will introduce you to a new light type that has been available in The Dark Mod since version 2.06, what it does, why you would want to use it and how to implement it in your Fan Missions. This tutorial is aimed at the intermediate mapper. Explanations of how to use DarkRadiant, write material files, etc. are outside of its scope. I will, however, aim to be thorough and explain the relevant concepts comprehensively. Let us begin by delineating the sections of the tutorial: Part 1 will walk you through four, distinct ways to add ambient light to a scene, the last way using irradiance environment maps (or IEMs). Lighting a scene with an IEM is considered image-based lighting. Explaining this concept is not in the scope of this tutorial; rather, we will compare and contrast our currently available methods with this new one. If you already understand the benefits IBL confers, you may consider this introductory section superfluous. Part 2 will review the current state of cubemap lights in TDM, brief you on capturing an environment cubemap inside TDM and note limitations you may run into. Three cubemap filtering applications will be introduced and reviewed. Part 3 will go into further detail of the types of inputs and outputs required by each program and give a walkthrough of the simplest way to get an irradiance map working in-game. Part 4 will guide you through two additional, different workflows of how to convert your cubemap to an irradiance map and unstitch it back to the six separate image files that the engine needs. Part 5 will conclude the tutorial with some considerations as to the scalability of the methods hitherto explained and will enumerate some good practices in creating IEMs. Typical scenes will be considered. Essential links and resources will be posted here and a succinct list of the steps and tools needed for each workflow will be summarized, for quick reference. Without further ado, let us begin. Part 1 Imagine the scene. You’ve just made a great environment for your map, you’ve got your geometry exactly how you want it… but there’s a problem. Nobody can appreciate your efforts if they can’t see anything! [Fig. 1] This will be the test scene for the rest of our tutorial — I would tell you to “get acquainted with it” but it’s rather hard to, at the moment. The Dark Mod is a game where the interplay between light and shadow is of great importance. Placing lights is designing gameplay. In this example scene, a corridor with two windows, I have decided to place 3 lights for the player to stealth his way around. Two lights from the windows streak down across the floor and a third, placeholder light for a fixture later to be added, is shining behind me, at one end of the corridor. Strictly speaking, this is sufficient for gameplay in my case. It is plainly obvious, however, that the scene looks bad, incomplete. “Gameplay” lights aside, the rest of the environment is pitch black. This is undesirable for two reasons. It looks wrong. In real life, lights bounce off surfaces and diffuse in all directions. This diffused, omni-directional lighting is called ambient lighting and its emitment can be termed irradiance. You may contrast this with directional lighting radiating from a point, which is called point lighting and its emitment — radiance. One can argue that ambient lighting sells the realism of a scene. Be that as it may, suppose we disregard scary, real-life optics and set concerns of “realism” aside… It’s bad gameplay. Being in darkness is a positive for the player avatar, but looking at darkness is a negative for the player, themselves. They need to differentiate obstacles and objects in the environment to move their avatar. Our current light level makes the scene illegible. The eye strain involved in reading the environment in these light conditions may well give your player a headache, figurative and literal, and greatly distract them from enjoying your level. This tutorial assumes you use DarkRadiant or are at least aware of idtech4’s light types. From my earlier explanation, you can see the parallels between the real life point/ambient light dichotomy and the aptly named “point” and “ambient” light types that you can use in the editor. For further review, you can consult our wiki. Seeing as how there is a danger in confusing the terms here, I will hereafter refer to real life ambient light as “irradiant light”, to differentiate it from the TDM ambient lights, which are our engine’s practical implementation of the optical phenomenon. A similar distinction between “radiant light” and point lights will be made for the same reason. Back to our problem. Knowing, now, that most all your scenes should have irradiant light in addition to radiant light, let’s try (and fail, instructionally) to fix up our gloomy corridor. [Fig. 2] The easiest and ugliest solution: ambient lights. Atdm:ambient_world is a game entity that is basically an ambient light with no falloff, modifiable by the location system. One of the first things we all do when starting a new map is putting an ambient_world in it. In the above image, the darkness problem is solved by raising the ambient light level using ambient_world (or via an info_location entity). Practically every Dark Mod mission solves its darkness problem1 like this. Entirely relying on the global ambient light, however, is far from ideal and I argue that it solves neither of our two, aforementioned problems. Ambient_world provides irradiant light and you may further modulate its color and brightness per location. However, said color and brightness are constant across the entire scene. This is neither realistic, nor does it reduce eye strain. It only makes the scene marginally more legible. Let’s abandon this uniform lighting approach and try a different solution that’s more scene-specific. [Fig. 3] Non-uniform, but has unintended consequences. Our global ambient now down to a negligible level, the next logical approach would be hand-placed ambient lights with falloff, like ambient_biground. Two are placed here, supplementing our window point lights. Combining ambient and point lights may not be standard TDM practice, but multiple idtech4 tutorials extol the virtues of this method. I, myself, have used it in King of Diamonds. For instance, in the Parkins residence, the red room with the fireplace has ambient lights coupled to both the electric light and the fire flame. They color the shadows and enrich the scene, and they get toggled alongside their parent (point) lights, whenever they change state (extinguished/relit). This is markedly better than before, but to be honest anything is, and you may notice some unintended side-effects. The AI I’ve placed in the middle of the ambient light’s volume gets omnidirectionally illuminated far more than any of the walls, by virtue of how light projection in the engine works. Moving the ambient lights’ centers closer to the windows would alleviate this, but would introduce another issue — the wall would get lit on the other side as well. Ambient lights don’t cast shadows, meaning they go through walls. You could solve this by creating custom ambient light projection textures, but at this point we are three ad hocs in and this is getting needlessly complicated. I concede that this method has limited use cases but illuminating big spaces that AI can move through, like our corridor, isn’t one of them. Let’s move on. [Fig. 4] More directional, but looks off. I have personally been using this method in my WIP maps a lot. For development (vs. release), I even recommend it. A point light instead of an ambient light is used here. The texture is either “biground1” or “defaultpointlight” (the latter here). The light does not cast shadows, and its light origin is set at one side of the corridor, illuminating it at an angle. This solves the problem of omnidirectional illumination for props or AI in the middle of the light volume, you can now see that the AI is lit from the back rather than from all sides. In addition, the point light provides that which the ambient one cannot, namely specular and normal interaction, two very important features that help our players read the environment better. This is about as good as you can get but there are still some niggling problems. The scene still looks too monochromatic and dark. From experience, I can tell you that this method looks good in certain scenes, but this is clearly not one of them. Sure, we can use two, non-shadowcasting point lights instead of one, aligned to our windows like in the previous example, we can even artfully combine local and global ambient lights to furnish the scene further, but by this point we will have multiple light entities placed, which is unwieldy to work with and possibly detrimental to performance. Another problem is that a point light’s movable light origin helps combat ambient omnidirectionality, but its projection texture still illuminates things the strongest in the middle of its volume. I have made multiple experiments with editing the Z-projection falloff texture of these lights and the results have all left me unsatisfied. It just does not look right. A final, more intellectual criticism against this method is that this does not, in a technical sense, supply irradiant light. Nothing here is diffuse, this is just radiant light pretending the best it can. [Fig. 5] The irradiance map method provides the best looking solution to imbuing your scene with an ambient glow. This is the corridor lit with irradiance map lights, a new lighting method introduced in The Dark Mod 2.06. Note the subtle gradients on the left wall and the bounced, orange light on the right column. Note the agreeable light on the AI. Comparing the previous methods and this, it is plainly obvious that an irradiance environment map looks the most realistic and defines the environment far better than any of the other solutions. Why exactly does this image look better than the others? You can inform yourself on image-based lighting and the nature of diffuse irradiance, but images speak louder than words. As you can see, the fact of the matter is that the effect, subtle as it may be, substantially improves the realism of the scene, at least compared to the methods previously available to us. Procuring irradiance environment maps for use in lighting your level will hereafter be the chief subject of this tutorial. The next part will review environment cubemap capture in TDM, the makeIrradiance keyword and three external applications that you can use to convert a TDM cubemap into an irradiance map. 1 “ Note that the color buffer is cleared to black: Doom3 world is naturally pitch black since there is no "ambient" light: In order to be visible a surface/polygon must interact. with a light. This explains why Doom3 was so dark ! “ [source] Part 2 Cubemaps are not new to The Dark Mod. The skybox materials in some of our prefabs are cubemaps, some glass and polished tile materials use cubemaps to fake reflections for cheap. Cubemap lights, however, are comparatively new. The wiki page linked earlier describes these two, new light types that were added in TDM 2.05. cubicLight is a shadow-casting light with true spherical falloff. An example of such a light can be found in the core files, “lights/cubic/tdm_lampshade_cubic”. ambientCubicLight is the light type we will be focusing on. Prior to TDM 2.06, it acted as a movable, on-demand reflection dispenser, making surfaces in its radius reflect a pre-set cubemap, much like glass. After 2.06, the old behavior was discarded and ambientCubicLight was converted to accept industry standard irradiance environment maps. Irradiance environment maps (IEMs) are what we want to make, so perhaps the first thing to make clear is that they aren’t really “handmade”. An IEM is the output of a filtering process (convolution) which requires an input in the form of a regular environment cubemap. In other words, if we want to make an IEM, we need a regular cubemap, ideally one depicting our environment — in this case, the corridor. I say a snapshot of the environment is ideal for lighting it because this emulates how irradiant light in the real world works. All radiating surfaces are recorded in our cubemap, our ambient optic array as it were, then blurred, or convoluted, to approximate light scatter and diffusion, then the in-game light “shines” this approximation of irradiant light back to the surfaces. There is a bit of a “chicken and the egg” situation here, if your scene is dark to begin with, wouldn’t you just get a dark irradiance map and accomplish nothing? In the captured cubemap faces in Fig. 6, you may notice that the environment looks different than what I’ve shown so far. I used two ambient lights to brighten up the windows for a better final irradiance result. I’ve “primed the pump”, so to speak. You can ignore this conundrum for the moment, ways to set up your scenes for better results, or priming the pump correctly, will be discussed at the end of the tutorial. Capturing the Environment The wiki has a tutorial on capturing cubemaps by angua, but it is woefully out of date. Let me run you through the process for 2.07 really briefly. To start with, I fly to approx. the center of the corridor with noclip. I then type “envshot t 256” in the console. This outputs six .tga images in the <root>/env folder, simply named “t”, sized 256x256 px and constituting the six sides of a cube and depicting the entire environment. This is how they look in the folder: [Fig. 6] The six cube faces in the folder. Of note here is that I do not need to switch to a 640x480 resolution, neither do I need to rename these files, they can already be used in an ambientCubicLight. Setting Up the Lights For brevity’s sake, I’ll skip explaining material definitions, if you’ve ever added a custom texture to your map, you know how to do this. Suffice it to say, it is much the same with custom lights. In your <root>/materials/my_cool_cubemaps.mtr file, you should have something like this: lights/ambientcube/my_test_IEM_light { ambientCubicLight { forceHighQuality //cameraCubeMap makeIrradiance(env/t) cameraCubeMap env/t colored zeroClamp } } We’ll play with the commented out line in just a bit. Firstly, let’s place the actual light in DarkRadiant. It’s as simple as creating a new light or two and setting them up in much the same way you would a regular ambient light. I select the appropriate light texture from the list, “my_test_IEM_light” in the “ambientcube” subfolder and I leave the light colored pure white. [Fig. 7] The corridor in DR, top view, with the ambient cubic lights highlighted. I can place one that fills the volume or two that stagger the effect somewhat. Remember that these lights still have a spherical falloff. Preference and experimentation will prove what looks best to you. Please note that what the material we defined does is load a cubemap while we established that ambientCubicLights only work with irradiance maps. Let’s see if this causes any problems in-game. I save the map and run it in game to see the results. If I already have TDM running, I type “reloadDecls” in the console to reload my material files and “reloadImages” to reload the .tga images in the /env folder. [Fig. 8] Well this looks completely wrong, big surprise. Wouldn’t you know it, putting a cubemap in the place of an irradiance map doesn’t quite work. Everything in the scene, especially the AI, looks to be bathed in slick oil. Even if a material doesn’t have a specular map, it won’t matter, the ambientCubicLight will produce specular reflections like this. Let’s compare how our cubemap .tga files compares with the IEM .tgas we’ll have by the end of the tutorial: [Fig. 9] t_back.tga is the back face of the environment cubemap, tIEM_back.tga is the back face of the irradiance map derived from it. As you can see, the IEM image looks very different. If I were to use “env/tIEM” instead of “env/t” in the material definition above, I would get the proper result, as seen in the last screenshot of part 1. So it is that we need a properly filtered IEM for our lights to work correctly. Speaking of that mtr def though, let’s not invoke an irradiance map we haven’t learned to convert yet. Let’s try an automatic, in-engine way to convert cubemaps to IEMs, namely the makeIrradiance material keyword. makeIrradiance and Its Limitations Let’s uncomment the sixth line in that definition and comment out the seventh. cameraCubeMap makeIrradiance(env/t) //cameraCubeMap env/t Here is a picture of how a cubemap ran through the makeIrradiance keyword looks like: [Fig. 10] Say ‘Hi’ to our friend in the back, the normalmap test cylinder. It’s a custom texture I’ve made to demonstrate cubemap interactions in a clean way. Hey now, this looks pretty nice! The scene is a bit greener than before, but you may even argue it looks more pleasing to the eyes. Unfortunately, the devil is in the details. Let’s compare the makeIrradiance keyword’s output with the custom made irradiance map setup seen at the end of part 1. [Fig. 11, 12] A closer look at the brick texture reveals that the undesired specular highlighting is still present. The normal map test cylinder confirms that the reason for this is the noisy output of the makeIrradiance keyword. The in-engine conversion is algorithmic, more specifically, it doesn't allow us to directly compare .tga files like we did above. Were we able to, however, I'm sure the makeIrradiance IEM would look grainy and rough compared to the smooth gradient of the IEM you’ll have by the end of this tutorial. The makeIrradiance keyword is good for quick testing but it won’t allow you fine control over your irradiance map. If we want the light to look proper, we need a dedicated cubemap filtering software. A Review of Cubemap Filtering Software Here I’ll introduce three programs you can produce an irradiance map with. In the coming parts, I will present you with a guide for working with each one of them. I should also note that installing all of these is trivial, so I’ll skip that instructional step when describing their workflows. I will not relay you any ad copy, as you can already read it on these programs’ websites. I’ll just list the advantages and disadvantages that concern us. Lys https://www.knaldtech.com/lys/ Advantages: Good UI, rich image manipulation options, working radiance/specular map filtering with multiple convolution algorithms. Disadvantages: $50 price tag, limited import/export options, only available on Windows 64-bit systems. cmftStudio https://github.com/dariomanesku/cmftStudio Advantages: Available on Windows, OSX and Linux, free, open source software, command line interface available. Disadvantages: Somewhat confusing UI, limited import options, missing features (radiance/specular map filtering is broken, fullscreen doesn’t work), 32-bit binaries need to be built from source (I will provide a 32-bit Windows executable at the end of the tutorial). Modified CubeMapGen https://seblagarde.wordpress.com/2012/06/10/amd-cubemapgen-for-physically-based-rendering/ Advantages: Free software, quickest to work with (clarified later). Disadvantages: Bad UI, only Windows binaries available, subpar IEM export due to bad image adjustment options. Let’s take a break at this point and come back to these programs in part 3. A lot of caveats need to be expounded on as to which of these three is the “best” software for making an irradiance map for our purposes. Neither of these programs has a discreet workflow; rather, the workflow will include or exclude certain additional programs and steps depending on which app you choose to work with. It will dovetail and be similar in all cases. Part 3 The aim of this tutorial is twofold. First, it aims to provide the most hands-free and time-efficient method of converting an envshot, environment cubemap to an IEM and getting it working in-game. The second is using as few applications as possible and keeping them all free software that is available for download, much like TDM itself. The tutorial was originally going to only cover IEM production through Lys, as that was the app I used to test the whole process with. I soon realized that it would be inconsiderate of me to suggest you buy a fifty dollar product for a single step in a process that adds comparatively little to the value of a FM, if we’re being honest (if you asked me, the community would benefit far more from a level design tutorial than a technical one like this, but hey, maybe later, I’m filling a niche right now that nobody else has filled). This led me to seek out open-source alternatives to Lys, such as Cubemapgen, which I knew of and cmftStudio, which I did not. I will preempt my own explanations and tell you right away that, in my opinion, cmftStudio is the program you should use for IEM creation. This comes with one big caveat, however, which I’m about to get into. Six Faces on a Cross and The Photoshop Problem Let’s review. Taking an envshot in-game gives you six separate images that are game-ready. Meaning, you get six, split cubemap faces as an output, you need six, split irradiance map faces as an input. This is a problem, because neither Lys nor cmftStudio accept a sequence of images as such. They need to be stitched together in a cube cross, a single image of the unwrapped cube, like this: [Fig. 13] From Lys. Our cubemap has been stitched into a cross and the “Debug Cube Map Face Position” option has been checked, showing the orientations of each face. In Lys only panoramas, sphere maps and cube maps can be loaded into the program. The first two do not concern us, the third specifically refers to a single image file. Therefore, to import a TDM envshot into Lys you need to stitch your cubemap into a cross. Furthermore, Lys’ export also outputs a cubemap cross, therefore you also need to unstitch the cubemap into its faces afterwards if you want to use it in TDM. In cmftStudio you can import single map faces! Well… no, you can’t. The readme on GitHub boasts “Input and output types: cubemap, cube cross, latlong, face list, horizontal and vertical strip.” but this is false. The UI will not allow you to select multiple files on import, rendering the “face list” input type impossible.2 Therefore, to import a TDM envshot into cmftStudio you need to stitch your cubemap into a cross. Fortunately, the “face list” export type does work! Therefore, you don’t need to unstitch the cubemap manually, cmftStudio will export individual faces for you. In both of these cases, then, you need a cubemap cross. For this tutorial I will use Adobe Photoshop, a commercial piece of software, to stitch our faces into a cubemap in an automated fashion (using Photoshop’s Actions). This is the big caveat to using cmftStudio, even if you do not want to buy Lys, PS is still a prerequisite for working with both programs. There are, of course, open source alternatives to Photoshop, such as GIMP, but it is specifically Photoshop’s Action functionality that will power these workflows. GIMP has its own Actions in the form of Macros, but they are written with python. GIMP is not a software suite that I use, neither is python a language I am proficient with. Out of deference for those who don’t have, or like working with, Photoshop, I will later go through the steps I take inside the image editor in some detail, in order for the studious reader to reconstruct them, if they so desire, in their image editing software of choice. At any rate, and at the risk of sounding a little presumptuous, I take it that, as creative types, most of you already have Photoshop on your computers. 2 An asterisk regarding the “impossibility” of this. cmftStudio is a GUI for cmft, a command line interface that does the same stuff but inside a command prompt. I need to stress that I am certain multiple faces can be inputted in the command line, but messing with unwieldy prompts or writing batch files is neither time-saving nor user-friendly. This tutorial is aimed at the average mapper, but a coder might find the versatility offered in cmft interesting. The Cubemapgen Workflow You will have noticed that I purposefully omitted Cubemapgen from the previous discussion. This is because working with Cubemapgen, wonderfully, does not need Photoshop to be involved! Cubemapgen both accepts individual cubemap faces as input and exports individual irradiance map faces as output. Why, then, did I even waste your time with all the talk of Lys, cmftStudio and Photoshop? Well, woefully, Cubemapgen’s irradiance maps look poor at worst and inconsistent at best. Comparing IEMs exported from Lys and cmftStudio, you will see that both look practically the same, which is good! An IEM exported from Cubemapgen, by default, is far too desaturated and the confusing UI does not help in bringing it to parity with the other two programs. If you work solely with Cubemapgen, you won’t even know what ‘parity’ is, since you won’t have a standard to compare to. [Fig. 14] A comparison between the same irradiance map face, exported with the different apps at their respective, default settings. Brightened and enlarged for legibility. This may not bother you and I concede that it is a small price to pay for those not interested in working with Photoshop. The Cubemapgen workflow is so easy to describe that I will in fact do just that, now. After I do so, however, I will argue that it flies in the face of one of the aims of this tutorial, namely: efficiency. Step 1: Load the cubemap faces into Cubemapgen. Returning to specifics, you will remember that we have, at the moment, six .tga cubemap faces in a folder that we want to convert to six irradiance map faces. With Cubemapgen open, direct your attention to these buttons: [Fig. 15] You can load a cubemap face by pressing the corresponding button or using the hotkey ‘F’. To ensure the image faces the correct way, you must load it in the corresponding “slot”, from the Select Cubemap Face dropdown menu above, or by pressing the 1-6 number keys on your keyboard. Here is a helpful list: X+ Face <1> corresponds to *_right X- Face <2> corresponds to *_left Y+ Face <3> corresponds to *_up Y- Face <4> corresponds to *_down Z+ Face <5> corresponds to *_forward Z- Face <6> corresponds to *_back ...with the asterisk representing the name of your cubemap. With enough practice, you can get quite proficient in loading cubemap faces using keyboard shortcuts. Note that the ‘Skybox’ option in the blue panel is checked, I recommend you use it. Step 2: Generate the Irradiance Map [Fig. 16] The corridor environment cubemap loaded in and filtered to an irradiance map. The options on the right are my attempt to get the IEM to look right, though they are by no means prescriptive. Generating an IEM with Modified CubeMapGen 1.66 is as easy as checking the ‘Irradiance cubemap’ checkbox and hitting ‘Filter Cubemap’ in the red panel. There are numerous other options there, but most will have no effect with the checkbox on. For more information, consult the Sébastien Lagarde blog post that you got the app from. I leave it to you to experiment with the input and output gamma sliders, you really have no set standard on how your irradiance map is supposed to look, so unfortunately you’ll have to eyeball it and rely on trial and error. Two things are important to note. The ‘Output Cube Size’ box in the red panel is the resolution that you want your IEM to export to. In the yellow panel, make sure you set the output as RGB rather than RGBA! We don’t need alpha channels in our images. Step 3: Export Irradiance Map Faces Back in the green panel, click the ‘Save CubeMap to Images’ button. Save the images as .tga with a descriptive name. [Fig. 17] The exported irradiance map faces in the folder. These files still need to be renamed with appropriate suffixes in order to constitute a readable cubemap for the engine. The nomenclature is the same as the table above: “c00” is the X+ Face, to be renamed “right”, “c01” is the X- Face and so on. Right left, up down, forward and back. That’s the order! This is all there is to this workflow. A “cameraCubeMap env/testshot” in the light material will give us a result that will look, at the very least, better than the inbuilt makeIrradiance material keyword. [Fig. 17] The map ended up being a little bright. Feel free to open Fig. 4 and this in seperate tabs and compare the Lys/cmft export with the cubemapgen one. A Review of the Workflow Time for the promised criticism to this workflow. I already stated my distaste for the lack of a standardised set of filtering values with this method. The lack of any kind of preset system for saving the values you like makes working with Cubemapgen even more slipshod. Additionally, in part 2, I said that Cubemapgen is the fastest to work with, but this needs to be qualified. What we just did was convert one cubemap to an irradiance map, but a typical game level ought to use more than a single IEM. Premeditation and capturing fake, “generic” environment cubemaps (e.g. setting up a “blue light on the right, orange on the left” room or a “bright skylight above, brown floor” room, then capturing them with envshot) might allow for some judicious reuse and keep your distinct IEM light definition count down to single digits, but you can only go so far with that. I am not arguing here for an ambient cubic light in every scene either, certainly only those that you deem need the extra attention, or those for which the regular lighting methods enumerated in Part 1 do not quite work. I do tentatively assume, though, that for an average level you would use between one and two dozen distinct IEMs. Keep in mind that commercial games, with their automated probe systems for capturing environment shots, use many, many more than that. With about 20 cubemaps to be converted and 6 faces each to load into Cubemapgen, you’ll be going through the same motions 120 whole times (saving and renaming not included). If you decide to do this in one sitting (and you should, as Cubemapgen, to reiterate, does not keep settings between sessions), you are in for a very tedious process that, while effective, is not very efficient. The simple fact is that loading six things one by one is just slower than loading a single thing once! The “single thing” I’m referring to is, of course, the single, stitched cubemap cross texture. In the next part, I will go into detail regarding how to make a cubemap cross in Photoshop in preparation for cmftStudio and Lys. It will initially seem a far more time-consuming process to you than the Cubemapgen workflow, but through the magic of automation and the Actions feature, you will be able to accomplish the cubemap stitch process in as little as a drag-and-drop into PS and a single click. The best thing is that after we go through the steps, you won’t have to recreate them yourself, as I will provide you with a custom Actions .atn file and save you the effort. I advise you not to skip the explanations, however. The keen-eyed among you may have noticed that you can also load a cube cross in Cubemapgen. If you want to use both Cubemapgen and Photoshop together to automate your Cubemapgen workflow, be aware that Cubemap gen takes crosses that have a different orientation than the ones Lys and cmftStudio use. My macros (actions) are designed for the latter, so if you want to adjust them for Cubemapgen you would do well to study my steps and modify them appropriately. For the moment, you’ve been given the barebones essentials needed to capture an envshot, convert it to an irradiance map and put it in your level at an appropriate location, all without needing a single piece of proprietary software. You can stop here and start cranking out irradiance maps to your heart’s content, but if you’re in the mood for some more serious automation, consider the next section.
  23. Relax @Näkki, it's great to hear you enjoyed the game. My personal expectations were just a bit different when I read the Steam page, although the various trailers should have been a warning that stealth maybe wasn't the biggest priority of the devs. From the Steam page: "Weird west legends meet eldritch horror in BLOOD WEST, an immersive stealth FPS." Also "Blood West is a stealth FPS inspired by the genre classics such as the Thief series (whose fans will be happy to hear the voice of Stephen Russell, the actor voicing the master-thief Garrett, returning here as the protagonist), S.T.A.L.K.E.R. games, or - from the contemporary catalog - Hunt: Showdown. The gameplay rewards the careful approach: scouting the area, stalking your enemies, and striking from the shadows. Can you figure out a way to clear a fort full of ghouls and monsters without raising an alarm?" From my personal experience I think the game is predominantly Hunt: Showdown, a bit of S.T.A.L.K.E.R. and a very small portion Thief. Stealth is very unforgiving and makes it almost impossible early game when there are various enemies around, but hey maybe I just suck at it. I don't see Deus Ex in it, unless the skill leveling is the Deus Ex part for you and then I have to disagree with you, as that seems like the trait system in Hunt: Showdown. Edit: What I also understood from the Steam forums is that the original VA was dropped close before the release of the full version and replaced by Russell with no real explanation from the devs why this was done.
×
×
  • Create New...