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
 
It's basically java without OO. 
 
"Speaking of that I've been meaning to give QuakeC a go. Never was very good at C, better with more modern nonsense like Java, C#, and Ruby, but it's QuakeC. Gotta be good."

Prepare for pain. :) 
Best Description Of Qc 
'Quirky'

This should get you started:

http://www.inside3d.com/qcspecs/qc-menu.htm

And the main site has plenty to chew over as well:

http://www.inside3d.com/ 
More Resources For Learning QC 
I've always held that Coffee's Ai Cafe has a fantastic set of tutorials for QC.

https://www.quaddicted.com/webarchive/minion.planetquake.gamespy.com/tutorial/main.htm

Admittedly many of them centre around creating good AI for a deathmatch bot, but there's variety enough to get you exploring most of the code base. The practice with the AI is also helpful when it comes to working with the monster code in Quake, even if the tutorials rarely work directly with individual monster files (they all follow a similar pattern in the end). 
Cool 
Haven't seen that before, even though I have heard of 'coffee move'. 
Leaks, But No Leak 
I've been using txqbsp for a while with no trouble, but was reading about tyr's qbsp so I figured I'd give it a show, and it is telling me I have a leak where there is none. I load up the point file, and it meanders around in the void then passes straight through a simple floor brush. I swapped back to txqbsp and it compiles with no leak, I turn on r_showtris and vis is working correctly, only what is visible is rendered, the vis is very good considering the size of the map.

What could be the trouble here? I have no entities in the void, no brush entities in the map at all, and the only texture I'm using is a greybox grid.

What gives? Tyr's light and vis are working great, qbsp is the only one acting a fool. 
 
I don't think tyrqbsp is based off of txqbsp, which is unfortunate as txqbsp is the best compiler out there in terms of robustness and its ability to cope with complex geometry. 
Tyr`s Qbsp 
Tyranns qbsp.exe is for all intents and purposes currently broken. It wont compile anything for me so I just stick with txqbsp like I have for years. Tyrs vis and light are amazingly fast and work great though. 
 
Good to know. Thought it was my fault! 
Tyrqbsp 
Has a newer version in testing at the moment with a lot of fixes and improvements. 
Rebb�s Jury Rigged BJP Tools 
are youre choice at last... 
Rotate Info 
would something like this chart and an explanation be helpful?
The rotation stuff seems under used and understood.

http://www.mediafire.com/view/57cfzc2e615m5z9/testchart.jpg 
Gameflow Study 
I'm getting charty with it!

I'm starting to do some data analysis tests for Quake gameplay. I've done a first run through of one of my old favorite maps (hip2m2 if your curious) to get an idea of some basic ideas.

https://www.dropbox.com/s/c6kcbe24129idf1/BlackCathedralStats.jpg

I'm attempting to create generalizations about the basic gameplay elements over time. This is only the results from one study, but I had to pause to write the data down every interval. Also, copying the output from the console is tedious if I were to try to improve the collection method by outputting the data every 30 or 60 secs to the conole. Is there an engine that supports exporting data in this manner? Maybe in the save file?

I can make some generalizations though (still this depends on play style and it would be nice to have others input their data for this study). Kills over time is almost perfectly linear at about 12 kills per minute or 5 seconds per kill. Shells and nails maintain the same average (44 for this particular map), but nails varies much more wildly than shells (okay so I use them more but who wouldn't). Rockets maintained a very low average hovering around 10-15.

The linear kills over time is to me the most useful tidbit so far that I've learned and gives me a good idea of this maps pace, although being able to see the balance of everything over time like this makes me giddy. :D I love charts!!

Is there a better way to automate this? 
 
You could record yourself playing/take demos, and gather the data later. Never peeked inside a demo file before, possible it's in there and could be plucked out. 
Lights 
I've created a map and everything is sealed, but for some reason when I play the map it's bright though the worldspawn brightness is set to default, which should be at 0. Can anyone help and tell me what's causing this? 
You Have To Place At Least One Light Entity 
otherwise it would completely fullbright

and don't forget to run light.exe 
Qmaster 
Use QW and then cokeman's mvdparser. You can specify what information you want in the output with templates. Should be possible to get pickups etc. from it.

https://github.com/JoakimSoderberg/mvdparser

I used it for https://www.quaddicted.com/tools/frag_heat_maps_from_mvd_demos

There are also tools for protocol 15 demos but I haven't found a user-friendly one. Will probably be investigating them later this month. The SDA guys should have stuff. Maybe http://speeddemosarchive.com/quake/qdq/tools/demtool.html 
@flesh 
Are you using the newest tyr tools for light and vis?

It's possible VIS broke somehow. In Quake turn "r_showtris 1" in console and just make sure that the whole level isn't being rendered at one time, which may indicate something doing wrong at compile time.

This is assuming you're running light.exe and have some lights thrown about in the map, which is what to check first. 
Thanks 
Ok thanks. Yea something broke and I got the idea to try different compile tools and that fixed it. 
VIS Has Nothing To Do With It 
It's like spy said. Light.exe adds the lightmap information to the compiled bsp provided there are light entities in the map. 
Collision On Moving (blocked) Bmodels 
If a moving brush entity, e.g. a func_train, is being blocked by a player or a monster, does this affect the behavior of other entities riding it in any way? Technically, it's still in a "moving" state, right? Would that impact on any active/inactive monsters on it, specifically their movement/AI routines? 
Never 
Seen anything like that, especially with trains. Typically they affect nothing and nothing affects them apart from a direct targeting and the obvious movement of creatures placed on top.

The only oddity I've seen there is with dead monsters, who'll sometimes slide on horizontally moving trains, and doors.

It's possible however that a mover is doing damage to a creature (even if it's 0 damage) which in theory could interrupt / reboot it's state.

Just conjecture / vague memory though. 
@metlslime 
I am trying to get my maps to work with Darkplaces and I have setup all my bmodels (doors, buttons) with skip on their hidden surfaces. I have been using your newskip.exe program to move the skip surfaces around inside of the bsp, but strange things are happening.

Projectiles often fall through the bmodels with skip surfaces and traceline functions cannot recognize the objects anymore. If I compile without the newskip.exe the bmodels are all fine. I checked that the objects have the correct bbox and min/max setup but I cannot see what is wrong.

What exactly does newskip.exe do? I want to be able to explain to LordHavoc so that I can log a bug with him about Darkplaces and hopefully get the situation fixed. I really want to keep the skip surface function but I need to get more details. Can you help? 
Sock: 
basically skip tool will re-arrange the faces in the leaf or bmodel so that the skip faces are at the end of the list, then it changes the "num faces" count to be lower.

so if you start with this:

NumFaces: 6
Faces: A B C D E F


And B and C are skip-textured, you get this at the end:

NumFaces: 4
Faces: A D E F B C


So B and C are still included in the list, but won't get drawn because the engine will stop after drawing the first 4 faces.

Also the source code is included in the newskip archive, so Lordhavoc should be able to look at it in more detail if he wants to. 
@metlslime 
thanks :) 
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.