[lights.pk3] Minor error in hexndefs.txt

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Player701
Posts: 14
Joined: Thu Sep 09, 2010 10:38
Contact:

[lights.pk3] Minor error in hexndefs.txt

Post by Player701 »

GL light definitions for ZFireBull and ZFireBullUnlit actors add light to FBULH sprite which doesn't have fire on it - it is shown in deactivated (unlit) state. This makes the object look like this:

[spoiler]Image[/spoiler]
Also, sprites FBULI and FBULJ are not lit up, although there's fire on them - they display in Active state.

So, this piece of code in hexndefs.txt

Code: Select all

object ZFireBull
{
    frame FBULA { light FIREBULL }
    frame FBULB { light FIREBULL }
    frame FBULC { light FIREBULL }
    frame FBULD { light FIREBULL }
    frame FBULE { light FIREBULL }
    frame FBULF { light FIREBULL }
    frame FBULG { light FIREBULL }
    frame FBULH { light FIREBULL }
}

object ZFireBullUnlit
{
    frame FBULA { light FIREBULL }
    frame FBULB { light FIREBULL }
    frame FBULC { light FIREBULL }
    frame FBULD { light FIREBULL }
    frame FBULE { light FIREBULL }
    frame FBULF { light FIREBULL }
    frame FBULG { light FIREBULL }
    frame FBULH { light FIREBULL }
}
needs to be:

Code: Select all

object ZFireBull
{
    frame FBULA { light FIREBULL }
    frame FBULB { light FIREBULL }
    frame FBULC { light FIREBULL }
    frame FBULD { light FIREBULL }
    frame FBULE { light FIREBULL }
    frame FBULF { light FIREBULL }
    frame FBULG { light FIREBULL }
    frame FBULI { light FIREBULL }
    frame FBULJ { light FIREBULL }
}

object ZFireBullUnlit
{
    frame FBULA { light FIREBULL }
    frame FBULB { light FIREBULL }
    frame FBULC { light FIREBULL }
    frame FBULD { light FIREBULL }
    frame FBULE { light FIREBULL }
    frame FBULF { light FIREBULL }
    frame FBULG { light FIREBULL }
    frame FBULI { light FIREBULL }
    frame FBULJ { light FIREBULL }
}
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

Re: [lights.pk3] Minor error in hexndefs.txt

Post by Edward-san »

Attached patch.
hexndef.txt
(743 Bytes) Downloaded 50 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [lights.pk3] Minor error in hexndefs.txt

Post by Graf Zahl »

fixed
Locked

Return to “Closed Bugs”