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.
@metlslime
#13189 posted by sock on 2013/09/04 02:34:06
thanks :)
So That's How SKIP Works!
#13190 posted by Qmaster on 2013/09/04 04:37:40
I thought it deleted the faces. That explains why newskipped bsps when loaded into another map as a .model still render all of their faces even when loaded by themselves they don't render. (Yeah I was playing around with the idea of instancing (you know like source engine!) multiple bsp's which works almost perfectly but would be absolutely horrid for performance in my case since skipping doesn't work. That and you get fireflies between mating surfaces of zero thickness (think tri-soup where two brushes only share an edge));
Wait...
#13191 posted by Qmaster on 2013/09/04 04:39:56
Wait how does the engine render entity .model's like for monsters and brush entities? Is there a way to have a skip utility that causes certain faces of a bsp to have the pink index color of transparency applied to them?
Skip
#13192 posted by Tyrann on 2013/09/04 06:12:14
The latest tyr-qbsp removes skip surfaces completely during compilation (instead of hiding them at the end of the surface list) in case that helps.
Qmaster...
#13193 posted by metlslime on 2013/09/04 07:33:41
Interesting, I didn't consider that use case when creating the tool. It should be possible to support it, though tyranns new absolute kind of makes my tool obsolete.
Correction:
#13194 posted by metlslime on 2013/09/04 07:35:20
"Absolute" should read "qbsp" -- cursed iPad autocorrect
Sock
#13195 posted by negke on 2013/09/04 09:23:13
Darkplaces doesn't treat skip surfaces as simply tranpsarent faces by default like normal engines. Instead, to DP it's pretty much like they aren't there, so shots pass through and they don't block visibility. Check the sv_gameplayfix_q1bsptraceline* cvars, they can revert this behavior.
#13196 posted by necros on 2013/09/04 14:56:02
i wish skip worked on external bsps. that would be radddddd
#13197 posted by Spirit on 2013/09/04 15:09:24
Sounds like tyr's does?
Mapping For Quake
This question has probably been asked before but after hours of Googling, I have to turn to you. I've been using GTKRadiant 1.4 for Quake 3. I would like to use the same editor for Quake. According to several readme's from different maps, this should be possible.
Google has thought me GTKRadiant 1.5 has a gamepack for Quake and should be easy to configure. However, I don't like 1.5. I'm spoiled like that :)
Quake ED by Sikkpin is mentioned a lot. But all I find are dead download links. There doesn't seem to be a site for it.
Other editors are mentioned of course but before switching it would be great to hear if it's possible with GTKRadiant. If not, links to Quake Ed by Sikkpin would be appreciated since that one seems to be the best fit for me (based on what I read).
#13199 posted by negke on 2013/09/04 21:49:51
The Quake gamepack should work with either version. Worth a try.
Negke
Looking into it. Apparently official support is dropped for 1.5 and later. So no official gamepack download. Currently looking for mirrors :)
The 1.5 Release Contains The Quake Gamepack
#13201 posted by negke on 2013/09/04 23:12:04
A slightly modified version of it is available here.
And while I'm at it, might just drop this link as well: q1maptools.zip
Qmaster
#13202 posted by mwh on 2013/09/05 06:03:05
Should be pretty easy to pull that data out of a demo file (assuming you have code lying around that reads demo files, I have some oddball Python at https://code.launchpad.net/~mwhudson/+junk/demp, Mandel has some C at https://github.com/mandelmassa/libdemo or you can ram the demo through lmpc and parse the text).
Negke
Thank you for those files. Unfortunately, the pack doesn't seem to be compatible with GTK 1.4. I got pretty far and solved several errors but eventually it would still crash.
Maybe someone else has any ideas? Otherwise a link to Sikkpin QE would be appreciated.
#13204 posted by necros on 2013/09/05 21:14:41
You can totally use GTK1.4 with q1, but it requires some small bits of hackery.
Basically, you extract your texture wad as jpg or tga and store them like a q3 texture pack.
Then, when you go to compile, you convert the map that was saved from GTKR (which will be a q3 .map format) into the q1 .map format with a converter program. then you compile as normal.
When i get home, I'll see if I can dig up my old guide for this.
Necros
That would be great. I thought about converting but figured it wouldn't work texture wise and Quake uses different entities and such. At least, when you decompile everything is messed up.
Here You Go
#13206 posted by necros on 2013/09/06 01:39:12
http://necros.fov120.com/post.php?postID=7
Its very old, but it explains the process at least. You can probably make it so that you can select Quake1 as a game mode (like Quake3, RTCW, etc...) instead of overwriting the Quake3 entities file... see GTKRadiant documentation on how to set up different games for that. I haven't used GTKR in ages.
#13207 posted by necros on 2013/09/06 02:47:44
btw, i forgot, but there is a better guide to using gtkradiant. i also forgot who made it. :\
Quake 1 Map Pack
#13208 posted by sock on 2013/09/06 04:46:57
GTK1.3+ Quake 1 Editor Files
Here is my Quake 1 setup for GTK 1.3+ Please check the readme file for more details of where all the files go and what they do. I was planning to test the entities.def file today, but ran out of time, it was a crazy day. I went through my own def file and took out all my custom MOD stuff, which may cause a couple of problems.
You will need to get some compiler tools, I only included the textures and editor files. You can use func_group entities with most Quake compilers, just remember to add the right switches, for example "txqbsp -group -q2map %1" will cope with Q3 map format and groups! :)
Still Thinkering
@Necros: Thank you for the link. What editor are you using now?
@Sock: We can always count on you. Thanks for sharing. A couple of questions though:
The GTK 1.3.8 beta doesn't have native Quake support. I take it I have to create my own gamepack much like mentioned in Necros his guide?
Based on the files you posted I figured this:
Entities.def and q1.shader go in the q1.game folder inside Radiant. I have to make this.
I would need a q1.game file for the qames folder in Radiant.
Textures and maps should be in the Quake folder and Tools doesn't matter right?
Also, Radiant should be installed with only q3 game support? In your readme you mention SDRadiant. Perhaps that's the difference?
I got 1.5 to run with Quake but god I hate that editor. Getting into Quake mapping, while using 1.4, is harder than I thought. My head hurts after 2 days of Googling, trying stuff out and harassing people.
|