add tags for Doom and Heretic monsters

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.

(cherry picked from commit 97aba0c416)
This commit is contained in:
Alexander 2018-06-24 17:31:55 +07:00 committed by drfrag666
parent bf632cc31a
commit b64057b738
26 changed files with 67 additions and 0 deletions

View file

@ -598,6 +598,27 @@ CC_SPIDER = "THE SPIDER MASTERMIND";
CC_CYBER = "THE CYBERDEMON";
CC_HERO = "OUR HERO";
// Friendly names
FN_ZOMBIE = "Zombieman";
FN_SHOTGUN = "Sergeant";
FN_HEAVY = "Chaingunner";
FN_IMP = "Imp";
FN_DEMON = "Demon";
FN_SPECTRE = "Spectre";
FN_LOST = "Lost Soul";
FN_CACO = "Cacodemon";
FN_HELL = "Hell Knight";
FN_BARON = "Baron of Hell";
FN_ARACH = "Arachnotron";
FN_PAIN = "Pain Elemental";
FN_REVEN = "Revenant";
FN_MANCU = "Mancubus";
FN_ARCH = "Arch-vile";
FN_SPIDER = "Spider Mastermind";
FN_CYBER = "Cyberdemon";
FN_WOLFSS = "Nazi";
FN_DOG = "Dog";
// New strings from BOOM
PD_BLUEC = "You need a blue card to open this door";
PD_REDC = "You need a red card to open this door";
@ -1300,6 +1321,20 @@ TXT_IMTIME = "TIME";
RAVENQUITMSG = "ARE YOU SURE YOU WANT TO QUIT?";
// Friendly names
FN_CHICKEN = "Chicken";
FN_BEAST = "Weredragon";
FN_CLINK = "Sabreclaw";
FN_DSPARIL = "D'Sparil";
FN_HERETICIMP = "Gargoyle";
FN_IRONLICH = "Ironlich";
FN_BONEKNIGHT = "Undead Warrior";
FN_MINOTAUR = "Maulotaur";
FN_MUMMY = "Golem";
FN_MUMMYLEADER = "Nitrogolem";
FN_SNAKE = "Ophidian";
FN_WIZARD = "Wizard";
// Hexen strings
// Mana

View file

@ -21,6 +21,7 @@ class Arachnotron : Actor
DeathSound "baby/death";
ActiveSound "baby/active";
Obituary "$OB_BABY";
Tag "$FN_ARACH";
}
States
{

View file

@ -25,6 +25,7 @@ class Archvile : Actor
ActiveSound "vile/active";
MeleeSound "vile/stop";
Obituary "$OB_VILE";
Tag "$FN_ARCH";
}
States
{

View file

@ -22,6 +22,7 @@ class BaronOfHell : Actor
ActiveSound "baron/active";
Obituary "$OB_BARON";
HitObituary "$OB_BARONHIT";
Tag "$FN_BARON";
}
States
{
@ -72,6 +73,7 @@ class HellKnight : BaronOfHell
DeathSound "knight/death";
HitObituary "$OB_KNIGHTHIT";
Obituary "$OB_KNIGHT";
Tag "$FN_HELL";
}
States
{

View file

@ -21,6 +21,7 @@ class Cacodemon : Actor
ActiveSound "caco/active";
Obituary "$OB_CACO";
HitObituary "$OB_CACOHIT";
Tag "$FN_CACO";
}
States
{

View file

@ -27,6 +27,7 @@ class Cyberdemon : Actor
DeathSound "cyber/death";
ActiveSound "cyber/active";
Obituary "$OB_CYBORG";
Tag "$FN_CYBER";
}
States
{

View file

@ -21,6 +21,7 @@ class Demon : Actor
DeathSound "demon/death";
ActiveSound "demon/active";
Obituary "$OB_DEMONHIT";
Tag "$FN_DEMON";
}
States
{
@ -71,6 +72,7 @@ class Spectre : Demon
DeathSound "spectre/death";
ActiveSound "spectre/active";
HitObituary "$OB_SPECTREHIT";
Tag "$FN_SPECTRE";
}
}

View file

@ -21,6 +21,7 @@ class DoomImp : Actor
ActiveSound "imp/active";
HitObituary "$OB_IMPHIT";
Obituary "$OB_IMP";
Tag "$FN_IMP";
}
States
{

View file

@ -21,6 +21,7 @@ class Fatso : Actor
DeathSound "fatso/death";
ActiveSound "fatso/active";
Obituary "$OB_FATSO";
Tag "$FN_MANCU";
}
States
{

View file

@ -22,6 +22,7 @@ class LostSoul : Actor
ActiveSound "skull/active";
RenderStyle "SoulTrans";
Obituary "$OB_SKULL";
Tag "$FN_LOST";
}
States
{

View file

@ -20,6 +20,7 @@ class PainElemental : Actor
PainSound "pain/pain";
DeathSound "pain/death";
ActiveSound "pain/active";
Tag "$FN_PAIN";
}
States
{

View file

@ -21,6 +21,7 @@ class ZombieMan : Actor
DeathSound "grunt/death";
ActiveSound "grunt/active";
Obituary "$OB_ZOMBIE";
Tag "$FN_ZOMBIE";
DropItem "Clip";
}
States
@ -84,6 +85,7 @@ class ShotgunGuy : Actor
DeathSound "shotguy/death";
ActiveSound "shotguy/active";
Obituary "$OB_SHOTGUY";
Tag "$FN_SHOTGUN";
DropItem "Shotgun";
}
States
@ -147,6 +149,7 @@ class ChaingunGuy : Actor
ActiveSound "chainguy/active";
AttackSound "chainguy/attack";
Obituary "$OB_CHAINGUY";
Tag "$FN_HEAVY";
Dropitem "Chaingun";
}
States
@ -209,6 +212,7 @@ class WolfensteinSS : Actor
ActiveSound "wolfss/active";
AttackSound "wolfss/attack";
Obituary "$OB_WOLFSS";
Tag "$FN_WOLFSS";
Dropitem "Clip";
}
States

