Static decorative object is an invisible obstacle

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze 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.
Post Reply
Guest

Static decorative object is an invisible obstacle

Post by Guest »

I replaced the green and red columns in the Decorate function in Slade 3

The green one appears in the game fine, but the red is an invisible obstacle.
Their sprites were imported together, and the code is copied and pasted.

ACTOR Tall_Green : TallGreenColumn replaces TallGreenColumn
{
Radius 16
Height 40
ProjectilePassHeight -16
+SOLID
States
{
Spawn:
COL1 A -1
Stop
}
}

ACTOR Tall_Red : TallRedColumn replaces TallRedColumn
{
Radius 16
Height 40
ProjectilePassHeight -16
+SOLID
States
{
Spawn:
COL3 A -1
Stop
}
}

Any reason I'm missing as to why the red one isn't appearing?
User avatar
eharper256
Posts: 1108
Joined: Sun Feb 25, 2018 2:30 am
Location: UK
Contact:

Re: Static decorative object is an invisible obstacle

Post by eharper256 »

You are most likely missing a sprite called COL3A0 from your /sprites/ directory. Or, something else is replacing TallRedColumn at a later stage of your loading sequence.
User avatar
Enjay
 
 
Posts: 27042
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Static decorative object is an invisible obstacle

Post by Enjay »

Another possibility - the offsets haven't been set, so the sprite is there, but it is inside the ground and therefore invisible. Strange for this mistake to be made for just one of them but it could be that.
Post Reply

Return to “Assets (and other stuff)”