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
Total_newbie 
There is a set of command line tools called Qeu listed here:

http://www.tldp.org/HOWTO/html_single/Quake-HOWTO/

ctrl-f for QEU

They are something you have to compile from source with the provided Makefile. If this is not totally strange to you, you could try them. There are two caveats, though.

As provided, the makefile is for DOS systems. To use in on Linux, you have to comment away this line as follows (# is the comment char you need to add):

#all.dos: $(PROGS.DOS)


A worse caveat is that the code apparently only works on 32-bit systems. It has some type definitions that assume 32-bit word size and hence it fails on a 64-bit system because it reads the wrong amount of data when examining a WAD file.

However, this can be worked around by using the -m32 flag to the C compiler and making sure you have the required C libraries for compiling 32-bit code. You have to install a suitable package, like libc6-dev-i386 on an Debian/Ubuntu system. (This is just if you use a 64-bit system. Ignore this step if you have a 32-bit environment.)

For reference, here is a paste of the modified Makefile that worked for me:

http://pastebin.com/PKzbcTvF

And here is just the diff if you prefer that instead:

29c29
< CFLAGS = -O2 -ansi -Wall
---
> CFLAGS = -O2 -ansi -Wall -m32
66c66
< all.dos: $(PROGS.DOS)
---
> #all.dos: $(PROGS.DOS)

Please ask follow-up questions if I didn't explain something clearly or you can't make the programs work for other reasons. Also, I didn't know how much programming experience to assume, so apologies if there was too much unnecessary explanation :)

Based on very little testing, I got these utilities to work on my 64 bit Linux system with these little tweaks. The relevant tools for extracting and constructing wad files are unwad2 and rewad2, which I specifically tested. 
Thank You! 
Thank you very much, ericw and Pekka.

Also, I didn't know how much programming experience to assume, so apologies if there was too much unnecessary explanation :)

None at all (I know how to "sudo apt-get install" and that's about it), so no apologies necessary -- I really appreciate the detailed instructions. :) 
About Disappearing Items 
So I started looking at the sources of the original id maps, and saw, for the first time ever, that the source for e1m1 includes an invulnerability pentagram on the ledge you get to when you walk through the teleporter in the last secret -- yet I have never seen it in-game. Just checked in DarkPlaces and Quakespasm and looked at online secret guides, but that pentagram never seems to show up anywhere. Recompiled e1m1 from the source and still no pentagram. Getting teleported to that ledge would make a lot more sense if there were an item there to pick up...

Is that an example of an item's disappearing from the map because it is too close to the surrounding brushes? And is that what is meant by an item's "falling out" of the map? (I have heard that phrase many times, but don't really know what it means -- do the items really move downwards into oblivion?) 
 
Do "developer 1" in the console and then load e1m1 ... it will tell you if something fell out of the world.

It might be skill level filtered, actually... Only shows up in nightmare or whatever. 
It's Deathmatch Only. 
 
Of Course 
I'm an idiot. 
Noticed Something Weird 
I noticed something weird with floating ammo boxes while testing some related things. Below is a minimal map that has a single box room and two func_walls with ammo on top of each. Both func_walls disappear if you step into the other end of the room, and the ammo remains floating in the air.

When compiling the map with tyrutils and playing it on QuakeSpasm 0.85.9 I notice that I can pick up one of the ammo boxes without jumping, but not the other. However, they are both supposed to be at the same height.

Can you explain that? Does the proximity to the wall or the torch have something to do with this?

http://pastebin.com/fXUzXRMu

Compile it, play it, and just run around under the boxes without jumping. What happens?

Another question: What is the canonical way to create an item that falls from above after some event triggers? It's obviously not this, as they just float after killing the func_walls. 
Put The Box 
On a func_door that moves sideways, and use another brush to scrap it off. Then it should fall.

Can't remember if it works for ammo though. 
As To Collisions 
They have always been wonky since their centrepoint is on one corner of the ammo item in the .bsp - so engines have applied various fixes to them down the years.

So you'll see different collisions depending on which engine you use. 
Ijed 
That works with ammo falling off a func_train, so I guess it works just the same with a func_door, where that is more appropriate. Thanks. 
 
removing entities with killtarget does not correctly register the entity is 'in the air' so the engine still believes it is on solid ground.

you can also try 'crushing' an ammo box. that may cause it to fall through the ground, but i'm not sure. 
My Preference In This Case 
Well, func_train is useful for dropping several items in a timed fashion. It just pushes each off its perch in turn :) 
 
"Internal error: didn't allocate enough planes? (NewPlane)"

What mean? 
Uh? 
Is that from Quake? 
I Think He's Come To Us For Unreal Engine Help 
 
 
Yeah, that popped out of QBSP. I was confused and scared. 
Wow 
Not even aguirRe's readme has anything on that. 
 
\o/ What do I win? 
 
 
http://disenchant.net/git/?p=tyrutils&a=commitdiff&h=347020879dc46507681fac3d321a4502f0d72bff

if (map.numplanes == map.maxplanes)
- Error_("Internal error: didn't allocate enough planes? (%s)", __func__);
+ Error("Internal error: didn't allocate enough planes? (%s)", __func__); 
 
Yeah, I figured it was in the source code somewhere ... I just don't know what it means or how to fix it. :) It had something to do with a brush I had added. I guess it was a perfect storm of floating point planes or whatever and death by map.maxplanes cuts. 
Silly Question 
I'm bouncing with a map progress on max_surfaces.
Txtqbsp says:

*** WARNING 31: Marksurfaces 33243 exceed normal engine max 32767

So while I'm liminating brushes I see in Quark6.4 the whole level counts 5167 polyhedrons and 30330 faces.

I wondered, are these the same as the 32767 markfaces limit or does it have no account for the Hull 1 and 2 amount and I am missing 2437 poly's? 
What Quark Counts There 
are ALL faces that are generated by the polys in your map, even the ones "outside".

These mostly get deleted by qbsp, its pure coincidence
your numbers are nearly equal. 
A! 
solved then, different parms. 
Another Option For Textures In Linux 
Thanks again to Pekka and ericw for the advice and recommendations above. Just wanted to say (just in case in might be useful to someone else) that I got TexMex to run in Wine.

For this I have to thank Luneran again, who initially recommended TexMEx to me over two months ago. Back then I saw "Windows only" and didn't investigate further -- don't know why I didn't think of trying it via Wine until now!

Admittedly I haven't tried doing anything too crazy/complicated, so I cannot vouch for medium/long-term stability, but at least for exporting and importing one texture from one wad into another, it worked like a charm and was very user-friendly/idiot-proof. 
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.