Necros
#6123 posted by metlslime on 2007/07/09 04:53:30
iD had self imposed limits on maps (like total texture size), so why did they also have engine limits? if they had made quake to have a max of 5 billion edicts, but only used max 256, would it have mattered? is there some actual programming reason behind it, or was it an arbitrary choice?
Mainly becuase it's a lot easier to write data handling code if you can assume a fixed limit than if you have to dynamically allocate memory for everything. A lot of stuff in quake is allocated in fixed buffers.
Other limits are imposed by the network protocol, for example 256 models means that you can use a single byte to index them.
And then, some limits are a combination. For example, MAX_EDICTS was 600 in standard quake, and this was becuase all edicts were in a static-sized buffer in memory. Edicts actually take a lot of memory per edict, and quake was designed to run in 8mb of RAM, so this is understandable. Also, looking at the size of the standard id maps, 600 is plenty. But when I added the max_edicts variable in fitzquake, I still had to set a hard limit of 8192, becuase the network protocol imposed its own restrictions on this number (which I can't recall at the moment, but I think has to do with the other bits being used for something else.)
Thanks!
#6124 posted by necros on 2007/07/09 22:44:52
Skip Problems
#6125 posted by metlslime on 2007/07/10 10:09:42
So, i've been using tyrann's skip tool recently, and it's worked fine, and suddenly in the most recent versions of my map (after merging in a couple new rooms from another .map) it stopped working correctly. Now what it does is remove hundreds of random non-skip surfaces from all over the level.
Has anyone else had similar problems?
Metlslime
#6126 posted by JPL on 2007/07/10 11:20:31
Yes, it doesn't work very well on big maps actually... I experimented the same fucking behaviour on SRC when I tried to add glasses...
Skip
#6127 posted by bal on 2007/07/10 11:32:16
I've had the same thing, Tyrann always said it really did that after a while. =\
... And A While...
#6128 posted by JPL on 2007/07/10 11:38:00
... is not top priority actually... ;P
Skip Problems: Happy Ending...
#6129 posted by metlslime on 2007/07/11 12:32:15
I sat down tonight and wrote a new skip removal tool from scratch, which seems to work correctly with my problem map. Only thing it doesn't do right now is remove skip faces from brush entities (did the Tyrann's tool do that?)
Still got to give props to Tyrann for the proof of concept though; I wouldn't have been able to code this so fast if I didn't have a basic idea of how his tool worked.
Brush Entities
#6130 posted by Preach on 2007/07/11 12:48:29
The Tyrann skip tool certainly removed faces from brush entities. I can't say for sure if it never caused problems, but I've certainly made a few maps and encountered no problems with this aspect of it. It's very good news that we've got a tool that works for the world model though.
Yes, It Does
#6131 posted by negke on 2007/07/11 13:05:38
and it causes a HOM in GL engines. And I have plans for this feature.
That's
#6132 posted by HeadThump on 2007/07/11 16:43:21
and it causes a HOM in GL engines. And I have plans for this feature.
what makes neg|ke the awesome-est. I would never think of HOM as a feature.
Okay...
#6133 posted by metlslime on 2007/07/11 20:26:48
well, i'll see about adding brush entity support tonight, and generally clean it up so other people can use it.
Oh, and I still have to test it in various engines, since the basis of the tool is a hack that works only because of the way quake renders bsp models.
#6134 posted by Lunaran on 2007/07/11 20:28:56
he's a hom-osexual
Yeah
#6135 posted by negke on 2007/07/12 00:40:21
Going to beat off in front of those mirrors over and over again.
NegIke...
#6136 posted by metlslime on 2007/07/12 00:43:10
and it causes a HOM in GL engines. And I have plans for this feature.
Will these plans be ruined if I play with gl_clear 1?
METL!
#6137 posted by than on 2007/07/12 06:45:22
PLEASE add support for liquid brush types! I need that for my basemap which is having a few problems with Tyrann's tool, but I can't have glass+water if I don't use a skip removal tool.
Ah...
#6138 posted by metlslime on 2007/07/12 06:50:47
right, i forgot about that. So we want removal of *skip as well as skip, basically?
Hmm...
#6139 posted by metlslime on 2007/07/12 08:20:18
actually I guess i'd need:
*waterskip
*slimeskip
*lavaskip
*skip
for all three contents types, plus *skip when you don't want the water ambient sound.
Metlslime
#6140 posted by JPL on 2007/07/12 09:06:36
To make ambient sounds disappear ingame, just use aguirRe's vis tool: there are -noambient<lava/water/slime/sky> option that allow to remove them, check http://user.tninet.se/~xir870k/readmevis.txt .. It has been added since rvis 2.30 ;)
JPL:
#6141 posted by metlslime on 2007/07/12 09:19:49
i meant removing ambient sound for certain brushfaces, not the entire map.
Metl
#6142 posted by negke on 2007/07/12 19:14:03
Not necessarily. Since I use gl_clear myself, I will keep that in mind - some trigger_command trickery will probably do the job. Furthermore, software engines might be driven out by clever use of the limits.
Skip Progress...
#6143 posted by metlslime on 2007/07/12 19:59:07
I added entity support and liquid support last night.
Metl
#6144 posted by than on 2007/07/13 02:03:14
you are a god.
Does it have options so that only skip on entities may be removed? I have a feeling it was the removal of skip from world brushes that was causing the problem with Tyrann's tool, so it might be sensible to at least have an option to disable it if it starts to cause problems with your tool too.
Well...
#6145 posted by metlslime on 2007/07/13 03:20:32
no, but i'd rather try to actually fix the bug if we discover that my tool is buggy.
Of course if it turns out there's a bug I just can't figure out, adding that feature would be an option.
Than
#6146 posted by inertia on 2007/07/13 04:06:52
what is the method you settled on using to make glass?
Different Glass Solution
#6147 posted by ijed on 2007/07/13 04:17:10
I'm using glass at the moment under a Warp Version of Nehahara made by AguirRe - I failed to do this for warp through oversight.
I was reading through the documentation again and realised alpha could still be applied to any entity - func_wall glass. I haven't made it shootable yet but thats just a case of a snfx and trigger_once. And you can't spawn glass gibs because that's from the progs.
|