Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Very cool!

 

Those would be awesome if the mapper wants include hallucination or flashbacks into their stories.

  • Like 4

Clipper

-The mapper's best friend.

Posted

You are brilliant! I was looking to achieve something like this, had basicly given up as it took a lot more knowledge than I thought (and possessed), so cool to see this in action in TDM!

Posted

I don't know if Obs used the same method, but this kind of thing has been possible for a while: http://forums.thedarkmod.com/topic/14394-apples-and-peaches-obsttortes-mapping-and-scripting-thread/?p=332341

Posted (edited)

Yes, I experimented with that, but was unable to control the shader. Maybe I set it up incorrectly, but I was also unable to get rid of a strong brightness effect. Still, I havent had time to look into Rich's solution yet, but hopefully it will also allow for custom color grading effects (the rgb editing that is refered to in the blog article linked above), which is actually what Ive been looking for!

Edited by RPGista
Posted

Some of the stuff happening in those shaders can require some math, which can be confusing or errorsome if you are not used to work with this. In addition ARB is pretty abstract and hard to read in comparision to modern programming languages. Easy to make mistakes when working with this stuff. :(

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Posted

Yeh that'd work beautifully for flashbacks

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Posted

 


because right now Im using Obs' idea of a sphere attached to the player to test the shader, and it doesnt affect either of those

I think I told you that this approach was just a test and that you should use a gui overlay instead ;)

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Posted

I'm having trouble with this. The post process works half the time and at seemingly random looking angles the screen stops rendering. Without bloom it looks like the image is frozen, with bloom it quickly blooms up to a white screen.

 

I tried playing with switching interaction shaders, vsync and full screen without any success. It doesn't matter which map I use.

My FMs: The King of Diamonds (2016) | Visit my Mapbook thread sometimes! | Read my tutorial on Image-Based Lighting Workflows for TDM!

 

 

Posted

I saw similar issues when testing using g_testPostProcess. It has something to do with visportals as disabling them fixes the problem.

 

To use this in production you need to modify the hud gui by creating an extra windowDef and applying the material there.

 

I'm not able to whip up a modified GUI ATM but if nobody addresses the problem for you in the next day or so I'll see what I can do.

  • Like 2
Posted

Thats awesome! But unfortunately, I was testing this on a couple of maps and Im getting a black screen. The game is running, you can see the HUD items (and see the night skybox in one map), but everything else is black...

Posted (edited)

To use this in production you need to modify the hud gui by creating an extra windowDef and applying the material there.

Simple method to color-grade the screen, is to give the hud-gui a transparant background colour.

(but i didnt added an extra windowdef)

Its doesnt have nice effect like in the screenshots above, but it gives the player a low-systemperformance effect.

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Posted

@freyk:

 

Sure, if all you want to do is apply a color cast that works.

 

@RPGista:

 

Are there missions where you don't get a black screen? I've tested it in the training mission and it works fine. I'm not sure how to handle this aside from doing something silly like binding a sphere to the player if the gui overlay approach doesn't work.

Posted (edited)

Strange... I tried on a few more missions I have here, got an image in Mother Rose, everything was working great in the sense all items but the HUD graphics were being affected by the color grading, but it was extremely dark, several times darker than my clut editing. In A Step too Far, all I get is the starry sky. In my own testing map, only a black screen. Im posting the console dump, if it is any help.

 

mother.txt

 

step.txt

 

testing.txt

 

PS: In all cases, the HUD graphics are showing fine (player items). Its the world view and hud models that are black.

Could it be anything related to graphics settings?

 

PS2: I put the pk4 in the darkmod folder (was using it per mission folder before). I can confirm that the shader works on the training mission, as well as the Saint Lucia one. But both are suffering from strong slow downs on random intervals, the image just freezes, then comes back again. The game doesnt hang, I can escape to the menu and exit the game normally. It just freezes while playing.

Edited by RPGista
Posted

No, this was a lot darker than that, and I just tested it inside the starting area, the cemetery. It was as if I had lowered the levels almost completely on the LUT palette (it was a notch above completely black), but I was using the same one I used to make the screenshots above. It was definitely something to do with the GUI overlay.

 

The bound sphere thing does work, but it has several setbacks. It wont follow you if you crouch (it hovers over your head). If its too small, you'll come out of it when you are mantling things. If its too big, it will clip models around you. I guess thats why you could use two, one big and one small, to account for these problems. But it wont affect the player's HUD models (arms and weapons) which breaks the effect quite a lot. Hopefully this is not hard to fix, having it on the GUI is the perfect solution!

Posted

IIRC, my solution in Cleighmoor for putting a veil over the player's eyes was to not bind the veil to the player, but to move the veil each frame and place it X units in front of the player's eyes, and rotate it properly so that the forward view vector always intersected the veil's plane at 90 degrees. This way, when the player crouches, the veil also crouches. (I might be wrong, but this is how I remember it.)

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 3 replies
    • Goblin of Akenash

      My mapping discord if anyone is interested, its more of a general modding thing rather than just for TDM 
      https://discord.gg/T4Jt4DdmUb

       
      · 0 replies
    • nbohr1more

      2.13 Moddb Article is up: https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-213-is-here
      · 1 reply
×
×
  • Create New...