Jump to content
System downtime for updates - Monday 21 April 2025 ×
The Dark Mod Forums

Recommended Posts

Posted
3 hours ago, nbohr1more said:

https://bugs.thedarkmod.com/view.php?id=6579

@Amadeus can you revert this and create new materials defs with the desired design eg: window_moolit_new (etc)?

Do your changes significantly improve existing missions so that only this mission is an outlier ( eg we would just include an override def in this mission ) ?

So I can definitely revert it if you'd like (gonna have to wait til Sunday or Monday though) but as Daft Mugi pointed out, this kinda looks like the tone mapper. When I tested these changes way back when, the windows didn't look as muted as they do in snatcher's screenshots. At the time, I also tested the windows on FMs like perilous refuge, PD3, and a handful of others and haven't noticed this issue. Either way, I'll take a closer look at this in a few days

Posted

With r_tonemapOnlyGame3d set to 1, there are font distortions (as seen in the animated screenshot).
The A, G, S, and O characters are the most noticeable -- the bottoms are cut off.

r_tonemapOnlyGame3d-font-distortion.gif.48129304b9b4562e3f20c8af5084cd76.gif

  • Like 3
  • Confused 1
Posted
1 hour ago, Amadeus said:

So I can definitely revert it if you'd like (gonna have to wait til Sunday or Monday though) but as Daft Mugi pointed out, this kinda looks like the tone mapper. When I tested these changes way back when, the windows didn't look as muted as they do in snatcher's screenshots. At the time, I also tested the windows on FMs like perilous refuge, PD3, and a handful of others and haven't noticed this issue. Either way, I'll take a closer look at this in a few days

Please do. I can clearly see the lack of illumination on the new texture even without bloom enabled on either 2.12 and 2.13.

I agree that the texture being called "unlit" is a bad name for it but mappers often choose the textures based on appearance rather than name so who knows how many missions we have where the author wanted an unlit look but couldn't get one vs wanted the current blue lit appearance.

  • Like 3

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Posted
20 hours ago, Daft Mugi said:

This is due to the recent tonemapper changes. When r_tonemapOnlyGame3d is set to 1, the fonts are distorted. When r_tonemapOnlyGame3d is set to 0, the fonts look fine.

I can't confirm this.
The minor clipping of letters O/D happens regardless of tonemapping, just the color of the paper is a bit different depending on tonemapping.
Not sure this has to be fixed though... it might be hard to avoid while using small font.

Posted
17 hours ago, snatcher said:
  • Mandrasola: Some windows have lost their mojo

This might be the bumpy envmap change (6354).

For this kind of stuff, be sure to use the updated version of the mission, especially in 2.13 beta.
Which can be a bit hard now, since we have some issues with missions database.

UPDATE: Looked at the windows, they don't have envmap. So this is asset changes.

Posted
On 1/16/2025 at 8:12 PM, snatcher said:

An addition to my, never acknowledged (too much asking, I know), previous report:

  • AT1: Lucy's quest: funny things going on in the background during the briefing

This is caused by the fact that I disabled tonemapping in the main menu.
With "r_tonemapOnlyGame3d 0", the issue disappears.

Posted
3 hours ago, stgatilov said:

I can't confirm this.
The minor clipping of letters O/D happens regardless of tonemapping, just the color of the paper is a bit different depending on tonemapping.
Not sure this has to be fixed though... it might be hard to avoid while using small font.

Regarding the download mission list characters that Wesp5 was referring to, yeah, I couldn't confirm it either. It looks the same between 2.12 and 2.13.

But, the mission title on the main menu screen does have characters clipped at the bottom when r_tonemapOnlyGame3d "1" (as seen in the animated screenshot). Are you able to confirm that?

16 hours ago, Daft Mugi said:

The A, G, S, and O characters are the most noticeable -- the bottoms are cut off.

r_tonemapOnlyGame3d-font-distortion.gif.48129304b9b4562e3f20c8af5084cd76.gif

 

Some ideas:

  • Postpone r_tonemapOnlyGame3d until TDM 2.14?
  • Perhaps the clipping issue is related to post processing, so if r_tonemapOnlyGame3d "1" uses post processing, the characters might look correct?
    • As an aside, it might be worthwhile to always have r_postprocess_sharpen "1" for the main menu regardless of in-game setting, because it makes fonts crisp and clear. Without r_postprocess_sharpen "1", fonts are blurry.
  • Like 2
Posted
34 minutes ago, Daft Mugi said:

But, the mission title on the main menu screen does have characters clipped at the bottom when r_tonemapOnlyGame3d "1" (as seen in the animated screenshot). Are you able to confirm that?

No, it looks the same for me.

Posted (edited)

