DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл YieldsLandAnimals.c

См. исходные тексты.

Структуры данных

class  LandAnimalYieldItemBase
 
class  YieldItemDeadRabbit
 
class  YieldItemCapraHircusBase
 
class  YieldItemDeadChicken_White
 
class  YieldItemDeadChicken_Brown
 

Функции

LandAnimalYieldItemBase YieldItemBase YieldItemGenericSmallAnimal (int baseWeight, string type, int enviroMask, int methodMask)
 
YieldItemDeadRabbit LandAnimalYieldItemBase Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override float GetBaitTypeSensitivity (ECatchingBaitCategories type)
 
override string GetCatchDeathSoundset ()
 
override string GetCatchAINoise ()
 
override float GetCatchAINoiseBaseStrength ()
 

Функции

◆ GetBaitTypeSensitivity()

override float GetBaitTypeSensitivity ( ECatchingBaitCategories type)
78 {
79 switch (type)
80 {
81 case ECatchingBaitCategories.BAIT_TYPE_EMPTY:
82 case ECatchingBaitCategories.BAIT_TYPE_MUSHROOM:
83 case ECatchingBaitCategories.BAIT_TYPE_MEAT_SMALL:
84 case ECatchingBaitCategories.BAIT_TYPE_MEAT_LARGE:
85 return 1;
86
87 default:
88 return 0.0;
89 }
90
91 return super.GetBaitTypeSensitivity(type);
92 }
93
94 override string GetCatchDeathSoundset()
95 {
96 return "Red_Fox_Death_SoundSet";
97 }
98
override string GetCatchDeathSoundset()
Definition YieldsLandAnimals.c:100
Definition EntityAI.c:95

◆ GetCatchAINoise()

override string GetCatchAINoise ( )
105 {
106 return 1.0;
107 }
108}

◆ GetCatchAINoiseBaseStrength()

override float GetCatchAINoiseBaseStrength ( )
112{
113 override void Init()
YieldItemDeadRabbit LandAnimalYieldItemBase Init()
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside o...
Definition YieldsLandAnimals.c:68
Definition YieldsLandAnimals.c:1

◆ GetCatchDeathSoundset()

override string GetCatchDeathSoundset ( )
100 {
101 return "WolfRoarNoise";
102 }
103

◆ Init()

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

pre-init arrays

69 {
70 super.Init();
71
72 m_Type = "DeadFox";
75 }
int m_MethodMask
Definition CatchingContextBase.c:18
int m_EnviroMask
Definition CatchingContextBase.c:19
class DynamicMusicLocationTypes m_Type
Definition CatchingConstants.c:2
static const int MASK_METHOD_LANDTRAP_SNARE
Definition CatchingConstants.c:22
static const int MASK_ENVIRO_FOREST
Definition CatchingConstants.c:13

◆ YieldItemGenericSmallAnimal()

LandAnimalYieldItemBase YieldItemBase YieldItemGenericSmallAnimal ( int baseWeight,
string type,
int enviroMask,
int methodMask )
9 {
10 m_Type = type;
13 }