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.

Decaldef error

Postby DELTAtheDboi005 » Wed Jun 01, 2022 6:41 pm

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... :?
DELTAtheDboi005
 
Joined: 05 Apr 2022

Re: Decaldef error

Postby Blue Shadow » Wed Jun 01, 2022 10:02 pm

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.
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 0 guests