TRNSLATE lump

Moderator: GZDoom Developers

User avatar
DoomKrakken
Posts: 3489
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: TRNSLATE lump

Post by DoomKrakken »

Ok, sweet! :D

I don't think the ZDoom wiki has been updated with the necessary info yet, so could you please tell me the names of those new ACS/DECORATE functions?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: TRNSLATE lump

Post by Graf Zahl »

ACS: SetTranslation(tid, translationname)
DECORATE: A_SetTranslation(translationname)
User avatar
DoomKrakken
Posts: 3489
Joined: Sun Oct 19, 2014 6:45 pm
Location: Plahnit Urff
Contact:

Re: TRNSLATE lump

Post by DoomKrakken »

Thanks! :D
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: TRNSLATE lump

Post by amv2k9 »

Niiiice. This will cut some steps out of some monster randomization stuff I made.
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: TRNSLATE lump

Post by Jimmy »

This is great news. Just one question: Can this be exposed to TEXTURES as well? Very please. :o
User avatar
Rachael
Posts: 13956
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: TRNSLATE lump

Post by Rachael »

With a barrel making that kind of face, it's hard to say no.
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: TRNSLATE lump

Post by Jimmy »

pweeeeeeeeeeease uncwe Gwaf
User avatar
Major Cooke
Posts: 8212
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: TRNSLATE lump

Post by Major Cooke »

Only curious, but how come?
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: TRNSLATE lump

Post by Jimmy »

As in, why might I find it useful?

http://pastebin.com/kRnJiYib

^ Basically.

That's the TEXTURES lump for this WAD of mine. There's about 2000 entries there and many of them are using identical translations. It's perhaps a weird/extreme way to create a texture resource, but it seemed a more reliable way than trying to duplicate and recolor stuff manually in the WAD itself with SLADE. And I kept losing my saved translation text files every time I moved machines/reinstalled SLADE, too. :(

Again, extreme example maybe, but hoooo boy would this be an appreciated addition. I'm sure it wouldn't be just me that gets use out of it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: TRNSLATE lump

Post by Graf Zahl »

At the moment it is not being exposed to TEXTURES. This may need a bit of refactoring because TEXTURES uses translations a bit differently than the rest of the engine.
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: TRNSLATE lump

Post by Jimmy »

I figured it wouldn't exactly be a "right away" thing... no worries.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: TRNSLATE lump

Post by Gez »

Jimmy wrote:And I kept losing my saved translation text files every time I moved machines/reinstalled SLADE, too. :(
By default they're stored on Windows in %APPDATA%\SLADE3\translations, but you get a standard Windows file dialog so you could save them anywhere you want.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: TRNSLATE lump

Post by NeuralStunner »

Does the Translation property support this as well?
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”