[Not a bug] [Latest] DECORATE Error w/Strife Preset Translations

Bugs that have been investigated and resolved somehow.

Moderator: Developers

[Latest] DECORATE Error w/Strife Preset Translations

Postby Xaser » Sun May 20, 2012 11:46 pm

Strife includes several preset translations that are used for the peasants and acolytes, which can be referenced similar to Doom's via "Translation #", where # is the number of the preset translation to use. However, a game inconsistency occurs here: Strife has more preset translations than Doom, thus when attempting to load a wad that uses them in a non-Strife game, the engine aborts with a DECORATE error, stating that the translation is out of range (despite working perfectly if the IWAD is Strife).

See the attached test wad. It works fine in Strife (summon "GreenRebel" if you simply must), but attempting to load the same wad in Doom, Heretic, or any other supported game, will cause the engine to abort with the following message:

Code: Select allExpand view
Script error, "strifetran.wad:DECORATE" line 3:
Translation must be in the range [0,2]


strifetran.zip
Test wad: works if Strife is the IWAD, aborts if any other IWAD used.
(236 Bytes) Downloaded 16 times


This is a problem for cross-game wads, as it makes it impossible for them to use Strife's built-in translations.
User avatar
Xaser
secretly a supercomputer being a government
 
Joined: 20 Jul 2003
Location: .plɹoʍɹǝʌǝu.

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby ChronoSeth » Mon May 21, 2012 12:44 am

I don't think this is possible to "fix" without breaking other mods.
User avatar
ChronoSeth
You are totally unique... just like everyone else.
 
Joined: 05 Jul 2010

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Xaser » Mon May 21, 2012 12:59 am

Huh? How so?
User avatar
Xaser
secretly a supercomputer being a government
 
Joined: 20 Jul 2003
Location: .plɹoʍɹǝʌǝu.

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Graf Zahl » Mon May 21, 2012 1:48 am

Strife has more preset translations than the other games so it allows a greater parameter value here. This particular property is not portable between games.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Xaser » Mon May 21, 2012 3:08 am

Why shouldn't it be, though? It's a modding landmine for someone to step on.

If the solution is "Don't do this," then IMO translations above 2 should be restricted outside of zdoom.pk3 to prevent this sort of situation. That's not normally something I'd suggest, but the inconsistency seems wrong. Probably too late for that anyhow, though, if someone's made a mod using it. :?
User avatar
Xaser
secretly a supercomputer being a government
 
Joined: 20 Jul 2003
Location: .plɹoʍɹǝʌǝu.

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Graf Zahl » Mon May 21, 2012 4:04 am

These translations are available in Strife so limiting them makes no sense.

Using translations in cross-game mods makes even less sense because they depend on the palette and are therefore limited to one game only - and I see no point in breaking a legitimate feature just so that some mods that'd be broken anyway can start up without complaining.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Xaser » Mon May 21, 2012 3:07 pm

I was using them on modified Strife enemies. They wouldn't work in the other games anyway for virtue of not having sprites, much less a correct translation. This basically resulted in the situation in which Doom wouldn't start due to a problem with an actor Doom doesn't need.

At the very least, the wiki should be updated with a warning about this. The relevant page already provides the correct translation values for the presets so a viable alternative is there for modders to use once they encounter the disclaimer.
User avatar
Xaser
secretly a supercomputer being a government
 
Joined: 20 Jul 2003
Location: .plɹoʍɹǝʌǝu.

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Graf Zahl » Mon May 21, 2012 3:09 pm

Then change the Wiki. :P
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Xaser » Mon May 21, 2012 3:29 pm

Wiki changified. Luckily it's a really special-case scenario, it seems. ;)
User avatar
Xaser
secretly a supercomputer being a government
 
Joined: 20 Jul 2003
Location: .plɹoʍɹǝʌǝu.

Re: [Latest] DECORATE Error w/Strife Preset Translations

Postby Gez » Fri May 25, 2012 4:01 am

Shouldn't the preset translations be defined in MAPINFO/GameInfo anyway?
Gez
 
Joined: 06 Jul 2007


Return to Closed Bugs

Who is online

Users browsing this forum: esselfortium and 0 guests