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
Decals on 3D floors?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Decals on 3D floors?
Last edited by Azagthoth on Sat Jul 24, 2021 5:09 pm, edited 1 time in total.
- axredneck
- Posts: 356
- Joined: Mon Dec 11, 2017 2:09 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Russia
- Contact:
Re: Decals on 3D floors?
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?
That won't work in my case because I need to dynamically be able to add decals. Like with SpawnDecal for instance.axredneck wrote:Sometimes i just place separate linedefs with midtextures of decals.
Re: Decals on 3D floors?
Make your "Decal" as an Actor with WALLSPRITE and done!
Re: Decals on 3D floors?
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?Logan MTM wrote:Make your "Decal" as an Actor with WALLSPRITE and done!
Code: Select all
Actor REDX
{
+NOGRAVITY
+WALLSPRITE
States
{
Spawn:
REDX A -1 Bright
}
}
Re: Decals on 3D floors?
Spoiler:This the a Actor Code:
Code: Select all
ACTOR Hand 8600
{
Scale 0.15
RenderStyle Translucent
Alpha 0.8
+NOINTERACTION
+WALLSPRITE
States
{
Spawn:
NULL A 0
Hand:
EMIA Z 1 Bright
Loop
}
}
ACS - https://zdoom.org/wiki/ChangeActorAngle
DECORATE - https://zdoom.org/wiki/A_SetAngle
- inkoalawetrust
- Posts: 70
- Joined: Mon Aug 26, 2019 9:18 pm
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: Decals on 3D floors?
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.