Add support for zombie animals

This adds support for zombie animals. Zombie textures are still needed. Some animals have hiddenselections so they can get a texture in-game from admins.
This commit is contained in:
AirwavesMan
2021-01-19 09:14:24 +01:00
parent 78861b3abf
commit 07500ed365
2 changed files with 73 additions and 1 deletions

View File

@@ -54,6 +54,13 @@ class Fin: CAAnimalBase {
fsmFormation = ""; fsmFormation = "";
}; };
class Dog_Zombie1: Pastor {
displayName = $STR_EPOCH_DOG_ZOMBIE;
};
class Dog_Zombie2: Fin {
displayName = $STR_EPOCH_DOG_ZOMBIE;
};
class Cow: CAAnimalBase class Cow: CAAnimalBase
{ {
scope = 0; scope = 0;
@@ -110,6 +117,16 @@ class Cow04: Cow01
displayName = "$STR_DN_COW04"; displayName = "$STR_DN_COW04";
hiddenSelectionsTextures[] = {"ca\animals2\cow\data\cow4_co.PAA"}; hiddenSelectionsTextures[] = {"ca\animals2\cow\data\cow4_co.PAA"};
}; };
class Cow_Zombie1: Cow01
{
displayName = $STR_EPOCH_COW_ZOMBIE;
hiddenSelectionsTextures[] = {"ca\animals2\cow\data\cow4_co.PAA"};
};
class Cow_Zombie2: Cow_Zombie1
{
hiddenSelectionsTextures[] = {"ca\animals2\cow\data\cow4_co.PAA"};
};
class Cow_Base_EP1 : Cow {}; class Cow_Base_EP1 : Cow {};
class Cow01_EP1 : Cow_Base_EP1 {}; class Cow01_EP1 : Cow_Base_EP1 {};
@@ -141,6 +158,11 @@ class Goat_Base_EP1 : Goat {};
class Goat01_EP1 : Goat_Base_EP1 {}; class Goat01_EP1 : Goat_Base_EP1 {};
class Goat02_EP1 : Goat01_EP1 {}; class Goat02_EP1 : Goat01_EP1 {};
class Goat_Zombie1 : Goat01_EP1 {
displayName = $STR_EPOCH_GOAT_ZOMBIE;
};
class Goat_Zombie2 : Goat_Zombie1 {};
class Rabbit: CAAnimalBase class Rabbit: CAAnimalBase
{ {
scope = 2; scope = 2;
@@ -175,6 +197,10 @@ class Rabbit: CAAnimalBase
}; };
}; };
class Rabbit_Zombie : Rabbit {
displayName = $STR_EPOCH_RABBIT_ZOMBIE;
};
class Sheep: CAAnimalBase class Sheep: CAAnimalBase
{ {
scope = 2; scope = 2;
@@ -203,6 +229,10 @@ class Sheep: CAAnimalBase
class Sheep_Base_EP1 : Sheep {}; class Sheep_Base_EP1 : Sheep {};
class Sheep01_EP1 : Sheep_Base_EP1 {}; class Sheep01_EP1 : Sheep_Base_EP1 {};
class Sheep02_EP1 : Sheep01_EP1 {}; class Sheep02_EP1 : Sheep01_EP1 {};
class Sheep_Zombie1 : Sheep01_EP1 {
displayName = $STR_EPOCH_SHEEP_ZOMBIE;
};
class Sheep_Zombie2 : Sheep_Zombie1 {};
class WildBoar: CAAnimalBase class WildBoar: CAAnimalBase
{ {
@@ -223,6 +253,16 @@ class WildBoar: CAAnimalBase
_sound3 = ""; _sound3 = "";
}; };
}; };
class WildBoar_Zombie : WildBoar {
displayName = $STR_EPOCH_BOAR_ZOMBIE;
};
class Hen : CAAnimalBase {}; class Hen : CAAnimalBase {};
class Hen_Zombie : Hen {
displayName = $STR_EPOCH_CHICKEN_ZOMBIE;
};
class Cock : Hen {}; class Cock : Hen {};
class Cock_Zombie : Cock {
displayName = $STR_EPOCH_COCK_ZOMBIE;
};

View File

@@ -33570,7 +33570,39 @@
<German>Eine Lagerkiste mit einem grünen Tarnetz.</German> <German>Eine Lagerkiste mit einem grünen Tarnetz.</German>
<Russian>Ящик для хранения с зелёной камуфляжной сетью.</Russian> <Russian>Ящик для хранения с зелёной камуфляжной сетью.</Russian>
</Key> </Key>
<Key ID="STR_EPOCH_COW_ZOMBIE">
<English>Zombified Cow</English>
<German>Zombifizierte Kuh</German>
</Key>
<Key ID="STR_EPOCH_GOAT_ZOMBIE">
<English>Zombified Goat</English>
<German>Zombifizierte Ziege</German>
</Key>
<Key ID="STR_EPOCH_SHEEP_ZOMBIE">
<English>Zombified Sheep</English>
<German>Zombifiziertes Schaf</German>
</Key>
<Key ID="STR_EPOCH_DOG_ZOMBIE">
<English>Zombified Dog</English>
<German>Zombifizierter Hund</German>
</Key>
<Key ID="STR_EPOCH_RABBIT_ZOMBIE">
<English>Zombified Rabbit</English>
<German>Zombifizierter Hase</German>
</Key>
<Key ID="STR_EPOCH_BOAR_ZOMBIE">
<English>Zombified Boar</English>
<German>Zombifiziertes Wildschwein</German>
</Key>
<Key ID="STR_EPOCH_COCK_ZOMBIE">
<English>Zombified Cock</English>
<German>Zombifizierter Hahn</German>
</Key>
<Key ID="STR_EPOCH_CHICKEN_ZOMBIE">
<English>Zombified Chicken</English>
<German>Zombifiziertes Huhn</German>
</Key>
<!--Fix for missing strings from the buildings3.pbo, this is just a placeholder--> <!--Fix for missing strings from the buildings3.pbo, this is just a placeholder-->
<Key ID="STR_FAL_Street_Sign"> <Key ID="STR_FAL_Street_Sign">
<English>Street Sign</English> <English>Street Sign</English>