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
Engine Weirdness 
First corrupted lightmaps in Darkplaces. These look fine in Quakespasm, Fitz 8x, Mark V even original GlQuake! I googled and see nothing. The complier I am using is tyrutils-ericw (v0.15.1). Any help or ideas on what to try would be appreciated.

https://dl.dropboxusercontent.com/u/23701801/dp20151203164613-00.jpg

https://dl.dropboxusercontent.com/u/23701801/dp20151204072950-00.jpg

Next issue. I have a ramp 128x128 with a height change of 64. And I am getting stuck on an invisible barrier - not 100% of the time but enough to be a problem in a DM map. Now I assume this is a netquake issue (Quakespasm) vs. QW physics of (Darkplaces). But hoping there is some way to address this.

https://dl.dropboxusercontent.com/u/23701801/ramp_issue.PNG 
 
for the second problem, try replacing the triangular wedge with a slanted cube that has both a sloped surface and a flat top surface in the same brush. 
 
That looks like the floating-point lightmap size issue.
First, might be worth updating to 0.15.3 of my tools here.

Slightly off grid geometry could be a cause, same with the ramp issue. If you open the map in a text editor, are there lots of numbers that are slightly off integers?

Also, I might be able to add a workaround for the lightmap issue in the utils. Could I check out your map file? 
 
@metal will do - thanks.

@ericw I just compiled again and noticed these are actually the 0.15.3 versions. your readme is out of date (I think) - I just emailed you the map. 
 
What version of DarkPlaces are you using? 
Dumptruck_ds 
This is a known issue with darkplaces, slapmap has an interesting little write-up on it -

https://slapmap.wordpress.com/2013/04/04/fun-with-darkplaces/ 
Also... 
It's something I battled with on my Map Jam 4 theme. many of the textures were broke in Dark Places, the fix seemed to be making sure the texture sizes, rotations and axis were all on a whole number integer. 
DP 
I've long accepted that DP is only useful for maps made specifically for DP.

It does some cool stuff (Q3 bsp support mainly) but there are just too many examples of existing maps that break in funny ways in DP for it to be taken seriously as a general purpose engine. 
Mistery Solved 
 
Thanks all. Bummer because a lot of those textures are not scaled or rotated in any way. (That I know of.) In defense of DP I can play it at 144hz refresh easily while Quakespasm and others cannot. It looks very nice at the proper refresh rate! DP makes it easy to navigate mod directories and launch in engine, all kinds of little things that add up. Too bad. 
Dumptruck_ds 
FYI I have a 144hz monitor and I play all my old games at that refresh rate.

The cvar you're looking for in other engines is host_maxfps

Just set it to 150 or something and then it will be as smooth as butter. 
 
I've gotten the "invisible barrier" problem many times. For some reason it happens often at the junction of multiple planes. Try adding a clip brush that extends the floor slightly (4-8 units) in the direction of your red arrow (toward camera). Or just move the floor/ramp junction away from the corner formed by the walls. 
Slope Stickiness 
I'm pretty sure metlslime's solution is on the money here.

Clip hulls are formed by pushing out the planes of the original brushes. When you have multiple brushes, they can expand in ways where they overlap each other and cause all sorts of annoying jagged sticky out bits.

By making sure the slope and the top flat surface is part of the same brush you will ensure a smooth transition between those surfaces in the clipping hulls. 
 
@5th - nice! that looks a lot better! I thought host_maxfps was separate from the refresh somehow. I assume this will cause weird physics tho.

@ Kinn and Rick, I used metlslime's fix and we're good to go. Thanks for the detailed info. Interesting stuff. 
 
@dumptruck_ds I got a hack for qbsp that seems to fix the DP lighting issues in your map. Here is a test build: http://quakespasm.ericwa.com/job/tyrutils-ericw/

(I just added rounding for the bsp texture vectors, the same algorithm that is used for points - if a value is within 0.0001 of an integer, round it to that integer. It's not a proper fix but it seems to work decently well.) 
 
@ericw Wow, thank you so much for taking the time to solve this. Problem fixed. hopefully this will help folks in the future as well. 
Holy.... 
ericw is awesome!! Darkplaces always wreaked havoc on my lighting in wierd spots.. in the middle of the walls! 
 
Darkplaces always wreaked havoc 
I See What You Did There ^^^ 
 
First Two Maps Won't Compile! 
Hey all, I was hoping my first post here wouldn't be an absolute newbie question, but things don't always work out for the best for us in this world.

Anyway, I've been trying to work out the basics of Quake mapping but I've hid a brick wall when it comes to compiling. I've worked through the Trenchbroom tutorial up to that step, and as the tutorial instructs I downloaded TyrUtils and necros's GUI utility and set up necros's utility according to instructions. I'm not sure what exactly is going on but it doesn't seem to do any compiling? There's no .bsp in the output folder, for example, or anywhere else on my computer. I'm not sure what's going wrong after rereading necros's documentation. (I'm hopeless with command lines, btw.)

Possible issues I've eliminated:
- spaces in the .map filename.
- overlapping brushes
- unsealed areas (although if I understand the tutorial correctly, this shouldn't be a problem if I'm not doing vis yet?)

I've included the output from the "compile" file from the working folder below. Can't say it says much to me, maybe it does to you. Also here's a link to my latest "map" I tried to compile (a small room with a monster and bad texturing): https://www.dropbox.com/s/c9azompn51ewyh8/second.map?dl=0

[quote]
@echo off

cd
cd C:UsersGAMERDesktopQuakemapping


echo Copying Files...
copy C:UsersGAMERDesktopQuakemappingTrenchBroom_Win32_1.1.6_381second.map C:UsersGAMERDesktopQuakemapping


echo Converting map...


echo --------------QBSP--------------
C:UsersGAMERDesktopQuake-mappingtyrutils-0.15-win32qbsp.exe second

copy second.bsp C:UsersGAMERDesktopQuakeID1maps
copy second.pts C:UsersGAMERDesktopQuakeID1maps
copy second.lit C:UsersGAMERDesktopQuakeID1maps
[/quote] 
Yo! 
There are no slashes in your file paths. For example C:UsersGAMERDesktopQuakemapping should be C:\Users\GAMER\Desktop\Quake\mapping

I haven't used Necros compiler gui so I can't help with that. I'm sure others can! 
 
Thanks Daz. There are in the original text file, not sure why they weren't copied over. Here's a link:

https://www.dropbox.com/s/g084c06f6di9yt1/compile.bat?dl=0

(hi, btw! Love you maps and Youtube channel!) 
 
The bat file is looking for tyrutils in a directory called "-mapping", I'm assuming the hyphen there is a typo? 
 
Ah yes, I fixed it and it worked! Silly mistake on my part--been trying to compile some test maps for a couple days now, all of which didn't work due to some things I ended up figuring out--but in the process I moved/renamed some folders and didn't fix all the settings in the GUI. Now I can see my efforts in all their janky glory.

Thanks ericw! 
 
Well, now I wanna play your maps. 
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.