[SOLVED] [Maps] Block monster only to a certain height

Discuss all aspects related to modding Zandronum here.
Post Reply
Konda
Forum Regular
Posts: 487
Joined: Thu Jun 07, 2012 5:22 pm

[SOLVED] [Maps] Block monster only to a certain height

#1

Post by Konda » Sat Nov 16, 2013 3:57 pm

I find the block monster flag inconvenient since it blocks monsters all the way to the ceiling, because there are numerous occasions where you don't want that to happen. Before I begin I want to note that blocking the players as well in not an option.

One example is because you put lots of structures on the ground and you don't want to make monster progression harder by having them stuck in between these structures. Normally you'd create some lines with block monster flag and it'll all go smooth... except for the flying monsters you decided to spawn above ground, where the only obstacles are those lines with the block monster flag. You want them to move freely, with a few shortcuts, since they can skip all those obstacles, but no.

In fact, that is not an example. That is exactly the problem I'm facing right now. All I need is a bit more control of the flag height-wise. I tried things like making invisible 3D floors that you can pass through, but the line in the dummy sector has a block monster flag. I tried flagging a line inside the map with 'block monster' and 'check switch height' at the same time (I'm using the UDMF format), while giving it a middle texture. None of these work.

I can make an ACS script that will check the height of the monsters when they pass through the line that's supposed to "block", and have them thrusted back if their height is less than the height of the structures on the ground. But that would look silly. Imagine fighting in a map where monsters are just bouncing around. And that simply won't work if there's another monster behind that monster.

Doom was not originally meant to have levels with architecture I described or architecture with 3D floors. There was no need to have line blocking with a height limit. I appreciate the fact that this engine is being upgraded with new possibilities such as 3D floors, but it'd make sense if these upgrades were balanced. So while introducing map progression height-wise, you may want to provide the necessary features to make such progression go smoothly without forcing the map designer to use some kind of trickery. Seriously, imagine having to use line blocking in a map that is designed with 3D floors over 3D floors, that are over more 3D floors and so on. It just isn't possible. You'd either have to think wisely of the map layout to make use of that line blocking on every height, or you'd have to think of some silly ACS hack.

That goes as long as I'm not missing any crucial features that actually make height-limited line blocking go smoothly :x
Last edited by Konda on Sat Nov 16, 2013 10:04 pm, edited 1 time in total.

Code: Select all

<Synert> fuck
<Synert> plugged in my memory stick and got a bsod

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: [Maps] Block monster only to a certain height

#2

Post by Ivan » Sat Nov 16, 2013 4:27 pm

Why don't you use bridge things with sufficient radius and height?
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: [Maps] Block monster only to a certain height

#3

Post by Lollipop » Sat Nov 16, 2013 4:49 pm

Ivan wrote: Why don't you use bridge things with sufficient radius and height?
Seconded.
Though this do not allow players to go through if that is wanted, though you can use some decorate function in your new custom bridges that allow passthru the player actor, though I am too lazy to find the wiki page for it :razz:
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

kuchitsu
New User
Posts: 7
Joined: Wed Jun 06, 2012 6:12 pm

RE: [Maps] Block monster only to a certain height

#4

Post by kuchitsu » Sat Nov 16, 2013 5:16 pm

Not sure if that's what you want to do, but you can block ground monsters without blocking flying monsters by creating tiny untextured pits, here is an example - http://speedy.sh/RDeyU/flyokwalknotok.zip

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: [Maps] Block monster only to a certain height

#5

Post by Ivan » Sat Nov 16, 2013 5:36 pm

Lollipop wrote:
Ivan wrote: Why don't you use bridge things with sufficient radius and height?
Seconded.
Though this do not allow players to go through if that is wanted, though you can use some decorate function in your new custom bridges that allow passthru the player actor, though I am too lazy to find the wiki page for it :razz:
Editing the said actor with THRUSPECIES magic! This actually reminds me of a similar topic that asked how you could make monsters underwater not emerge from water.
Last edited by Ivan on Sat Nov 16, 2013 5:37 pm, edited 1 time in total.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

Konda
Forum Regular
Posts: 487
Joined: Thu Jun 07, 2012 5:22 pm

RE: [SOLVED] [Maps] Block monster only to a certain height

#6

Post by Konda » Sat Nov 16, 2013 10:05 pm

Thanks guys. That's still some hax, though.
Last edited by Konda on Sat Nov 16, 2013 10:05 pm, edited 1 time in total.

Code: Select all

<Synert> fuck
<Synert> plugged in my memory stick and got a bsod

User avatar
Ænima
Addicted to Zandronum
Posts: 3582
Joined: Tue Jun 05, 2012 6:12 pm

RE: [SOLVED] [Maps] Block monster only to a certain height

#7

Post by Ænima » Sat Nov 16, 2013 10:43 pm

Konda wrote: Thanks guys. That's still some hax, though.
That's what you get for having 3D ideas in a 2D-based mapping system. :p
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Post Reply