News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
TreeQ.. 
you could have provided a link! :P

I found it anyway, managed to plug about 3 holes by setting it to -noents (this has required some serious google research!!) and I reckon there is a whole lot more.
One of the biggest headaches is I found a bunch of curved walls that I have made where I can shoot rockets clean through the wall, in the editor the vertices look perfect.

Oh and my lovely tri-soup rock terrain is also showing up as leaky (after I fixed a bunch of brushes I noticed the leaks were gone but now I can fall through some of the faces, it's like I fix one problem and it creates another!) 
FifthElephant 
Why not help others by adding to the Quake Wiki with your new found solutions to a problem that you encountered? Your progress with dealing with various issues is exactly what it's meant for. Be verbose and complete. If needed the issue will be boiled down and answers given in following edits. 
Fifth 
This is very likely my fault. It's a bit too complicated to explain right now, but basically, I thought I could get away with how I am treating vertices and plane points. I did a bit of cheating to make the vertex editing in TB easier, but I recently realized that it's not a good idea.

So I have been working on fixing these problems for the last two weeks, but sadly, this whole issue is just a rats nest of more problems. It'll take a bit longer - sorry. 
SleepwalkR 
Some of these problems are definitely my fault, I had left a few holes around but since I am using a generic brown texture on the brushes in these areas I have made it very difficult to spot.
The solution in this instance may be to use a bright pink texture for all my brushes and then just texture the surface on the inside of the map (should make it easier).
As for the vertex problem, are the vertexes handled any differently in version 1 than version 1.05 (ver188)?

quaketree, I have intended on doing a bunch of professional videos for trenchbroom and a lot of plans were made and I sat down with the guy doing the recording/editing and it looked good but we supposed to record the first few tutorials this week and it just never happened.
Starting to think it may never happen. 
The More I Fix... 
the more it breaks... Ok I thought that cleaning up the map I made in TB v1.0 using TB v1.05 would provide some kind of solution. But the more I fix the tri-soup the bigger and more numerous the holes become. I might go back to TB v1.0 and clean up the holes there instead.
It's becoming an issue to an extent where I may just release a buggy .bsp file and the .map src for people to mess around with.

SleepwalkR, I love the editor and I hope you manage to fix whatever the problem is. The real concern for me now is I may have to resort to Worldcraft again until it's fixed, which I really *dont* want to do. 
Well 
Tb is not magic, so the limitations of the map file format still apply. It would be interesting if you could post the map file and let me know which brushes are problematic. Then I can see where it's going wrong.

Vertex handling is different in 1.0.5, it will mask less errors. But it still suffers from problems related to floating point coordinates one the map file.

I would generally suggest to always seal your map even if it's work in progress. That way you'll see immediately if something breaks instead of getting overwhelmed by a sea of errors. 
But I Thought It *was* Magic! 
No that's understandable and to be honest this was a test/learning map that got out of hand and became a real map. I think my best option may be to remove all the fancy terrain style geometry (and box it up), and then fill all the normal leaks first. And *then* I can retry making that geometry with a more robust approach (or even starting that part from scratch in 1.05). Basically I thought I was pretty much done with map but it looks like we have to spend a little more time together before we move on. 
Also.. 
did you mean to say mask or make? 
Mask 
TrenchBroom generally tries to hide the fact that vertices often don't have integer coordinates, but that approach is flawed and I'm working on removing it. 
Elusive Brush Corruption 
I noticed stuff like tetrahedrons or brushes with a lot of vertices lend themselves well to map corruption in TB. For rocks or terrain just mashing deformed cubes together is more work but seems more stable at the moment. 
Spiney 
my terrain is completely cube-based. I didn't consider making it any other way.

A lot of the problems have come from my work method of basically making the level in an open room-by-room fashion. I could have avoided a lot of problems if I had blocked the layout first and then added all the details second. Maybe... I dunno, I'm still learning. 
Maybe Necros Could Chime In 
He has the most experience with mapping with TB. 
State Of The Map... 
Ok, I chopped out *all* the terrain brushes, blocked in those areas to stop them leaking, fixed all the pointfile problems and got a build that vis'd... I have a couple of HOM's (that don't leak for some reason) and that's it.

So my todo is simply to try and remake the terrain without getting any leaks. I have a couple of ideas on how I might achieve this, I think the problem was the void-facing terrain were misshapen rather than nicely boxed and uniform.

It's a bit of a nightmare but I have definitely learned a lot in the last couple days. 
 
Quake is ooooold and rickety. Expect problems. :) But it's fun... 
Fifth 
If you can pull it off and learn some best practices, make sure to write them up on the QuakeWiki or here, please! 
Best Practice? 
The whole process has been a big ol' practice! That's what the map was about. I have keep a lot of the different stages of the map, so I can easily do a mapping retrospective.

As for the writing I don't really have a desire to write it up on the wiki, but I really want to have a go at making some youtube videos on the process I took, lessons learned etc.
I'll start pestering my film-maker friend until he caves in.

Pro-tips:-
-box out your map/layout
-use trenchbroom 1.05 from the start
-get your hands on TreeQBSP from http://user.tninet.se/~xir870k/
-become best friends with the "pointfile" command and "r_showtris" 
TB 1.05 
*does* seem to have better vertex accuracy for more standard shaped geometry, after I did all my pointfile detective-work I selected all the brushes and did a correct vertices & snap vertices... seemed to sort out the last remaining HOM's on the map.

Only trouble now is I have no terrain in my map after I brutally removed them all. I'm going to do it bit-by-bit and *hopefully* the map will have it's finalised geometry! Then I can get back to the fun stuff, testing, item placement etc. :) 
Well 
I was talking about what to avoid specifically for TB. Apparently there are some things which will lead to bad brushes etc. and I'd like to know how that happened. 
SleepwalkR 
The map design videos would be TB-centric.

