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
 
Maybe you need a better machine. :)

You try playtesting somebody's 100+ monsters map without a fullvis and come back. But eat a bowl of dicks with deqer first. 
Willem 
That may as well be just luck. Some Quake engines are not as optimized as others, and then performance depends completely on the driver. For example, I got severe slowdowns on my 2012 iMac before I patched QuakeSpasm to use a different texture and lightmap format. 
 
Wasn't trying to offend, otp, just fooling around. My machine IS a beast though. 
Willem 
The Quake engine scales differently than modern game engines. So a large map can indeed make even a fast computer choke. Like Sleepy says, some ports handle it better than others (RMQ and DirectQ come to mind). For example, the unvised version of Tronyn's latest map ran quite poorly on my machine, at least initially, and it's by no means a slow computer.

And this is only about polys. If you take additional features into account, replacement graphics and real-time lighting, it's actually fairly easy to make the game run slow. 
FifthElephant 
I'm not aware of any distinct guides. There's always room for optimization. Func_detail won't help here, it only makes the vis complete faster. It's sometimes possible to bring down the wpoly count by turning certain things into func_walls and illusionaries or move touching brushes apart. This requires experimenting, however, as it can well turn out to be counterproductive. Check the map with r_showtris and r_drawflat to search for and investigate locations where unnecessary brush face splitting can be avoided. 
I Think.. 
part of the problem is due to Deck being simply a big atrium, plus the detail I've put into it also.

I can't seem to get r_drawflat to work, I think it's due to there still being a giant hole where I haven't made the ceiling work.

Am I supposed to use skip textures on the void-facing polys? (haven't done that yet either if you are) 
 
Void facing "Polys" (I assume that you mean the faces of brushes that are touching the void here) are ignored however putting a skip texture on them would probably confuse the bejesus out of any bsp compiler.

You might be able to make a big "Curtain" of additional skip brushes that occlude the faces facing inwards. I don't know if that's going to help or hurt you though. 
Re: Giant Hole & Void-facing Ploys 
Once you fill that hole, the compiler will automatically remove all void-facing ploys. This will cut your r_speeds in half, probably. So basically you can't accurately gauge performance until the hole is filled. 
 
skip on 'void facing' polys will not cause problems, but it unnecessary from a technical standpoint. (some people do that because it's clearer to look at).
The reason is that the compiler completely removes all faces on the outside of the map before the skip removal process runs. 
Ok 
That makes sense. I wasn't aware of the order of the steps that qbsp does things. I do know that with other "Special" textures that mixing some of them with others on the same brush can be a bad idea. I was just extrapolating from that. 
 
skip was actually added into the whole compilation process much later on. it's a separate utility that runs after qbsp. 
Ok 
I've only messed with it once so I'm pretty clueless on using hint and skip outside of knowing what it does in a very basic sense. I was fiddling around with it and made a Quake shadow like you can see in e1m3 (I think) using nothing but a skip texture and func_detail. The func detail made the shadow and then the skip texture made the brushes that cast the shadow invisible.

The latest tools (Tyranns anyway) have skip support built into them so no need for a separate step. 
Map Error 
I'm at the point now where I'm making the level air-tight so I can start testing some stuff (it's not 100% yet but it IS around 99% complete in terms of geometry).

The compiling error I get is in the pastebin -

http://pastebin.com/ZdU0diLA

The only problem is when I look up the the co-ordinates of the error message it's actually pointing to a light entity and not a brush!?

Can lights cause leaks?? 
 
QBSP doesn't pinpoint the leak precisely, only the point entity closest to it. You can load the pointfile (.pts) in TB or put it in the maps dir and type pointfile in the console, both of which will display a line that leads from that entity to the leak (=where it goes outside the map).

Note that a "leak" doesn't always have to be a hole in the brushwork, it can also be caused by point ents that are placed on the outside. 
How Deep The Rabbit Hole Goes... 
Well, I've got some wondrous screenshots here...

http://i48.tinypic.com/27ypkiq.jpg - showtris 0

http://i47.tinypic.com/28ksdns.jpg - showtris 1


I looked at the pointfile and I ran around the map looking for some clue, nothing. Then I typed r_showtris 1 and I found a massive line that is so far away from my actual map that when I try to fly towards it I get "teleported" back to where I started.

I thought maybe the entity was so far away that I would never find it, so I created a selection brush around the whole map and "locked" it, then did a ctrl + a & delete to see if I could delete it that way, no luck though...

Any ideas? 
Sleepwalker 
Which lightmap/texture format was the problem and which one did you patch it to use? 
It Was GL_RGB 
And I patched it to use GL_BGRA. GL_RGBA is fine, too. 
Fifth 
That's likely a microleak. It's a tiny rift between two brushes that only qbsp can see. This is a result of TB being shit - sorry. I'm working on a fix for such problems. 
Fifth 
Select the brushes where the line passes through and snap their vertices. That might fix the problem. Also note that you can import the point file into TB. See the docs. 
SleepwalkR 
I tried to load the pointfile into trenchbroom but the whole map goes black and all I can see is a very very tiny line that goes on forever, when I try to "unload" the pointfile it doesn't work. It stays black. 
 
Untill you find the leak you can just box the map and use fastvis. 
OH YEAH 
btw sleepy: this is likely because my videocard is shit, but if I load point file, it blacks out my 3d view except for 2 yellow lines and I have to load a new map to get it back. 
Sleepwalker 
Thanks, will keep that in mind for TyrQuake.

Hopefully will get a chance to help out with TB a bit more soon! 
 
When you load a point file, the camera snaps to the start of the line, maybe that's why it looks black? 
Different Tactic 
Ok, so I decided to load up my map in the latest trenchbroom build (was running version 1) and obviously it said there was a bunch of mishapen brushes etc so I rebuilt them or tidied them up. Did a whole bunch of messing about with stuff, removed the slime (I know it's a portal and I was getting some weird portal messages) and I managed to get it to compile. But it still wont vis...
Here's the pastebin -

http://pastebin.com/dxJu1g1q 
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.