So simple problem - 3D midtexture shootable through

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
scifista42
Posts: 23
Joined: Fri May 18, 2012 8:30 am
Location: Czech Republic

So simple problem - 3D midtexture shootable through

Post by scifista42 »

Very probably I'm missing something. I need to do such a basic thing:
Image
Player stands on the 3D floor and there is a MIDBARS texture in the height of the 3D floor. Well.
Image
Player cannot run through the bars texture, however he/she can perfectly run under it. (Note that I don't really care about if he can jump/fly over it or no.) A normal 3D midtexture would solve that. BUT...
Image
Player must be also able to shoot through the bars. And here the problems begin.

Don't you think this is a very simple situation? But for my life, I'm unable to achieve both conditions (passable under AND shootable through) at the same time. It must be possible somehow. This is the fantastic ZDoom engine where everything impossible is possible. Can you help me out, please?

(and, invisible blocking shootable-through actors are a no-go, since they don't allow me to smoothly "slide along the wall")
User avatar
Ichor
Posts: 1784
Joined: Wed Jul 23, 2003 9:22 pm

Re: So simple problem - 3D midtexture shootable through

Post by Ichor »

scifista42 wrote:(and, invisible blocking shootable-through actors are a no-go, since they don't allow me to smoothly "slide along the wall")
Only if it's a diagonal wall. If the wall is along one of the axes, there shouldn't be that problem. I've made a similar barrier using invisible actors (though these were reflective, heh), and I could slide along the barrier just fine because it was flat along the grid.
User avatar
UnTrustable
Posts: 758
Joined: Wed Jan 31, 2007 11:34 am
Location: The Netherlands
Contact:

Re: So simple problem - 3D midtexture shootable through

Post by UnTrustable »

Yup, if i chose to have mid-texture, is always use custom bridgethings, that are soo small that fits the bars of that texture.
If im not using mid-texture i use sector-type bars.
When i have a 2 floor situation i can use the above, but when i use 3 or more floors, i use 3D floors feature to get these bars.
So many ways to do this.

And since you chose to have 3dfloors, i would recommend you to use 3d floors for making those bars.
If you also want to slide along these bars, well,... ehr.... :?
scifista42
Posts: 23
Joined: Fri May 18, 2012 8:30 am
Location: Czech Republic

Re: So simple problem - 3D midtexture shootable through

Post by scifista42 »

UnTrustable wrote:And since you chose to have 3dfloors, i would recommend you to use 3d floors for making those bars.
Wait, is it possible to make a 3D floor that can be shoot through but not passed through? If yes, the problem may be solved by a thin invisible 3D block in the place of bars. Is it right?

And as I said, no bridge actors or any other actors are what I need, since the walls will be angled and should be passed through.
User avatar
Ichor
Posts: 1784
Joined: Wed Jul 23, 2003 9:22 pm

Re: So simple problem - 3D midtexture shootable through

Post by Ichor »

scifista42 wrote:
UnTrustable wrote:And since you chose to have 3dfloors, i would recommend you to use 3d floors for making those bars.
Wait, is it possible to make a 3D floor that can be shoot through but not passed through? If yes, the problem may be solved by a thin invisible 3D block in the place of bars. Is it right?

And as I said, no bridge actors or any other actors are what I need, since the walls will be angled and should be passed through.
http://zdoom.org/wiki/Sector_Set3dFloor

Apparently, it does work (haven't tested it though). In the types section, using 32 means that you can shoot through the solid wall.
scifista42
Posts: 23
Joined: Fri May 18, 2012 8:30 am
Location: Czech Republic

Re: So simple problem - 3D midtexture shootable through

Post by scifista42 »

Ichor wrote:Apparently, it does work (haven't tested it though). In the types section, using 32 means that you can shoot through the solid wall.
Apparently (I just tested it), only hitscan weapons can shoot through, but the 3D floor still blocks projectiles, which is what I need to get rid of the most.
Come on - it must be possible somehow in this engine which is so much above vanilla...
User avatar
Enjay
 
 
Posts: 27070
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: So simple problem - 3D midtexture shootable through

Post by Enjay »

Am I reading the post correctly: you want to create a MIDBARS "wall" that behaves like a normal blocking line as far as things crossing it within the height of the texture are concerned (blocks players and monsters but not hitscans or projectiles) but which allows anything to pass below or above the height of the texture?

If so, I'm afraid that I don't think it can be done. I have asked about this before and I remember that other people have too. I wanted to make a bridge with a solid 3D floor, solid 3D roof and bar sides that projectile-launching enemies could shoot through and hit the player as he crossed the bridge. Unfortunately, (as I remember the explanation) the way that 3D mid textures work for collision purposes mean that an arrangement like this cannot be done and the feature cannot be added either. :?

[edit]
Found one time where I asked about it:

http://forum.zdoom.org/viewtopic.php?f= ... 2&p=440892
[/edit]
Locked

Return to “Editing (Archive)”