In looking at the animation, it struck me as odd that some characters become clipped while others apparently do not. The characters being clipped are those with a horizontal stroke at the bottom (G,S,O; exception: A). Maybe that indicates the sharpening algorithm is overly aggressive for those cases.

EDIT: Further thoughts about this...

 

Edited by Geep
add link
Posted

Okay, so I noticed something else today and I can't say if this was already the case with 2.12 or is new in 2.13: If you select all missions to download at the same time, all of them are listed on the right side but it seems only some will actually be downloaded, so you need to do this multiple times. Is there a maximum number of missions that can be updated this way?

Posted
8 hours ago, datiswous said:

Does the mission work on 2.12 and 2.13?

A fresh version from the missions repo currently works only on 2.13 beta.
I posted a link to 2.12 version in that thread.

  • Like 1
Posted (edited)
On 1/2/2025 at 7:32 PM, stgatilov said:

* Added TDM version + engine revision in lower-left corner of main menu.

version.jpg

You don't need this in the "Official" release. Keep it for geeks (alphas and betas) but spare your global audience.

On 1/2/2025 at 7:32 PM, stgatilov said:

* Fixed unwanted mine deployment when player eats the last bit of food in hands (6598).

Okay but this is more of a hack than fix. It solves a problem for a particular scenario but it doesn't address the underlying issue and it ends up messing with the user interface (where did my compass go). The problem is still there: depending when some items are acquired and the number of items players can still unintentionally, in example, drop a flashbomb after drinking a potion.

On 1/2/2025 at 7:32 PM, stgatilov said:

* Improving the fonts continued (thread).

@Geep, are you sure your latest and greatest versions of Stone are in 2.13b1? I detect some artifacts I haven't seen in long time, specially in uppercase letters.

Edited by snatcher
  • Like 1

TDM_Modpack_Thumb_50.png

Posted

A lighting bug introduced, I think, in 2.12.

Heart of Lone Salvation, just on entering the cellar through the sewer pipe:

 

litebug212.thumb.jpg.283873f327cf3c6b0ba3784d2830a852.jpg

My missions:           Stand-alone                                                      Duncan Lynch series                              

                                      Down and Out on Newford Road              the Factory Heist

                                The Wizard's Treasure                             A House Call

                                                                                                  The House of deLisle                                                                                                  

                              

Posted (edited)
On 1/2/2025 at 7:32 PM, stgatilov said:

* Fixed unwanted mine deployment when player eats the last bit of food in hands (6598).

20 hours ago, snatcher said:

Okay but this is more of a hack than fix. It solves a problem for a particular scenario but it doesn't address the underlying issue and it ends up messing with the user interface (where did my compass go). The problem is still there: depending when some items are acquired and the number of items players can still unintentionally, in example, drop a flashbomb after drinking a potion.

This long-standing issue should ideally be fixed in the SDK. In example: register the item onKeyPress and make sure onKeyRelease relates to the same item, otherwise abort.

The alternative is to add these checks in the individual items, in example:

object playertools_flashbomb : player_tools {

	void inventoryUse(entity userEntity, entity frobbedEntity, float buttonState);

	void inventoryUseKeyRelease(entity userEntity, entity eFrobbed, float holdTime);

	boolean playerTriggered;

	void inventory_item_select(entity userEntity, float overlay);
	void inventory_item_unselect(entity userEntity, float overlay);
};

void playertools_flashbomb::inventory_item_select(entity userEntity, float overlay)
{
	playerTriggered = false;
}

void playertools_flashbomb::inventory_item_unselect(entity userEntity, float overlay)
{
	playerTriggered = false;
}

void playertools_flashbomb::inventoryUse(entity userEntity, entity frobbedEntity, float buttonState)
{
	playerTriggered = true;
}

void playertools_flashbomb::inventoryUseKeyRelease(entity userEntity, entity eFrobbed, float holdTime)
{
	if (playerTriggered)
	{
		playerTriggered = false;

		// continue normally
	}
}

The downside of using the script system is that some missions come with their own custom items and these should to be revisited as well.

Edited by snatcher

TDM_Modpack_Thumb_50.png

Posted
17 hours ago, snatcher said:

You don't need this in the "Official" release. Keep it for geeks (alphas and betas) but spare your global audience.

I would say it's easier to leave it there than remove it specifically in final releases.
In fact, "the geeks" don't need it because they know they can open console and see the revision there.

Quote

Okay but this is more of a hack than fix. It solves a problem for a particular scenario but it doesn't address the underlying issue and it ends up messing with the user interface (where did my compass go).

I did not pay much attention to this, but I like the idea of fixing more reliably it in C++.
I wonder if we should still release the current hack, or revert it and do proper fix later?
 

Posted (edited)
1 hour ago, stgatilov said:

