Jump to content
The Dark Mod Forums

Recommended Posts

Posted

The latest dev build (dev16629-10139) contains some changes regarding frob highlight.
The full explanation is given in 5427.

Most importantly, the material stages are now generated by default if they are missing.
The core materials will be cleaned accordingly in near future.


Also we added new syntax for customizing frob-highlight in simple cases.

First of all, you can set frob-highlight with custom texture (e.g. it can be specular map) and arbitrary coefficients:

  • frobstage_texture textures/darkmod/sfx/whiteglass2 0.25 0.5

Since diffuse texture is used in most materials, here is a shortcut for it:

  • frobstage_diffuse 0.1 0.35

The first number is the multiplier applied to texture, and the second number is the amount of white color added.
You can also make non-white multiplier or addition by putting three numbers in parentheses, e.g.:

  • frobstage_diffuse (0.15 0.35 0.15) 0.4

Of course, the most recommended approach is to not write any frob text, in which case frobstages are added implicitly as "frobstage_diffuse 0.15 0.4".
The implicit frobstages are added only if there are no frobstages specified explicitly.

If you want to suppress implicit generation of frobstages (not recommended), you can write:

  • frobstage_none

Finally, if you want to make something special and customizations listed above are not enough, then you can just write frobstages the old way via parm11 parameter. The old frob-highlight stages should continue to work properly.
If you write frobstages manually, please follow the rules (or you'll get warnings):

  1. Start every frobstage exactly with if (parm11 > 0) condition.
  2. Do not mention parm11 outside frobstages.

 

P.S. Here is previous discussion of frob highlight, in case anyone is interested:

 

  • Like 3
  • Thanks 1
Posted
1 hour ago, stgatilov said:

The old frob-highlight stages should continue to work properly.

So do the new frob-highlight stages look different? A lot of missions include their own materials with material stages included. This could mean, that sometimes in the mission the highlight looks different, depending of using their own materials or use of core files.

Sorry if this is total nonsense.

Posted
50 minutes ago, datiswous said:

So do the new frob-highlight stages look different? A lot of missions include their own materials with material stages included. This could mean, that sometimes in the mission the highlight looks different, depending of using their own materials or use of core files.

There is nothing like "new frob-highlight", nothing has changed in the way highlight works.

What's new is:

  1. Rule for generating frobstages implicitly.
  2. Some new "frob macros" that you can use for the rare cases where default looks too bad.

Under the hood, there is nothing new.
Both implicit stages and the macros are 100% equivalent to frobstages which are all over the core materials (and missions, I suppose) right now.

The existing materials should look the same as they did.
Although there is some risk that added implicit frobstages could break something.

  • Like 2
Posted
3 hours ago, stgatilov said:

Most importantly, the material stages are now generated by default if they are missing.

Very nice that we don't have to add these manually for every material anymore, if I understand correctly.

Posted

I'm currently cleaning frobstages in core materials.

I noticed that the macros I listed above are broken 😳
It is strange because I tested all this stuff... perhaps I reordered generates frobstages in the end, which triggered the bug.

Just keep in mind that the macros don't work as intended... maybe implicit generation also.

Posted

Thanks. This is basically what I was asking for in that frob outline thread. Nice to see some cleanup happening on our materials and a default frob highlight as well to fix missing frob highlight definitions.

In what way are your macros broken? Can you post screenshots? Does the default frob highlight work?

Posted
7 hours ago, STiFU said:

In what way are your macros broken? Can you post screenshots? Does the default frob highlight work?

On the latest dev build, the wrong texture name is used.
For instance, frobstage_diffuse often uses _white instead of diffuse texture, so things look "milky".

  • 3 weeks later...
  • 8 months later...
Posted

Hi,

I recently created a mod (script) that makes use of the parm11 parameter to force a blink when some objects are within frob distance.

I was made aware by @stgatilov of some changes in relation with parm11 in the development branch and I gave dev16818-10434 a try and I noticed the beat or blinking pattern is slower than in 2.11a and therefore slower than intended.

While I don't expect any support for mods I thought it was worth mentioning it because something definitively isn't as before.

TDM_Modpack_Thumb_50.png

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!
      · 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
×
×
  • Create New...