Page 1 of 1

gzdoom unknowm actor property in decoration?

Posted: Mon Oct 27, 2014 17:04
by doomexpert
i copy some flower sprites, png and doom format. png should work and is working for 1 actor sprite in decoration.
now im getting an error, unkown actor propery in decoration line that says: "actor" is an unknown actor property
i looked at the code that i copied, and is just fine.

IS THERE a limition about actors in gzdoom?

since is just a flower..the code is in decorate is

ACTOR ATRoses 10578
{
height 2
radius 8
+SOLID
scale 0.3
states
{
Spawn:
ROZ1 A -1
Stop
}
}

the sprite name is ROZ1A0, sprite format is PNG but doesnt matter, its still saying unknown actor when i convert the PNG to Graphic (doom)

Re: gzdoom unknowm actor property in decoration?

Posted: Mon Oct 27, 2014 19:37
by NeoHippo
Post your map.
That will help with troubleshooting.

Re: gzdoom unknowm actor property in decoration?

Posted: Mon Oct 27, 2014 19:51
by Graf Zahl
The error must be in a previous definition, most likely a missing brace.

Re: gzdoom unknowm actor property in decoration?

Posted: Tue Oct 28, 2014 18:52
by Gez
Yes, if it says "actor is an unknown property" it means it reaches the word "actor" while parsing an actor, so you didn't close the braces correctly in the previous definition.

Re: gzdoom unknowm actor property in decoration?

Posted: Tue Nov 04, 2014 17:43
by doomexpert
Gez wrote:Yes, if it says "actor is an unknown property" it means it reaches the word "actor" while parsing an actor, so you didn't close the braces correctly in the previous definition.
ok thank you, one of the previous decoration code didnt had a closed braces or not a correctly one, maybe i did not copy correctly.