I did not pay much attention to this, but I like the idea of fixing more reliably it in C++.
I wonder if we should still release the current hack, or revert it and do proper fix later?

This issue has been there like, forever. If the plan is to have a proper fix for 2.14 then it can wait one more year.

I propose removing the hack and temporally go for updated scripts for the mines and the flashbomb. Whenever the fix is ready you can revert back these scripts. In the meantime, the issue is minimized (*) with no impact on anything else.

(*) Custom items in missions will still drop.

Find the updated tdm_playertools.script attached to this post.

EDIT - The script is a few posts below.

 

Edited by snatcher
Wring script uploaded
  • Like 2

TDM_Modpack_Thumb_50.png

Posted
4 hours ago, thebigh said:

Heart of Lone Salvation, just on entering the cellar through the sewer pipe:

I can't reproduce with fresh mission downloaded from the mirrors.
I tried SVN and beta213-01. Tried stencil / shadows. Tried tdm_open_doors / tdm_close_doors.
The lighting always looks the same to me, no weird light leak as on your screenshot.

Posted
3 hours ago, snatcher said:

This long-standing issue should ideally be fixed in the SDK. In example: register the item onKeyPress and make sure onKeyRelease relates to the same item, otherwise abort.

The alternative is to add these checks in the individual items, in example:

object mod_playertools_flashbomb : player_tools {

	void inventoryUse(entity userEntity, entity frobbedEntity, float buttonState);

	void inventoryUseKeyRelease(entity userEntity, entity eFrobbed, float holdTime);

	boolean playerTriggered;

	void inventory_item_select(entity userEntity, float overlay);
	void inventory_item_unselect(entity userEntity, float overlay);
};

void mod_playertools_flashbomb::inventory_item_select(entity userEntity, float overlay)
{
	playerTriggered = false;
}

void mod_playertools_flashbomb::inventory_item_unselect(entity userEntity, float overlay)
{
	playerTriggered = false;
}

void mod_playertools_flashbomb::inventoryUse(entity userEntity, entity frobbedEntity, float buttonState)
{
	playerTriggered = true;
}

void mod_playertools_flashbomb::inventoryUseKeyRelease(entity userEntity, entity eFrobbed, float holdTime)
{
	if (playerTriggered)
	{
		playerTriggered = false;

		// continue normally
	}
}

The downside of using the script system is that some missions come with their own custom items and these should to be revisited as well.

This does seem like a far more elegant fix than my admittedly hacky solution. It's definitely worth trying IMO.  Would it be to late to try and fit this in for 2.13?

Posted (edited)

If we get "the proper fix" in 2.14 we will owe you one, @Amadeus. Thanks for initiating all this.

May ask you to edit your post and remove all instances of "mod_" from the quote? (just for the record). I did this quickly in the morning and made some mistakes. The final script is good, though.

By having the proper fix in the source code:

  • Players can consume food without dropping anything afterwards
  • Players can deplete items of a kind (drink the last potion) without dropping anything afterwards
  • We can re-enable the current item after unshouldering bodies without dropping anything afterwards
  • Missions will not be impacted

 

37 minutes ago, Amadeus said:

[...] Would it be to late to try and fit this in for 2.13?

I will do a deeper analysis if my script makes it into the next beta.

Edited by snatcher
  • Like 2

TDM_Modpack_Thumb_50.png

Posted
21 hours ago, snatcher said:

@Geep, are you sure your latest and greatest versions of Stone are in 2.13b1? I detect some artifacts I haven't seen in long time, specially in uppercase letters.

@nbohr1more, could you please arrange that the dat and dds files from my recent cumulative font update are incorporated into 2.13b2? Thanks. (I double-checked that the Stone 24pt dat & dds therein are those from mid-June, as expected.)

Posted
On 1/18/2025 at 11:10 AM, stgatilov said:

No, it looks the same for me.

That's interesting. I wonder why.

Do you have any ideas what we can do about the characters getting clipped at the bottom when r_tonemapOnlyGame3d "1"?

Posted
On 1/18/2025 at 1:38 PM, Geep said:

In looking at the animation, it struck me as odd that some characters become clipped while others apparently do not. The characters being clipped are those with a horizontal stroke at the bottom (G,S,O; exception: A). Maybe that indicates the sharpening algorithm is overly aggressive for those cases.

To clarify what I wrote above, sharpening significantly improves the clarity of font characters without causing clipping issues. However, enabling r_tonemapOnlyGame3d "1" specifically causes the characters to be clipped at the bottom, and sharpening cannot be enabled when r_tonemapOnlyGame3d "1".

The fonts look really great when r_tonemapOnlyGame3d "0" and r_postprocess_sharpen "1". 😁

  • Like 2

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...