I Dig
#13164 posted by ALLCAPS on 2013/08/27 23:24:22
I do my best programming after I wake up. Lots of good ideas for functions and design in those waking moments!
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.
#13165 posted by necros on 2013/08/27 23:35:54
It's basically java without OO.
#13166 posted by JneeraZ on 2013/08/28 19:27:05
"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
#13167 posted by ijed on 2013/08/28 21:55:36
'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
#13168 posted by Preach on 2013/08/29 01:13:06
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
#13169 posted by ijed on 2013/08/29 14:09:08
Haven't seen that before, even though I have heard of 'coffee move'.
Leaks, But No Leak
#13170 posted by ALLCAPS on 2013/08/29 23:51:42
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.
#13171 posted by necros on 2013/08/30 00:30:03
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
#13172 posted by Qmaster on 2013/08/30 00:46:37
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.
#13173 posted by ALLCAPS on 2013/08/30 01:08:38
Good to know. Thought it was my fault!
Tyrqbsp
#13174 posted by ijed on 2013/08/30 03:39:03
Has a newer version in testing at the moment with a lot of fixes and improvements.
Rebb�s Jury Rigged BJP Tools
#13175 posted by mfx on 2013/08/30 04:03:09
are youre choice at last...
Rotate Info
#13176 posted by mechtech on 2013/09/01 21:09:55
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
#13177 posted by Qmaster on 2013/09/03 04:00:29
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?
#13178 posted by ALLCAPS on 2013/09/03 07:10:50
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
#13179 posted by flesh420 on 2013/09/03 08:54:52
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
#13180 posted by spy on 2013/09/03 10:06:58
otherwise it would completely fullbright
and don't forget to run light.exe
Qmaster
#13181 posted by Spirit on 2013/09/03 11:00:21
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
#13182 posted by ALLCAPS on 2013/09/03 16:11:21
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
#13183 posted by flesh420 on 2013/09/03 18:33:49
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
#13184 posted by negke on 2013/09/03 18:56:16
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
#13185 posted by negke on 2013/09/03 19:03:36
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
#13186 posted by ijed on 2013/09/03 20:17:09
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
#13187 posted by sock on 2013/09/04 01:38:17
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:
#13188 posted by metlslime on 2013/09/04 02:20:22
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.
|