Something to do with Dynamic lights

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
mundungu
Posts: 8
Joined: Sun Oct 16, 2005 17:31

Something to do with Dynamic lights

Post 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.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

That code belongs in DOOMDEFS/HTICDEFS etc. (depending on the game it is for) not in DECORATE.
User avatar
mundungu
Posts: 8
Joined: Sun Oct 16, 2005 17:31

Post by mundungu »

Ahh. Should that be in the documentation?
Locked

Return to “GZDoom”