Add tag properties to Strife's enemies.

This commit is contained in:
nashmuhandes 2021-03-16 02:45:30 +08:00 committed by Christoph Oelckers
parent 1b3c67ee1f
commit 45c1cc8c08
12 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class AlienSpectre1 : SpectralMonster
MinMissileChance 150;
RenderStyle "Translucent";
Alpha 0.666;
Tag "$TAG_ALIENSPECTRE";
SeeSound "alienspectre/sight";
AttackSound "alienspectre/blade";
PainSound "alienspectre/pain";

View File

@ -21,6 +21,7 @@ class Crusader : Actor
MinMissileChance 120;
MaxDropoffHeight 32;
DropItem "EnergyPod", 256, 20;
Tag "$TAG_CRUSADER";
SeeSound "crusader/sight";
PainSound "crusader/pain";
DeathSound "crusader/death";

View File

@ -91,6 +91,7 @@ class EntityBoss : SpectralMonster
MinMissileChance 150;
RenderStyle "Translucent";
Alpha 0.5;
TAG "$TAG_ENTITY";
SeeSound "entity/sight";
AttackSound "entity/melee";
PainSound "entity/pain";

View File

@ -19,6 +19,7 @@ class Inquisitor : Actor
+NORADIUSDMG
MaxDropOffHeight 32;
MinMissileChance 150;
Tag "$TAG_INQUISITOR";
SeeSound "inquisitor/sight";
DeathSound "inquisitor/death";
ActiveSound "inquisitor/active";

View File

@ -44,6 +44,7 @@ class CeilingTurret : Actor
+NOSPLASHALERT
+DONTFALL
MinMissileChance 150;
Tag "$TAG_CEILINGTURRET";
DeathSound "turret/death";
}
States

View File

@ -19,6 +19,7 @@ class Peasant : StrifeHumanoid
MinMissileChance 150;
MaxStepHeight 16;
MaxDropoffHeight 32;
Tag "$TAG_PEASANT";
SeeSound "peasant/sight";
AttackSound "peasant/attack";
PainSound "peasant/pain";

View File

@ -25,6 +25,7 @@ class Programmer : Actor
+NOTARGETSWITCH
DamageFactor "Fire", 0.5;
MinMissileChance 150;
Tag "$TAG_PROGRAMMER";
AttackSound "programmer/attack";
PainSound "programmer/pain";
DeathSound "programmer/death";

View File

@ -14,6 +14,7 @@ class Reaver : Actor
MinMissileChance 150;
MaxDropoffHeight 32;
Mass 500;
Tag "$TAG_REAVER";
SeeSound "reaver/sight";
PainSound "reaver/pain";
DeathSound "reaver/death";

View File

@ -22,6 +22,7 @@ class Sentinel : Actor
+LOOKALLAROUND
+NEVERRESPAWN
MinMissileChance 150;
Tag "$TAG_SENTINEL";
SeeSound "sentinel/sight";
DeathSound "sentinel/death";
ActiveSound "sentinel/active";

View File

@ -20,6 +20,7 @@ class Stalker : Actor
+NOVERTICALMELEERANGE
MaxDropOffHeight 32;
MinMissileChance 150;
Tag "$TAG_STALKER";
SeeSound "stalker/sight";
AttackSound "stalker/attack";
PainSound "stalker/pain";

View File

@ -21,6 +21,7 @@ class StrifeBishop : Actor
DamageFactor "Fire", 0.5;
MinMissileChance 150;
MaxDropoffHeight 32;
Tag "$TAG_BISHOP";
SeeSound "bishop/sight";
PainSound "bishop/pain";
DeathSound "bishop/death";

View File

@ -19,6 +19,7 @@ class Zombie : StrifeHumanoid
MaxStepHeight 16;
MaxDropOffHeight 32;
Translation 0;
Tag "$TAG_STRIFEZOMBIE";
DeathSound "zombie/death";
CrushPainSound "misc/pcrush";
}