Add tags for monsters

Moderator: GZDoom Developers

Post Reply
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Add tags for monsters

Post by m8f »

Why? So mods that reveal enemy names don't show internal monster class names.

Tags are based on language.enu lump:

- Tags for Doom/Doom 2 monsters are referring directly to CC_* strings.
- Tags for Heretic monsters are based on obituaries.
- All tags match corresponding obituaries.

Pull request
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Add tags for monsters

Post by Rachael »

It's fairly standard for all internal strings to reference language strings, and this should not be any exception.

If the strings are not currently available, you can make them, and only English is required, but you can translate to your native language if it's available. You can use the prefix FN_* or something ("FriendlyName").
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Re: Add tags for monsters

Post by m8f »

Understood. For Doom monsters, should I create FN_* too, or referencing CC_* is okay?
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: Add tags for monsters

Post by Gez »

Create new.

I mean, you have mods that change the CC_ names for reasons and the result isn't always usable for the purpose you want. Try Ancient Aliens for example.

Code: Select all

CC_HERO = Alien?
CC_HEAVY = Illegal Alien
CC_CACO = Alien UFO
CC_PAIN = Alien :(
CC_HELL = Little Green Alien
CC_LOST = Alien Invader 
CC_REVEN = Gray Alien
CC_DEMON = Amphibian Alien
CC_IMP = An Alien
CC_ZOMBIE = A Alien
CC_SPIDER = Alien Queen
CC_MANCU = Alien Pastry Chef
CC_SHOTGUN = Alien Sympathizer
CC_ARACH = Robo-Alien
CC_ARCH = Reptilian Alien
CC_BARON = Big Green Alien
CC_CYBER = Xenu, Alien Emperor
Oh, and don't forget not all monsters appear in the cast anyway. No [wiki=Classes:Spectre]spectre[/wiki] for example. No [wiki=Classes:MBFHelperDog]dog[/wiki]. No [wiki]stealth monsters[/wiki] or [wiki=Classes:ScriptedMarine]scripted marines[/wiki] either.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)
Contact:

Re: Add tags for monsters

Post by m8f »

Okay, done. Tags are FN_* in language.enu.
I didn't add tags for stealth monsters because they inherit tags from their base classes. Scripted marines don't appear in IWADs.
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Add tags for monsters

Post by Rachael »

This one got added a while ago.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”