Page 1 of 1

Something to do with Dynamic lights

Posted: Sat Oct 29, 2005 21:37
by mundungu
I've created a DECORATE object, a torch that hangs from a wall, as normal. Then after that I added:
[spoiler]flickerlight2 FLICKER2
{
color 1.0 1.0 1.0
size 96
secondarysize 192
interval 3
offset 0 0 0
}

object DungeonTorch
{
frame WTRH { light FLICKER2 }
}[/spoiler]
But GZdoom crashes with

Script error, "DECORATE" line 13:
Unknown game type FLICKER2



Line 13 is where "flickerlight2 FLICKER2" is, nothing else.
I'm guessing that information might have to go somewhere either than DECORATE? If not, what's wrong with this? I can't find anything other than this in the coumentation thread.

Posted: Sat Oct 29, 2005 21:43
by Graf Zahl
That code belongs in DOOMDEFS/HTICDEFS etc. (depending on the game it is for) not in DECORATE.

Posted: Sat Oct 29, 2005 22:49
by mundungu
Ahh. Should that be in the documentation?