Jump to content
The Dark Mod Forums

Recommended Posts

Posted
9 hours ago, BoilerDunce said:

I noticed. Thanks btw.

 

 

I had tried this but I couldn't find the sounds I added and I got worried that maybe that had to be baked into .pk4s or something

I have the sound in the folder, I have the .sndshd written up, they're in sound/ambient/ambience and nonetheless, when I restart darkradiant and try to create speaker, my sound does not show up in the list. 

I'm totally at a loss. I had already read through these wiki pages and I am still left clueless.

Does the DR console log show anything (the 'Console' tab)?  Usually if there is a problem loading a shader the errors will show up there.

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Posted (edited)
12 hours ago, BoilerDunce said:

I have the sound in the folder, I have the .sndshd written up, they're in sound/ambient/ambience and nonetheless, when I restart darkradiant and try to create speaker, my sound does not show up in the list. 

I think I remember with sounds that you (sometimes?)  have to put in the whole path, not just the name.
Hope that helps, for it should not be hard at all to use your own sounds.

AND, be sure to have your mission selected in DR under File > Game/Project Setup...

Hope it works, otherwise you could upload your complete mission folder with you map and sound and the lot somewhere, and we can take a look and try to fix it/help ... could be via personal message or here : )

Edited by STRUNK
Posted
17 hours ago, datiswous said:

I think the .sndshd files should all be in sound/ while the ogg files can be in subfolders.

(I could be wrong)

 

23 hours ago, grodenglaive said:

and my folder structure is very simple:

[fms/project2/sound/]

properties: 44.1 khz, sample size 16 bits

 

 

15 hours ago, STRUNK said:

AND, be sure to have your mission selected in DR under File > Game/Project Setup...

All very helpful. Thank you. If I do not return, assume I got it to work. If I still can't, I will take up that offer to move to direct messages.

Posted

How do you import the Keyboard shortcuts from the install on another computer?

It looks like they are saved in \AppData\Roaming\DarkRadiant\3.9\input.xml

but when I copy the file over and reload DarkRadiant, the changes don't have any effect. 

Posted
16 minutes ago, datiswous said:

I tried editting this file and for me changing stuff in the xml file changes things in DR, so it seems to work on my end.

Thank you, I'll try that again. 

Posted

Saw this video and had many questions. The one about the ridable horse was answered; Turns out it's an old definition that's been commented out for years as it was never finished, hope that may change in the future as it would be great to have by default.

Would love to know where we can find that werewolf monster though! Is it still available and free to use in other FM's? It looks well polished from what I can tell, but I presume there's a reason why it wasn't added yet.

Speaking of which: Are there plans to work more on the werebeast? Apart from lacking some animations I noticed the bones aren't even named, like instead of "head" it's something like "bone18": This may be a problem if it's fixed in the future, in some projects I'm attaching things to the head or back using the existing bone names, if those FM's got finished before then they'd need to be patched or will crash.

  • 2 weeks later...
Posted (edited)

There are some bug reports related to horses/horseriding on the bugtracker btw:

Spoiler

0002372: Horse (rideable only) - player clipping into geometry https://bugs.thedarkmod.com/view.php?id=2372

0002368: Horse - head penetrates through things https://bugs.thedarkmod.com/view.php?id=2368

0002419: Dismounting a horse often results in clipping into horse and being stuck https://bugs.thedarkmod.com/view.php?id=2419

0002418: Riding horse underwater or back out bypasses water transitions https://bugs.thedarkmod.com/view.php?id=2418

0002371: Horse (rideable only) - frobbing two or more horses at the same time https://bugs.thedarkmod.com/view.php?id=2371

0002370: Horse (rideable only) - starting with delay https://bugs.thedarkmod.com/view.php?id=2370

Edited by datiswous
Posted (edited)

I want an objective that will trigger something every time it is fulfilled, e.g. by killing any entity. After completion it should be reseted (by script .setObjectiveState(1, 0) or by $target_setobjectivestate) to state 0 (incomplete), and work on and on the same way. But in reality after first reset it looks like it stopped checking reqired action - killing more entities just dosnt trigger its fulfillment anymore? Is it the way objectives should behave?

Edited by ERH+

S2wtMNl.gif

Posted (edited)

I think it can be done inside the objective editor, but I can't check it, because I can't find the thing in DR under map menu

I think you could try this. But I haven't tried:

image.thumb.png.9ba8a3ac32e6015c348001595dbbc9ff.png

 

On 3/21/2025 at 6:34 PM, ERH+ said:

e.g. by killing any entity

What do you mean by killing entities. You mean killing ai?

Edited by datiswous
  • Like 1
Posted (edited)

No it dosn't work eighter - it probably work only between missions. Yes, "entity" is listed as objective if you won't specify AI's details.

