Jump to content
The Dark Mod Forums

Every new mission I make crashes


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

@ 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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...