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
TB2 Should Have The Issue Anymore 
and I don't want a binary format for better compatibility with other editors, also being able to edit the files in a text editor is a bonus. 
Worldcraft 
Was very 'strong' in that regard... but the headaches created by the proprietary format weren't minor.

Although having full control over it would avoid things like texture conversion problems of course. Most of which were caused by Valve not releasing the source.

I suppose it all depends on if you want to create and then support an additional map format SleepWalkR.

Just musing aimlessly when I should be 'working' :) 
 
"but the headaches created by the proprietary format weren't minor. "

You mean the RMF format? What were those, I'm not aware of what happened.

I think it allows for a few things ... floating point stuff aside, it allows for editor proprietary stuff like groups or prefabs/instances pretty easily.

I did the same thing in ToeTag in that I used the MAP file for everything. This meant that anything non-Quake had to get stuck into special comment lines that I parsed later. Was a little hacky and if I did it over again, I'd probably just make my own format.

As long as you can read/write MAP files also it shouldn't be an issue. 
Yep, RMF 
It was often a blocker for working in teams - often getting someone to pull out their own teeth than install a secondary editor was easier. Getting someone to convert a map before sending it the same.

The other issues were all caused by committee design, things like texture alignment and WAD conversion.

Really, human obstinacy was the only real problem.

And if you support map as well as have a 'clean' format which still plays nice with other editors after export then it should be a non-issue in a technical sense. 
 
Maybe we need AlembicQuakeCollada 
 
Oh yeah, everyone loves a good standards fight, right? Right? Guys? 
Floats 
Writing a float to text and reading it back doesn't need to be lossy.

From wikipedia,
if an IEEE 754 single precision is converted to a decimal string with at least 9 significant decimal and then converted back to single, then the final number must match the original

So just use "%.9g" in C and you're good. (I guess it's stream.precision(9); in C++)

I made a little test program a while ago that just loops through all 32-bit values, copies the bits into a float, does a round trip to string with "%.9g" and confirmed that is lossless for all 32-bit float values. 
How About Double? 
Cause TB2 is double prec. 
 
17 digits (wiki
Editing Texture Wads On Linux 
Can anyone recommend a programme for editing Quake textures and particularly texture wads, which runs on Linux?

Initially what I would like to do is just to extract one texture from a particular wad (let's call it "wad A") and add it to a different wad ("B"), since it is the only texture from wad A I plan to use, and wad A is enormous -- so it's really clogging the texture browser in TrenchBroom, and makes it a pain to search for textures in wad B*. I seem to recall reading that it's possible to do that, but I cannot seem to find that information again. (Can someone confirm -- is it possible to extract single textures and/or splice/merge different wads?)

---
*I guess that's what TrenchBroom's "group" feature is for, but when I click "group" in the texture browser, it just seems to make a bunch of textures unavailable. Maybe I'm doing something wrong there. 
 
QuakeForge has a commandline wad tool. 
 
No idea how to make it output mips and create wads though, sorry. 
TIL 
after an -onlyents compile with an already lit map, your switchable light gets lost. Light again for viewing pleasure.

I think thats why mfxsp17 sucks so much;) 
 
i think you can run light -onlyents to fix it 
Metl 
you can with aguirre's tool for sure. 
Using Tyrlite 
Old habit.. 
Map Won't Compile 
Every time I try to compile a map using Necros' CompilingGUI the map fails to compile and it seems as if the compiler can't find the right source file. I'm pretty sure I set up the paths correctly though. 
 
difficult to tell what's wrong.
check this:
source map: direct path to your map file
working folder: an empty folder where the tool copies your .map file to and does all the compiling.
output folder: either quake/id1/maps or quake/yourmod/maps

make sure all these folders already exist-- the tool only uses the windows copy command, which doesn't not create folders automatically. 
Re: #14401, #14402 
Forgot to say thank you for the response, Spirit. That looks pretty complicated, though. Does anyone know of some more noob-friendly tools? 
Wally 
it's a bit clunky, but does the job for editing wads. I run it using wine in mac os x. https://www.quaddicted.com/files/tools/wally_155b.exe 
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. 
 
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.