Decals on 3D floors?

Sat Jul 24, 2021 1:27 pm

Hi again. I'm trying to put decals on 3d floors but I can't figure out how. I've been told that decals cant be put on middle textures. Is this true for 3D floors as well? If so, how can I use upper or lower texture instead? I see the flags "16:Use upper texture" and "32:Use lower texture" but they don't seem to do anything. What now?

Edit:
Apparently, according to these threads, it should be possible but maybe it's bugged? Or is it fixed? I'm confused. Can someone confirm or deny this?

viewtopic.php?f=7&t=61500
viewtopic.php?t=61404
Last edited by Azagthoth on Sat Jul 24, 2021 5:09 pm, edited 1 time in total.

Re: Decals on 3D floors?

Sat Jul 24, 2021 4:30 pm

Sometimes i just place separate linedefs with midtextures of decals. I know it's common method for ports that don't have decals.

Re: Decals on 3D floors?

Sat Jul 24, 2021 4:56 pm

axredneck wrote:Sometimes i just place separate linedefs with midtextures of decals.

That won't work in my case because I need to dynamically be able to add decals. Like with SpawnDecal for instance.

Re: Decals on 3D floors?

Sat Jul 24, 2021 8:25 pm

Make your "Decal" as an Actor with WALLSPRITE and done! 8-)

Re: Decals on 3D floors?

Sun Jul 25, 2021 5:33 am

Logan MTM wrote:Make your "Decal" as an Actor with WALLSPRITE and done! 8-)

Can you give me an example of how to do that? I need a way to get the angle of the wall then, don't I? Otherwise, how do I know which angle to spawn the Actor at?

Code:
Actor REDX
{
   +NOGRAVITY
   +WALLSPRITE
   States
   {
      Spawn:
         REDX A -1 Bright
   }
}

Re: Decals on 3D floors?

Sun Jul 25, 2021 8:32 am

Spoiler:


This the a Actor Code:
Code:
ACTOR Hand 8600
{
Scale 0.15
RenderStyle Translucent
Alpha 0.8

+NOINTERACTION
+WALLSPRITE

States
 {
 Spawn:
 NULL A 0
 
 Hand:
 EMIA Z 1 Bright
 Loop
  }
}


You can Set his angle in MapEditor or :

ACS - https://zdoom.org/wiki/ChangeActorAngle
DECORATE - https://zdoom.org/wiki/A_SetAngle

Re: Decals on 3D floors?

Mon Aug 02, 2021 6:40 am

I'm not sure what all of you are talking about, decals render on the sides of 3D floors just fine. And I don't see any reason for why pre-placed ones wouldn't either.

Image