42 RegisterNetSyncVariableInt(
"m_CaptureState", 0,
eCaptureState.END);
43 RegisterNetSyncVariableInt(
"m_CreatureHash", 0, 0);
44 RegisterNetSyncVariableFloat(
"m_ParScale", 0, 0, 0.1);
45 RegisterNetSyncVariableBool(
"m_DangerSound");
46 RegisterNetSyncVariableInt(
"m_CaptureSoundHash", 0, 0);
47 RegisterNetSyncVariableInt(
"m_ReleaseSoundHash", 0, 0);
194 DecreaseHealth(
"",
"", GetMaxHealth() * 0.4);
212 if (!
GetGame().IsDedicatedServer())
239 if (!
GetGame().IsDedicatedServer())
260 PlaySoundSet(
m_CaptureSound,
"EasterEgg_Spawn_Danger_SoundSet", 0, 0);
342 soundSet =
"ZmbF_Normal_CallToArmsShort_Soundset";
344 soundSet =
"ZmbF_Normal_HeavyHit_Soundset";
348 soundSet =
"ZmbM_Normal_CallToArmsShort_Soundset";
350 soundSet =
"ZmbM_Normal_HeavyHit_Soundset";
354 soundSet =
"BearRoarShort_SoundSet";
378 if (!
super.OnStoreLoad(
ctx, version))
void RegisterSoundSetMap()
EffectSound m_CreatureSound
void ResizeParticle(DayZCreatureAI capAnimal)
override void EOnTouch(IEntity other, int extra)
void ContactEvent(IEntity other, vector pos)
ref map< int, string > m_CreatureSoundMap
void Capture(DayZCreatureAI capAnimal)
const vector CAPTURE_VELOCITY
void PlaySFX(int releaseCase=eCaptureState.CAPTURE)
enum eCaptureState m_StoredCreature
const float PARTICLE_SCALE_MULT
EffectSound m_CaptureSound
bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity re...
void OnInventoryEnter(Man player)
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
void OnInventoryExit(Man player)
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a par...
override void EOnContact(IEntity other, Contact extra)
override int GetQuantityMax()
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
class JsonUndergroundAreaTriggerData GetPosition
do not process rotations !
Wrapper class for managing sound through SEffectManager.
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override void OnVariablesSynchronized()
override void OnStoreSave(ParamsWriteContext ctx)
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
Legacy way of using particles in the game.
void SetWiggle(float random_angle, float random_interval)
Makes the particle change direction by random_angle every random_interval seconds.
void SetParameter(int emitter, int parameter, float value)
Set the value of a parameter of an emitor in the particle.
void Stop()
Legacy function for backwards compatibility with 1.14 and below.
static const int EASTER_EGG_ACTIVATE
Serialization general interface. Serializer API works with:
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()
proto native void SetFlags(ShapeFlags flags)
EntityEvent
Entity events for event-mask, or throwing event from code.
proto native void SetVelocity(notnull IEntity ent, vector vel)
Sets linear velocity (for Rigid bodies)
proto native int Hash()
Returns hash of string.