Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

Hey guys, I am quite new to Darkradiant and I am doing a map/mission since 2 days.

 

After I placed some entities and brushes I always start darkmod and dmap. Everything is fine...

 

Then somehow after my map got bigger and bigger (but in comparison to other mission it is still very small) the same issue appears everytime.

 

I dmap and it says:

 

FixGlobalTjunctions

removed 144 degenerate triangle

removed 144 degenerate triangle

removed 6 degenerate triangle

 

And then the game crashes.

 

Why is this? After redoing my map the third time i got the feeling that it has something to do with the "CSG substraction".

But I am not sure, because 1.) I use it only on some incomplex brushes 2.) I used it only twice 3.) After removing the brushes that were splitted because of "CSG substraction", the issue was still there.

 

Does anyone have an idea and can help me?

 

PS: My native language is not english. Please try to help without all the special terms beloning to mathematics, programming and stuff. :-)

 

Thanks

Edited by Wilcon
Posted (edited)

I think it would be easiest to post up the map file so others could take a look at the map itself and help identify what the issue is.

 

You can also help yourself figure out where the issue is by saving the map as a few different names like map1, map2, map3, etc. and then opening each one and surrounding a quarter of the map with a worldspawn room, placing the info_player_start in that room on the map and then delete the other 3/4s of the map.

 

For each duplicate map1, map2, etc. use a different quarter of the map. See which map section(s) won't compile. Then you can narrow your search down and find the offending geometery.

Edited by Lux
Posted

Thank your for that quick feedback!

 

I will try that out and I hope this works.

But can a brush be the problem? I thought that brushes in general don't produce issues.

Posted

Very tiny slivers left behind by CSG can wreck a map.

 

While some folks have had success with CSG when the objects involved are snapped to the grid, it's recommended that you not use CSG. Use the Clipper instead.

Posted

Yes, avoid CSG subtract.

 

Clipper is risky too, avoid cutting an angle then resizing, or cutting again, or you may create leaks and become off grid.

 

If you need to cut something in half, it seems better to resize it to half the size, copy it, drag the other half over.

 

If you need an angle, it seems best to drag vertices (points).

 

Once you get the feel for geometry that won't cause trouble, then bring Clipper into your work flow.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Posted

doom 3 engine when compiling see's cube shapes as infinity x/y/z planes and where the planes intersect that become a corner. So if you have a sliver of a box less than one grid unit the dmap compiler gets stuck in an infinity loop trying to find a plane thats too small for it to find. then windows spots the infinity loop and kills the process with a 'this has stopped responding' or some other error related to a inifiny loop error.

Posted (edited)

Thank you all for your feedbacks!

And thank you stumpy for that explanation!

 

Now, I stopped using CSG and rarely use the Clipper.

The problem i mentioned above is sometimes still there, but without the crash. Means the console still says:

 

FixGlobalTjunctions

removed 144 degenerate triangle

removed 144 degenerate triangle

removed 6 degenerate triangle

 

but the game doesn't crash and i can play the map.

 

But now i tried "Brush > prism / cone / ball (or however your darkradiant says it in english)

Before I did that I made a backup, then I used the cone and ball brush and created a room in it.

After i dmaped the game crashed while showing the following in the console:

 

Vertex with only one edge

backwards triangle in input

 

while the second line appeared like a thousand times.

 

So i thought i just have to use my backup (which worked before) and can go on.

But no, this map crashes now too after I dmap. And it shows the same issues...

 

I really have no idea what happened there.

 

 

EDIT:

It somehow works now! But there are a lot of backwards triangle in input and removed x degenerate triangle without a loop. After dmap the game lags for like 4 seconds (cannot even move mouse pointer) but then everything works!

Edited by Wilcon
Posted

Another thing that can cause a crash is not having any visportals, I suggest placing a few of those if you haven't already.

Intel Sandy Bridge i7 2600K @ 3.4ghz stock clocks
8gb Kingston 1600mhz CL8 XMP RAM stock frequency
Sapphire Radeon HD7870 2GB FLeX GHz Edition @ stock @ 1920x1080

Posted (edited)

@ Xarg

Yes sir, I placed some visportals. After I read your reply I placed some more, but they don't work! I place them in an absolute closed room, but the new visportals are not even there when I r_showportals 1.

Seems like the game doesn't load them.

 

Just forget what I wrote here. I did a stupid mistake!

Edited by Wilcon
Posted

Did visportals help? Not having any caused a previous map I was making to crash until I placed some. If not, something else is going on here.

Intel Sandy Bridge i7 2600K @ 3.4ghz stock clocks
8gb Kingston 1600mhz CL8 XMP RAM stock frequency
Sapphire Radeon HD7870 2GB FLeX GHz Edition @ stock @ 1920x1080

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