In terms of how to avoid bad brushes, who knows? I never took off grid snapping and I almost never went below the standard 16 units. I think some brushes just "become" malformed if you play with the vertices too much or you make shapes that are just too crazy!
Even some of the (very plain) curved walls which were grid aligned had become very very slightly nudged off the 16 unit grid. It wasn't until I did the correct/snap vertice trick that it was fixed.
Again, the tools used for pointfiling and treeq really helped me to get to a water-tight map. Though I think whatever you fixed between version 1 and 1.05 obviously helped a lot. I just hope I can redo the terrain, that *IS* after all one of the big selling points of TB ;) 
Turns Out TB Was A Trojan Horse All Along 
A QuArK in disguise!!! 
Here's Some Advice... 
I was using the co-ordinates and the pointfile to find leaks (as is the standard procedure), and to locate them easier in TB I was dropping in a monster_boss entity and entering the co-ordinates in the "origin" key, then when the entity moved I would delete and replace it with a shambler (again with the same co-ordinates), and then with a rottfish. Only last night at 3am when I was looking for the leaks I had forgot to take the shambler out the map when I compiled the fixed map... It scared the bejesus out of me! I decided that was a good time to stop mapping and sleep. :D 
I Think 
those problems are mostly the result of imprecisions when loading the map. I'm working on an improved version of the vertex generation algorithm that will do a better job of avoiding degenerate edges and faces.

An edge is considered degenerate if it is very short (shorter than 0.5 units) and a face is considered degenerate if it is a triangle and contains such an edge. This should help avoid such problems, however I can't predict whether QBSP will do the right thing, too. But I think everything will be much better if I can switch TB to use only integer plane points. 
Negke 
You're not too far off there, sadly. 
 
those problems are mostly the result of imprecisions when loading the map. I'm working on an improved version of the vertex generation algorithm that will do a better job of avoiding degenerate edges and faces.

That might explain why some problematic brushes (one that caused a crash for instance) look completely different when reloading the map?

In terms of how to avoid bad brushes, who knows? I never took off grid snapping and I almost never went below the standard 16 units. I think some brushes just "become" malformed if you play with the vertices too much or you make shapes that are just too crazy!

Pretty much my experience.
One thing I think can be problematic is adding new vertices, in certain cases those can create strange n-gons that almost certainly will get screwed up after a while. Also dragging planes on a non-grid-aligned plane tends to end up badly a lot of times (especially in conjunction with above case). I guess that kind of makes sense when you think about the floating point issue... 
Spiney 
That might explain why some problematic brushes (one that caused a crash for instance) look completely different when reloading the map?

It might ;-). I can't say without seeing an example. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.