Gez
Why don't I have a custom title by now?!
Posts: 7046
Registered: 07-07 |
Why do you copy the entire actor's code? Just make an actor that inherits from the first, with only the necessary changes, and that's all. If the decorate code for existing actors is given on the wiki, it's as reference and example, not for the purpose of being copied. What's the point? It's standard data. You don't need to give it to ZDoom, it's already in ZDoom.
So derive your actor from the existing ones, but stop copy/pasting from the wiki! That's not how you're supposed to do anything!
And never give your actors a name that already exists. Your pistol is named pistol, this creates a name conflict. Don't do that. It's a big source of problems and may lead to crash when loading saves, as the engine can be confused on which "pistol" you have, since two different actor classes have this name.
|