Page 1 of 1

Decaldef error

Posted: Wed Jun 01, 2022 6:41 pm
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... :?

Re: Decaldef error

Posted: Wed Jun 01, 2022 10:02 pm
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.