Can 3D midtex lines let projectiles pass?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Enjay
 
 
Posts: 27072
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Can 3D midtex lines let projectiles pass?

Post by Enjay »

When using Line_SetIdentification to make a line have 3D midtex blocking, I have come up with a problem. I want the 3D blocking effect to act like a normal impassable line but I can't see anything that allows that. Perhaps I missed it?

To explain my scenario I have made the attached test WAD (requires GZdoom). I need the the player and enemies to be able to walk under and over the bridge. The sides of the bridge are made using a midbars texture. These need to block the player or enemies passing through and falling off the bridge. All shots, however, need to be able to pass through the bridge side bars like normal impassable walls - and that's where the problem arises.

I can't figure out how to do it. The test WAD shows how far I have got. It looks alright and, as far as player/enemy movement is concerned, it works as I want it. However, whilst you are on the bridge, you cannot use projectile based weapons to hit the imps and, equally, you are protected from their fireballs. Hitscan weapons, however, act exactly how I want them to and can shoot through the bars.

Switching on and off line blocking depending on the player location is not an option for me so... any ideas?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Can 3D midtex lines let projectiles pass?

Post by Graf Zahl »

3DMIDTEX lines are solid geometry - with all implications this normally has - including blocking all actors not having the NOCLIP flag.
User avatar
Enjay
 
 
Posts: 27072
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Can 3D midtex lines let projectiles pass?

Post by Enjay »

Yeah, I figured that the 3DMidTex lines probably have to be like that to allow them to be walked on if they are used for 3D bridges or whatever. Given that the 3DMidTex property doesn't do what I'm looking for, is there an alternative method that would?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Can 3D midtex lines let projectiles pass?

Post by Graf Zahl »

Sorry, but currently there is no solution for your problem. It could be added as a new flag but considering the messy state of this for the old binary map formats it'd probably be UDMF-only and knowing your preference for an editor it wouldn't help you much.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Can 3D midtex lines let projectiles pass?

Post by HotWax »

Given that this would benefit other people besides Enjay, I'd say it's still useful to put in. :P
Locked

Return to “Editing (Archive)”