Skulltag actors compatability

Moderator: GZDoom Developers

Post Reply
User avatar
Akira_98
Posts: 213
Joined: Sun Jun 27, 2010 2:45 pm
Location: AC District 7

Skulltag actors compatability

Post by Akira_98 »

Since you can't replace classes that don't exist, would it be possible to add "empty" decorate definitions for some of Skulltag's actors? Like so:

Code: Select all

ACTOR <CLASS NAME> <DOOMED NUMBER>
{
}
This way, it's possible to replace Skulltag actors with new ones without breaking compatibility on (G)Zdoom. It would be much cleaner than having an extra wad/pk3/whatever to fix any errors that come up from replacing non-existent actors, or adding an empty definition into the modder's decorate. They would still have to define the entire actor again, but they would have to do that anyways if they were trying for compatibility.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Skulltag actors compatability

Post by Graf Zahl »

That doesn't sound like a smart idea. Since it is perfectly doable to load a Skulltag features add-on with ZDoom, such mods would suffer from it - and I won't do that.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Skulltag actors compatability

Post by Xaser »

It's not possible to load Skulltag mods in ZDoom if the 'replaces' keyword is used to replace a Skulltag actor, unless that has been changed recently.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Skulltag actors compatability

Post by Graf Zahl »

No, it hasn't. But if these actors are defined in a broken way in ZDoom other mods would suffer. In that case you are better off making your own dummy definitions and autoloading them instead of adding some useless crud to zdoom.pk3.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Skulltag actors compatability

Post by Xaser »

There's really not an elegant solution to this either way -- that method would throw up warnings in Skulltag, while trying to use thing # replacement (which is deprecated and not recommended anyway) will cause trouble as well.

Wouldn't adding such dummy definitions to a pWad cause them to replace Skulltag's actors anyway, since skulltag.pk3/wad is loaded first?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Skulltag actors compatability

Post by Gez »

The thing is that, unless you put Skulltag and ZDoom both in the same directory and use the hacky Skins folder method to autoload files, what is autoloaded by ZDoom and what is autoloaded by Skulltag are separate lists. One is in zdoom-user.ini, the other in skulltag-user.ini.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Skulltag actors compatability

Post by Graf Zahl »

The only way that won't cause problems is to duplicate the editor numbers and live with the warnings in Skulltag.
Everything else is just introducing needless stability issues.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Skulltag actors compatability

Post by Gez »

I guess a "replaces optional" thing could be added for such non-critical actors added by another port or mod or whatever, but how long would you have to wait before the relevant port updates to recognize the new keyword?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Skulltag actors compatability

Post by randi »

On top of that, how many replacement actors follow the pattern of "actor x : y replaces y"? If y is just a dummy definition, it's still going to be broken.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”