View file

@ -24,6 +24,7 @@ class Revenant : Actor
MeleeSound "skeleton/melee";
HitObituary "$OB_UNDEADHIT";
Obituary "$OB_UNDEAD";
Tag "$FN_REVEN";
}
States
{

View file

@ -26,6 +26,7 @@ class SpiderMastermind : Actor
DeathSound "spider/death";
ActiveSound "spider/active";
Obituary "$OB_SPIDER";
Tag "$FN_SPIDER";
}
States
{

View file

@ -19,6 +19,7 @@ class Beast : Actor
DeathSound "beast/death";
ActiveSound "beast/active";
Obituary "$OB_BEAST";
Tag "$FN_BEAST";
DropItem "CrossbowAmmo", 84, 10;
}
States

View file

@ -256,6 +256,7 @@ class Chicken : MorphedMonster
DeathSound "chicken/death";
ActiveSound "chicken/active";
Obituary "$OB_CHICKEN";
Tag "$FN_CHICKEN";
}
States
{

View file

@ -17,6 +17,7 @@ class Clink : Actor
DeathSound "clink/death";
ActiveSound "clink/active";
Obituary "$OB_CLINK";
Tag "$FN_CLINK";
DropItem "SkullRodAmmo", 84, 20;
}
States

View file

@ -36,6 +36,7 @@ class Sorcerer1 : Actor
ActiveSound "dsparilserpent/active";
Obituary "$OB_DSPARIL1";
HitObituary "$OB_DSPARIL1HIT";
Tag "$FN_DSPARIL";
}
@ -237,6 +238,7 @@ class Sorcerer2 : Actor
ActiveSound "dsparil/active";
Obituary "$OB_DSPARIL2";
HitObituary "$OB_DSPARIL2HIT";
Tag "$FN_DSPARIL";
}

View file

@ -26,6 +26,7 @@ class HereticImp : Actor
ActiveSound "himp/active";
Obituary "$OB_HERETICIMP";
HitObituary "$OB_HERETICIMPHIT";
Tag "$FN_HERETICIMP";
}
States

View file

@ -23,6 +23,7 @@ class Ironlich : Actor
ActiveSound "ironlich/active";
Obituary "$OB_IRONLICH";
HitObituary "$OB_IRONLICHHIT";
Tag "$FN_IRONLICH";
DropItem "BlasterAmmo", 84, 10;
DropItem "ArtiEgg", 51, 0;
}

View file

@ -20,6 +20,7 @@ class Knight : Actor
ActiveSound "hknight/active";
Obituary "$OB_BONEKNIGHT";
HitObituary "$OB_BONEKNIGHTHIT";
Tag "$FN_BONEKNIGHT";
DropItem "CrossbowAmmo", 84, 5;
}

View file

@ -19,6 +19,7 @@ class Mummy : Actor
DeathSound "mummy/death";
ActiveSound "mummy/active";
HitObituary "$OB_MUMMY";
Tag "$FN_MUMMY";
DropItem "GoldWandAmmo", 84, 3;
}
States
@ -60,6 +61,7 @@ class MummyLeader : Mummy
Health 100;
Painchance 64;
Obituary "$OB_MUMMYLEADER";
Tag "$FN_MUMMYLEADER";
}
States
{

View file

@ -16,6 +16,7 @@ class Snake : Actor
DeathSound "snake/death";
ActiveSound "snake/active";
Obituary "$OB_SNAKE";
Tag "$FN_SNAKE";
DropItem "PhoenixRodAmmo", 84, 5;
}
States

View file

@ -22,6 +22,7 @@ class Wizard : Actor
ActiveSound "wizard/active";
Obituary "$OB_WIZARD";
HitObituary "$OB_WIZARDHIT";
Tag "$FN_WIZARD";
DropItem "BlasterAmmo", 84, 10;
DropItem "ArtiTomeOfPower", 4, 0;
}

View file

@ -30,6 +30,7 @@ class Minotaur : Actor
DropItem "PhoenixRodAmmo", 84, 10;
Obituary "$OB_MINOTAUR";
HitObituary "$OB_MINOTAURHIT";
Tag "$FN_MINOTAUR";
}
States

View file

@ -16,6 +16,7 @@ class MBFHelperDog : Actor
PainSound "dog/pain";
SeeSound "dog/sight";
Obituary "$OB_DOG";
Tag "$FN_DOG";
}
States
{