Block player only line flag.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Block player only line flag.

by Graf Zahl » Thu Nov 09, 2006 5:09 am

duplicate

by Enjay » Tue Apr 18, 2006 10:45 am

:)


I came across another situation where I needed this a few days ago. I have an area outside that the player moves around in. It is bound by a wall with a ditch beyond but at certain points the player can get over the wall and into the ditch to find a secret. If they really try they can strafe-run across the ditch to a place where they really shouldn't go. However, in the far distance, some cacodemons spawn and move towards the player. The cacos need to be able to cross the large expanse of ground and eventually get to the player by flying over the ditch and the wall. I know I could move things around and whatever, but the way it looks just now is exactly as I want it and changes could spoil that. Blocking the far side of the ditch with a "block players" line would be ideal as it would stop the player ending up in the wrong place but let the cacos in.

Re: Block player only line flag.

by Cutmanmike » Tue Apr 18, 2006 3:29 am

Enjay wrote:just mong up and down
...Am I the only one who laughed at that?

by Amuscaria » Sun Apr 16, 2006 2:39 pm

DaLLeN wrote:couldnt you use an invisble sprite marked block player? or do these scenary items block monsters too?


They block everything but hitscan attacks.

by DaLLeN » Wed Apr 12, 2006 5:00 pm

couldnt you use an invisble sprite marked block player? or do these scenary items block monsters too?

by Graf Zahl » Wed Apr 12, 2006 10:54 am

No, it couldn't. It would break countless maps that accidentally use them together.

by Risen » Wed Apr 12, 2006 10:33 am

Is there any reason for block all + block monsters? Perhaps the combination of these flags (or others) could specify a special case?

by MartinHowe » Wed Apr 12, 2006 3:19 am

What I would kill for is a "block non-flying monsters and players" flag. Since doom-units and real-world dimension are only approximately compatible, in Doom you need a fence that looks 5ft high in the game to do the job that a fence 2.5ft high would do in the real world (i.e., stop players from accidentally walking over it).

As for implementing it with all the flags already in use, it would have to be some property maintained in the game, perhaps a special that is executed on startup or that can be applied via a lineid.

Block player only line flag.

by Enjay » Tue Apr 11, 2006 3:57 pm

I think the line flags may all be used up, but this is something I've wanted for years and with the increase in 3D architecture in levels, it's become more important - with both true 3D and fake 3D bridges and other constructs.

I would like to be able to set a line that blocks players but not enemies.

Why? Imagine an example construct - a bridge over a chasm - there are cacodemons on either side. The player has to cross the bridge. It is inappropriate and undesirable for the player to be able to walk/fall off the side of the bridge, so it is marked as impassable. However, this prevents the cacos flying over/under the bridge. So they fly to the bridge then either turn around or just mong up and down until they are shot. A caco placed on the bridge, similarly, cannot fly off the bridge and is trapped within its boundaries.

There are work arounds - eg invisible sectors or floating bridge objects at the side of the bridge preventing the player crossing. However, these will also block shots and possibly remove the entire threat posed by the cacodemons (in the above example).

Can it be done?

Top