Decaldef error

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
User avatar
DELTAtheDboi005
Posts: 219
Joined: Tue Apr 05, 2022 3:43 am
Preferred Pronouns: He/Him

Decaldef error

Post by DELTAtheDboi005 »

Gzdoom says that bloodsplat8 has not been defined, even though it is...


Execution could not continue.

Script error, "THE ADVENTURES OF DELTA 2.4a.pk3:decaldef" line 158:
Bloodsplat8 has not been defined




DecalGroup TAODbloodsplat_small
{
Blood 1
Blood2 1
BloodB 1
BloodC 1
BloodD 1
BloodE 1
BloodF 1
BloodG 1
BloodH 1
BloodI 1
BloodJ 1
BloodK 1
Bloodsplat1 1
Bloodsplat2 1
Bloodsplat3 1
Bloodsplat4 1
Bloodsplat5 1
Bloodsplat6 1
Bloodsplat7 1
Bloodsplat8 1
}

decal Bloodsplat1
{
pic BLHTA0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat2
{
pic BLHTB0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat3
{
pic BLHTC0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat4
{
pic BLHTD0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat5
{
pic BLHTE0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat6
{
pic BLHTF0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat7
{
pic BLHTG0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

decal Bloodsplat8
{
pic BLHTH0
shade "BloodDefault"
x-scale 3
y-scale 3
randomflipx
randomflipy
Translucent 1
}

please... :?
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Decaldef error

Post by Blue Shadow »

DELTAtheDboi005 wrote:Gzdoom says that bloodsplat8 has not been defined, even though it is...
Order matters in DECALDEF. So put the decal definition before you reference/use it.
Post Reply

Return to “Assets (and other stuff)”