How do you reset a translation without an error message?

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

How do you reset a translation without an error message?

Postby Matt » Sat Oct 15, 2016 1:51 am

I've got an actor that inherits from an actor that has a custom translation, and I don't want that translation to affect the new actor.

I've tried:

translation none
translation ""
translation "none"

and they all give error messages in the console (while still having the intended effect of having no translation apply to that actor).

What is the "correct" way to do this, without completely restructuring the inheritance chain? Is there one?
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: How do you reset a translation without an error message?

Postby Greyfalll » Sat Oct 15, 2016 2:17 am

Translation "0:0=0:0" ?
User avatar
Greyfalll
It's almost harvesting season.
 
Joined: 31 Aug 2014
Location: Pokke Village

Re: How do you reset a translation without an error message?

Postby Graf Zahl » Sat Oct 15, 2016 2:45 am

This has never been considered so far. While Greyfall's suggestion appears to do the right thing, it actually creates a new identity translation instead of resetting it.
The correct solution should be 'translation "none"' but it needs to be implemented first.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How do you reset a translation without an error message?

Postby Graf Zahl » Sat Oct 15, 2016 2:52 am

... and done.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How do you reset a translation without an error message?

Postby Matt » Sun Oct 16, 2016 10:55 pm

Sweet, thanks!
User avatar
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia


Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 1 guest