Edited by ERH+

S2wtMNl.gif

Posted
On 3/21/2025 at 6:34 PM, ERH+ said:

I want an objective that will trigger something every time it is fulfilled

Did you look into stim/response?

Posted
55 minutes ago, ERH+ said:

How S/R will check if player kill/pickocket/KO/agro AI?

Kill, KO, Frob, Visual and Sound are stims,  responese could be trigger or run script.

I'm not sure what you are planning to do though, but maybe this could do it without being an objective.

  • 4 weeks later...
Posted
On 3/21/2025 at 6:34 PM, ERH+ said:

I want an objective that will trigger something every time it is fulfilled, e.g. by killing any entity. After completion it should be reseted (by script .setObjectiveState(1, 0) or by $target_setobjectivestate) to state 0 (incomplete), and work on and on the same way. But in reality after first reset it looks like it stopped checking reqired action - killing more entities just dosnt trigger its fulfillment anymore? Is it the way objectives should behave?

Did you have "irreversible" unchecked? Otherwise I guess it's a limitation of the objectives engine and could be worked around via other means, like an on-death script for each AI or a looping script that checks the kill statistic or every killed AI.

Posted (edited)

Thats another thing: game statistics command seems not to work (I havn't tried latest game update). I was hoping for something easy, sure I can check every AI every sec if it is still breathing.

Edited by ERH+

S2wtMNl.gif

Posted

I want to modify a decal to display as a different color. Example, dripping_grunge01

image.png.c43b6c354b2354d6246367eecb9fdcf0.png

I'd like to clone the material definition and modify it so that the grunge is greenish. Here's the definition:

textures/darkmod/decals/dirt/dripping_grunge01
{

    DECAL_MACRO
    noimpact

    {
        blend filter
        map textures/darkmod/decals/dirt/dripping_grunge01
    }
}

I tried to figure the various options to the "blend" command, but my poor brain isn't capable. Using the color commands affects the transparent parts as well, which is not what I want.

Is there a tutorial or some examples I can take a look at? 

Posted

have you looked at the "colored" stage keyword? Not sure about TDM but some Doom3 materials use that to create different colored objects, that share the same material and textures.

Quote

'red', 'green', and 'blue' being set to 'param0', 'param1', and 'param2' allow the level designer to change the color of the glass by changing the 'shaderParm' values in the editor. As you will see later, this could be shortened to just 'colored'

from here: 

https://iddevnet.dhewm3.org/doom3/materials.html

there's also:

https://modwiki.dhewm3.org/Colored_(Material_stage_keyword)

About a tutorial I don't really know one, so I hope this is enough hints to get you going. 

What I did and always recommend is to take a look at Doom 3 materials (and why not TDM materials) and see how they did it.

  • Like 1
Posted
On 4/24/2025 at 6:21 PM, joebarnin said:

I want to modify a decal to display as a different color. Example, dripping_grunge01

image.png.c43b6c354b2354d6246367eecb9fdcf0.png

I'd like to clone the material definition and modify it so that the grunge is greenish. Here's the definition:

textures/darkmod/decals/dirt/dripping_grunge01
{

    DECAL_MACRO
    noimpact

    {
        blend filter
        map textures/darkmod/decals/dirt/dripping_grunge01
    }
}

I tried to figure the various options to the "blend" command, but my poor brain isn't capable. Using the color commands affects the transparent parts as well, which is not what I want.

Is there a tutorial or some examples I can take a look at? 

I've done similar but by just loading the original texture into GIMP and changing it with the tools in the Colors menu (e.g. Hue-Chroma).  Then just export the changed texture and create a new material with it.

  • Like 1

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Posted
52 minutes ago, Frost_Salamander said:

I've done similar but by just loading the original texture into GIMP and changing it with the tools in the Colors menu (e.g. Hue-Chroma).  Then just export the changed texture and create a new material with it.

Good idea. Why didn't I think of that? (To quote Hitchhikers Guide to the Galaxy, "I think my mind must be too highly trained" :)

I did figure out a workaround. I took the decal texture file (.dds) and did an Color>Invert command in GIMP, so now it looks like this:

image.png.c19a67bf1d353dd35143d1e872a15cff.png

With that file, I can play with the rendered color using a material definition like this:

textures/darkmod/decals/dirt/dripping_grunge01_color
{
	DECAL_MACRO
	noimpact

	{
		blend 	gl_zero,gl_one_minus_src_color
		map textures/darkmod/decals/dirt/dripping_grunge01_my
		red		.8
		green		0
		blue		.8
		//colored
	}
}

That allows me to adjust the color via the material definition. How this works, has something to do with the options to the blend command - I still need to figure that out.

  • 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

    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • 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!
      · 5 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
×
×
  • Create New...