Dupe class renames break model definitions

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Dupe class renames break model definitions

Post by Rachael »

When this line appears: "Script warning, "xxxx.pk3':decorate/xxxx.txt" line x: Tried to define class 'xxxx' more than once, renaming class to 'xxxx@xxxx.pk3@decorate/xxxx.txt' - the models attached to the actors no longer function.

An example is loading Paranoid and Paranoic together. (I know Paranoic should be fixed since it's still in-dev but this more than likely will still break older models)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: Dupe class renames break model definitions

Post by Graf Zahl »

Not going to change. If this breaks some older mods, I can't change it. The duplicate class names create far more serious issues than a broken model definition and it has to be the later definition that gets renamed.

I can only stress that any mapper who ignores a warning during modding and later runs into problems for ignoring that warning deserves a slap on the wrist. If the engine puts out a warning it means that something is wrong with the mod that needs to be fixed, and it also means that eventually something in the engine can change that breaks the incorrect definition.

Return to “Closed Bugs”