Page 1 of 1

Add tags for monsters

Posted: Sun Jun 24, 2018 4:40 am
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

Re: Add tags for monsters

Posted: Sun Jun 24, 2018 5:34 am
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").

Re: Add tags for monsters

Posted: Sun Jun 24, 2018 6:02 am
by m8f
Understood. For Doom monsters, should I create FN_* too, or referencing CC_* is okay?

Re: Add tags for monsters

Posted: Sun Jun 24, 2018 7:55 am
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.

Re: Add tags for monsters

Posted: Sun Jun 24, 2018 8:25 am
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.

Re: Add tags for monsters

Posted: Mon Mar 04, 2019 12:56 pm
by Rachael
This one got added a while ago.