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?
Static decorative object is an invisible obstacle
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.
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.
- eharper256
- Posts: 1108
- Joined: Sun Feb 25, 2018 2:30 am
- Location: UK
- Contact:
Re: Static decorative object is an invisible obstacle
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.
Re: Static decorative object is an invisible obstacle
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.