Page 1 of 1

Another 3d floor flag: Block monsters only

Posted: Wed Sep 20, 2006 16:40
by Cutmanmike
I request a flag which makes 3d floors only detect collisions with monsters. Why you ask? Well as we know there's NO way to make monsters stay in deep water right? Well with this, you could make an invisible 3d floor just above the water surface, therefore preventing monsters from flying out of it.

Posted: Fri Sep 22, 2006 22:24
by Syfo-Dyas
I used to do this under Legacy, if I can find my maps I'll see if that FS code works with gzDOOM, then I'll post...

...if I can find that old map that is. :)

Re: Another 3d floor flag: Block monsters only

Posted: Tue Sep 26, 2006 0:49
by solarsnowfall
Cutmanmike wrote:Well as we know there's NO way to make monsters stay in deep water right?
Didn't I post a map over at forum.zdoom.org that did just that using ACS?

Posted: Tue Sep 26, 2006 9:27
by Cutmanmike
I tried that already, but having multiple "fish" monsters would eat up a ton of tid's (not to mention you'd have to reserve and remember which ones were taken).

Also this could have other uses.

Posted: Wed Sep 27, 2006 4:46
by solarsnowfall
Cutmanmike wrote:would eat up a ton of tid's (not to mention you'd have to reserve and remember which ones were taken).
That can be done with relatively little fuss. For mass tid scenarios I always use the negative tid range. Any case specific tids I use are in the positive range, so they never conflict. With a little planning you can assign hundreds of things unique tids (via script), and it only takes one map variable to track it. I put a system in place to do just that in Phobus's Warpzone wad, and IIRC it has over a thousand monsters (at least on UV).

Posted: Wed Sep 27, 2006 9:57
by Cutmanmike
negative... tids.....? :shock:

Posted: Wed Sep 27, 2006 16:41
by Nash
What were dynamic TIDs used for in Warpzone? Didn't seem like anything special was going on...

Posted: Wed Sep 27, 2006 19:13
by Phobus
There are no dynamic TIDs in Warpzone. Solarsnowfall set up his own system to count monsters and stuff for kills and the like (I've seen it in action), and used my map to test it, as it's a fairly recent example of a lot of processing weight and many monsters. His system made no noticeable impact on performance, BTW.

Posted: Wed Sep 27, 2006 23:18
by solarsnowfall
It was a global stat tracker of sorts, ment to track all sorts of things.

@Cutmanmike: The total range of tids that are available are -32767 to -1 and 1 to 32767.