Inheritance not working

I'm trying to make a custom DoomImp. I just recolored the sprites. But when I try to load the DECORATE file it says:


"Script error, "Cave Imp.wad:DECORATE" line 1:
Missing token (unexpected end of file)."


This is my DECORATE file:

ACTOR CaveImp : CaveImp replaces DoomImp {}

Can someone help me?

Share this post


Link to post

That: ACTOR CaveImp : CaveImp replaces DoomImp {}

certainly does not look right.
Inheriting from an undefined actor is not a good idea.

Try that: ACTOR CaveImp : DoomImp replaces DoomImp {}

I guess that you have made changes to DoomImp inside the brackets, to define CaveImp in some way.

Have a look through this:
http://forum.zdoom.org/viewtopic.php?p=310496#p310496

Share this post


Link to post

Thanks. That Helped me a lot. Now I have to change the ZombieMan sprites to the Imp ones.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now