DayZ 1.24
|
Static Protected Member Functions | |
static EWetnessLevel | GetWetLevelInternal (float wetness) |
Static Private Member Functions | |
static proto native Camera | GetCurrentCamera () |
Returns active Camera instance (note: player's camera is not Camera instance - thus it return null) | |
static proto native float | GetCurrentFOV () |
Returns FOV of current camera object. | |
static proto native void | InterpolateTo (Camera targetCamera, float time, int type) |
Interpolation between camera instances (current camera becomes targetCamera at the end of interpolation) | |
|
inlineprotected |
Definition at line 204 of file EntityAI.c.
|
inlineprotected |
to help with item staging exclusions
Definition at line 3347 of file EntityAI.c.
Definition at line 1973 of file EntityAI.c.
|
inlineprotected |
if we want to filter
Definition at line 3523 of file EntityAI.c.
|
inlineprotected |
if we want to filter propagation specifically; DO NOT override unless you know what you are doing.
Definition at line 3545 of file EntityAI.c.
|
inlineprotected |
Called when entity is being loaded from DB or Storage (after all children loaded)
Definition at line 1183 of file EntityAI.c.
|
inlineprotected |
Definition at line 863 of file EntityAI.c.
References ErrorEx, GetDestructionBehaviour(), and IsDestructionBehaviour().
|
inlineprotected |
Definition at line 1550 of file EntityAI.c.
|
inlineprotected |
Definition at line 1542 of file EntityAI.c.
Definition at line 662 of file EntityAI.c.
|
inlineprotected |
Definition at line 613 of file EntityAI.c.
|
inlineprotected |
Definition at line 1325 of file EntityAI.c.
|
inlineprotected |
Definition at line 1312 of file EntityAI.c.
Override this method so it checks whenever this item can be ignited right now or not. Evaluated on Server and Client.
Definition at line 423 of file EntityAI.c.
Definition at line 502 of file EntityAI.c.
Method which returns message why object can't be placed at given position.
Definition at line 508 of file EntityAI.c.
Definition at line 406 of file EntityAI.c.
|
inlineprotected |
Definition at line 537 of file EntityAI.c.
Definition at line 603 of file EntityAI.c.
References dBodyIsActive(), IsDamageDestroyed(), and EntityAI::IsMan().
|
inlineprotected |
Definition at line 1317 of file EntityAI.c.
|
inlineprotected |
calls this->CanDetachAttachment(parent)
Definition at line 1307 of file EntityAI.c.
|
inlineprotected |
Definition at line 1508 of file EntityAI.c.
References CanDisplayAttachmentSlot().
|
inlineprotected |
category_name->name | of the attachment category that will or won't be displayed |
Definition at line 1526 of file EntityAI.c.
Definition at line 1500 of file EntityAI.c.
References InventorySlots::GetShowForSlotId().
Definition at line 1490 of file EntityAI.c.
References InventorySlots::GetShowForSlotId(), InventorySlots::GetSlotIdFromString(), and Debug::LogWarning().
|
inlineprotected |
Definition at line 1534 of file EntityAI.c.
|
inlineprotected |
Returns if item can be dropped out from this entity.
Definition at line 1852 of file EntityAI.c.
Override this method and check if the given item can be ignited right now by this one. Evaluated on Server and Client.
Definition at line 429 of file EntityAI.c.
Definition at line 1259 of file EntityAI.c.
|
inlineprotected |
calls this->CanLoadItemIntoCargo(item), is called on server start when loading in the storage
Definition at line 1353 of file EntityAI.c.
|
inlineprotected |
calls this->CanPutAsAttachment(parent)
[in] | parent | target entity this is trying to attach to |
Definition at line 1271 of file EntityAI.c.
References IsHologram().
|
inlineprotected |
calls this->CanPutInCargo(parent)
Definition at line 1364 of file EntityAI.c.
References IsHologram().
|
inlineprotected |
calls this->CanPutIntoHands(parent)
Definition at line 1459 of file EntityAI.c.
References IsHologram().
calls this->CanReceiveAttachment(attachment)
Definition at line 1236 of file EntityAI.c.
|
inlineprotected |
calls this->CanReceiveItemIntoCargo(item)
Definition at line 1339 of file EntityAI.c.
|
inlineprotected |
calls this->CanReceiveItemIntoHands(item_to_hands)
Definition at line 1433 of file EntityAI.c.
|
inlineprotected |
calls this->CanReleaseAttachment(attachment)
Definition at line 1287 of file EntityAI.c.
|
inlineprotected |
calls this->CanReleaseCargo(cargo)
Definition at line 1389 of file EntityAI.c.
|
inlineprotected |
calls this->CanReleaseFromHands(handheld)
Definition at line 1470 of file EntityAI.c.
|
inlineprotected |
calls this->CanRemoveFromCargo(parent)
Definition at line 1400 of file EntityAI.c.
|
inlineprotected |
calls this->CanRemoveFromHands(parent)
Definition at line 1481 of file EntityAI.c.
Definition at line 1448 of file EntityAI.c.
|
inlineprotected |
Definition at line 1891 of file EntityAI.c.
calls this->CanSwapItemInCargo(child_entity, new_entity)
Definition at line 1375 of file EntityAI.c.
Definition at line 1277 of file EntityAI.c.
Definition at line 2850 of file EntityAI.c.
|
inlineprotected |
Definition at line 2851 of file EntityAI.c.
|
inlineprotected |
Definition at line 3501 of file EntityAI.c.
|
inlineprotected |
special propagation contition
Definition at line 3529 of file EntityAI.c.
References InventorySlots::INVALID.
|
inlineprotected |
Definition at line 681 of file EntityAI.c.
References CALL_CATEGORY_SYSTEM, GetGame(), and IsPrepareToDelete().
Definition at line 3393 of file EntityAI.c.
|
protected |
|
inlineprotected |
|
inlineprotected |
Definition at line 2578 of file EntityAI.c.
Definition at line 1330 of file EntityAI.c.
DEPRECATED - for legacy purposes.
Definition at line 355 of file EntityAI.c.
|
inlineprotected |
Definition at line 349 of file EntityAI.c.
CreateComponent.
Definition at line 229 of file EntityAI.c.
|
inlineprotected |
Definition at line 912 of file EntityAI.c.
References ECE_OBJECT_SWAP, GetDeadItemName(), GetGame(), GetOrientation(), GetPosition, KeepHealthOnReplace(), and RF_ORIGINAL.
|
inlineprotected |
Definition at line 2364 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
|
inlineprotected |
Definition at line 2354 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
Definition at line 2359 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
|
inlineprotected |
Definition at line 2379 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
Definition at line 2369 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
Definition at line 2374 of file EntityAI.c.
References COMP_TYPE_ETITY_DEBUG.
|
inlineprotected |
Delete this object in next frame.
void
Definition at line 626 of file EntityAI.c.
|
inlineprotected |
Definition at line 632 of file EntityAI.c.
References CALL_CATEGORY_SYSTEM, and GetGame().
|
inlineprotected |
Definition at line 638 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Definition at line 652 of file EntityAI.c.
|
inlineprotected |
Definition at line 443 of file EntityAI.c.
|
inlineprotected |
Do the roof check when placing this?
Definition at line 514 of file EntityAI.c.
|
inlineprotected |
Definition at line 840 of file EntityAI.c.
Definition at line 1006 of file EntityAI.c.
Definition at line 1026 of file EntityAI.c.
Definition at line 1016 of file EntityAI.c.
Called right before object deleting.
Definition at line 769 of file EntityAI.c.
References ComponentEnergyManager::OnDeviceDestroyed().
Definition at line 845 of file EntityAI.c.
References OnDamageDestroyed(), and GameConstants::STATE_RUINED.
|
inlineprotected |
Definition at line 927 of file EntityAI.c.
References component.
|
inlineprotected |
Definition at line 937 of file EntityAI.c.
|
inlineprotected |
Called upon object creation.
Definition at line 744 of file EntityAI.c.
Definition at line 829 of file EntityAI.c.
Definition at line 832 of file EntityAI.c.
Definition at line 943 of file EntityAI.c.
References COMP_TYPE_COUNT, InventorySlots::GetSlotIdFromString(), and ComponentEnergyManager::OnAttachmentAdded().
Definition at line 976 of file EntityAI.c.
References COMP_TYPE_COUNT, InventorySlots::GetSlotIdFromString(), and ComponentEnergyManager::OnAttachmentRemoved().
|
inlineprotected |
Definition at line 793 of file EntityAI.c.
References Error(), OnItemAttachmentSlotChanged(), OnItemLocationChanged(), OnWasAttached(), and OnWasDetached().
called on server when the entity is killed
Definition at line 886 of file EntityAI.c.
References CALL_CATEGORY_SYSTEM, GetGame(), and ReplaceOnDeath().
|
inlineprotected |
Called when entity is part of "connected system" and being restored after load.
Definition at line 1145 of file EntityAI.c.
References ComponentEnergyManager::GetEnergySourceStorageIDb1(), ComponentEnergyManager::GetEnergySourceStorageIDb2(), ComponentEnergyManager::GetEnergySourceStorageIDb3(), ComponentEnergyManager::GetEnergySourceStorageIDb4(), GetGame(), ComponentEnergyManager::GetRestorePlugState(), and ComponentEnergyManager::PlugThisInto().
|
inlineprotected |
Called when entity is being created as new by CE/ Debug.
Definition at line 1178 of file EntityAI.c.
Called from 'IEntity.RemoveChild' or 'IEntity.AddChild' when hierarchy changes.
Definition at line 825 of file EntityAI.c.
|
inlineprotected |
Definition at line 166 of file EntityAI.c.
References CALL_CATEGORY_SYSTEM, COMP_TYPE_ENERGY_MANAGER, GetGame(), and GetType().
Definition at line 2313 of file EntityAI.c.
References COMP_TYPE_COUNT.
Definition at line 1596 of file EntityAI.c.
References GetGame(), InventorySlots::GetSlotIdFromString(), and InventorySlots::INVALID.
|
inlineprotected |
Definition at line 565 of file EntityAI.c.
|
inlineprotected |
Definition at line 3555 of file EntityAI.c.
Get attached entity by config type name.
Definition at line 1839 of file EntityAI.c.
Get attached entity by type.
Definition at line 1825 of file EntityAI.c.
Slot-specific, children (attachments), and additional (state etc.) masks combined.
Definition at line 3413 of file EntityAI.c.
Mask value coming from the item's attachments.
Definition at line 3438 of file EntityAI.c.
Global mask value, independent of slot-specific behavior!
Definition at line 3432 of file EntityAI.c.
Specific slot behavior.
Definition at line 3426 of file EntityAI.c.
|
inlineprotected |
returns sound type of attachment (used for clothing and weapons on DayZPlayerImplement, paired with Anim*Type enum from DayZAnimEvents)
Definition at line 2827 of file EntityAI.c.
Definition at line 560 of file EntityAI.c.
Definition at line 555 of file EntityAI.c.
|
inlineprotected |
Definition at line 2975 of file EntityAI.c.
|
inlineprotected |
Definition at line 2979 of file EntityAI.c.
|
inlineprotected |
Use this to access Body Staging component on dead character. Returns NULL if the given object lacks such component.
Definition at line 2429 of file EntityAI.c.
References COMP_TYPE_BODY_STAGING.
|
inlineprotected |
energy manager ENERGY MANAGER:Documentation: Confluence >> Camping & Squatting >> Electricity >> Energy Manager functionalities Use this to access Energy Manager component on your device. Returns NULL if the given object lacks such component.
Definition at line 2439 of file EntityAI.c.
References COMP_TYPE_ENERGY_MANAGER.
GetComponent.
Definition at line 235 of file EntityAI.c.
|
inlineprotected |
Definition at line 2557 of file EntityAI.c.
Returns FOV of current camera object.
FOV
of current camera object
|
inlineprotected |
Definition at line 902 of file EntityAI.c.
|
inlineprotected |
Definition at line 2658 of file EntityAI.c.
References SAT_DEBUG_ACTION.
|
inlineprotected |
Definition at line 2349 of file EntityAI.c.
|
inlineprotected |
Definition at line 2325 of file EntityAI.c.
|
inlineprotected |
returns default hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
returns Global so it is obvious you need to configure that properly on entity
Definition at line 2794 of file EntityAI.c.
References GetType(), and Debug::LogError().
|
inlineprotected |
Definition at line 2814 of file EntityAI.c.
References GetType(), Debug::LogError(), and vector::Zero.
|
inlineprotected |
returns default hit position component name for the Entity (overriden by type if needed - used mainly as support for impact particles)
Definition at line 2802 of file EntityAI.c.
References GetType(), and Debug::LogError().
|
inlineprivate |
Definition at line 249 of file EntityAI.c.
|
protected |
Get economy item profile (if assigned, otherwise null)
Definition at line 365 of file EntityAI.c.
|
inlineprotected |
Definition at line 360 of file EntityAI.c.
Returns index of the string found in cfg array 'hiddenSelections'. If it's not found then it returns -1.
Definition at line 2004 of file EntityAI.c.
|
inlineprotected |
Returns the hiddenSelectionsTextures array from the object's config.
Definition at line 2013 of file EntityAI.c.
|
inlineprotected |
Definition at line 1998 of file EntityAI.c.
|
inlineprotected |
Returns the hiddenSelectionsMaterials array from the object's config.
Definition at line 2031 of file EntityAI.c.
|
inlineprotected |
Returns the hiddenSelectionsTextures array from the object's config.
Definition at line 2022 of file EntityAI.c.
|
inlineprotected |
should the item's icon be hidden in any part of the inventory?
Definition at line 220 of file EntityAI.c.
Definition at line 730 of file EntityAI.c.
Returns direct parent of current entity.
Returns root of current hierarchy (for example: if this entity is in Backpack on gnd, returns Backpack)
Returns root of current hierarchy cast to Man.
|
inlineprotected |
Returns hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
returns Global so it is obvious you need to configure that properly on entity
Definition at line 2786 of file EntityAI.c.
References GetType(), and Debug::LogError().
|
protected |
Definition at line 2601 of file EntityAI.c.
|
inlineprotected |
Definition at line 3093 of file EntityAI.c.
|
inlineprotected |
Definition at line 2947 of file EntityAI.c.
Get max economy lifetime per instance - default is from DB (seconds)
|
inlineprotected |
Returns liquid throughput coeficient.
Definition at line 2942 of file EntityAI.c.
References LIQUID_THROUGHPUT_DEFAULT.
|
inlineprotected |
|
inlineprotected |
Definition at line 1103 of file EntityAI.c.
|
inlineprotected |
Definition at line 1096 of file EntityAI.c.
|
inlineprotected |
Definition at line 1110 of file EntityAI.c.
|
inlineprotected |
Definition at line 1047 of file EntityAI.c.
|
inlineprotected |
Definition at line 1033 of file EntityAI.c.
|
inlineprotected |
Definition at line 1040 of file EntityAI.c.
|
inlineprotected |
Definition at line 1068 of file EntityAI.c.
|
inlineprotected |
Definition at line 1061 of file EntityAI.c.
|
inlineprotected |
Definition at line 1054 of file EntityAI.c.
|
inlineprotected |
Definition at line 1117 of file EntityAI.c.
|
inlineprotected |
Definition at line 1089 of file EntityAI.c.
|
inlineprotected |
Definition at line 1082 of file EntityAI.c.
|
inlineprotected |
Definition at line 1075 of file EntityAI.c.
|
protected |
Returns blocks of bits of persistence id of this entity. This id stays the same even after server restart.
|
inlineprotected |
Definition at line 1948 of file EntityAI.c.
|
inlineprotected |
Definition at line 1953 of file EntityAI.c.
|
inlineprotected |
Definition at line 1965 of file EntityAI.c.
|
protected |
Remotely controlled devices helpers.
|
inlineprotected |
Definition at line 2656 of file EntityAI.c.
|
inlineprotected |
Definition at line 1588 of file EntityAI.c.
Definition at line 2808 of file EntityAI.c.
References GetType(), and Debug::LogError().
Definition at line 1960 of file EntityAI.c.
|
inlineprotected |
Definition at line 1976 of file EntityAI.c.
|
inlineprotected |
Definition at line 1981 of file EntityAI.c.
|
inlineprotected |
Definition at line 1991 of file EntityAI.c.
|
inlineprotected |
Definition at line 1986 of file EntityAI.c.
|
inlineprotected |
Definition at line 3110 of file EntityAI.c.
|
inlineprotected |
Definition at line 3120 of file EntityAI.c.
References GetPosition.
|
inlineprotected |
Returns item preview index !!!! IF OVERRIDING with more dynamic events call GetOnViewIndexChanged() in constructor on client !!!!
Definition at line 2740 of file EntityAI.c.
|
inlineprotected |
Definition at line 2573 of file EntityAI.c.
returns overall weight of the entity, 'forceRecalc = true' is meant to be used only when debugging, using it in gameplay code is higly inadvisable as it bypasses the weight caching and has adverse effect on performance
Definition at line 2632 of file EntityAI.c.
References DumpStack(), GetWeightSpecialized(), and Print().
returns weight of the entity in a way that's specific to the entity type and is internal to the weight system calculation, to obtain entity's weight, use the 'GetWeightEx' method instead
Definition at line 2625 of file EntityAI.c.
|
inlineprotected |
Definition at line 1902 of file EntityAI.c.
|
inlineprotected |
Definition at line 1917 of file EntityAI.c.
|
protected |
|
inlinestaticprotected |
Definition at line 1934 of file EntityAI.c.
References GameConstants::STATE_DAMP, GameConstants::STATE_DRENCHED, GameConstants::STATE_SOAKING_WET, and GameConstants::STATE_WET.
|
inlineprotected |
Definition at line 1907 of file EntityAI.c.
|
inlineprotected |
Definition at line 1912 of file EntityAI.c.
|
inlineprotected |
Definition at line 2552 of file EntityAI.c.
References GetWetLevel(), and CfgGameplayHandler::GetWetnessWeightModifiers().
|
inlineprotected |
is this container empty or not, checks only cargo
Definition at line 543 of file EntityAI.c.
|
inlineprotected |
Definition at line 2974 of file EntityAI.c.
|
inlineprotected |
Definition at line 2978 of file EntityAI.c.
|
inlineprotected |
If this item has class EnergyManager in its config then it returns true. Otherwise returns false.
Definition at line 2450 of file EntityAI.c.
References COMP_TYPE_ENERGY_MANAGER.
|
inlineprotected |
Override this method to return TRUE when this item has or can provide fire. Evaluated on server and client.
Definition at line 417 of file EntityAI.c.
checks if any attachment or item state would interfere with this being attached into a different slot (Headgear -> Mask)
Definition at line 3444 of file EntityAI.c.
|
protected |
Turnable Valve behaviour.
|
inlineprotected |
|
inlineprotected |
used as script-side override of distance for specific height checks
Definition at line 520 of file EntityAI.c.
|
inlineprotected |
used as script-side override of start pos for specific height checks
Definition at line 526 of file EntityAI.c.
|
inlineprotected |
Sets all animation values to 1, making them INVISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
Definition at line 1195 of file EntityAI.c.
Hides selection of the given name. Must be configed in config.cpp and models.cfg.
Definition at line 2385 of file EntityAI.c.
|
inlineprotected |
Definition at line 1558 of file EntityAI.c.
References GetGame().
Reset economy lifetime to default (seconds)
|
inlineprotected |
Reset economy lifetime to default across entity hierarchy all the way to the topmost entity.
Definition at line 2419 of file EntityAI.c.
|
inlineprivate |
Definition at line 3150 of file EntityAI.c.
|
inlineprivate |
Initialize map of damage zone display names for more optimized retrieval.
Definition at line 310 of file EntityAI.c.
References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, string::Format(), GetGame(), GetType(), and path.
|
inlineprivate |
Initializes script-side map of damage zones and their components (named selections in models)
Definition at line 303 of file EntityAI.c.
|
protected |
override to init part of the mask, independent of slot-specific behavior
|
inlineprivate |
map stored on instance to better respond to various state changes
Definition at line 3167 of file EntityAI.c.
References InventorySlots::INVALID.
|
inlineprotected |
Definition at line 3189 of file EntityAI.c.
|
inlineprotected |
Definition at line 3201 of file EntityAI.c.
|
inlineprotected |
Definition at line 3280 of file EntityAI.c.
|
inlineprotected |
adding base one-directional relations between headgear, masks, eyewear, and headstraps (exception)
Definition at line 3227 of file EntityAI.c.
|
staticprivate |
Interpolation between camera instances (current camera becomes targetCamera at the end of interpolation)
targetCamera | to which camera we want to interpolate |
time | true interpolation time |
type | 0 = without dynamics 1 = first half - acceleration, second half deceleration 2 = first third - acceleration, second third - linear movement, last third - deceleration |
Is this camera active?
true
if this camera is active
|
inlineprotected |
Definition at line 583 of file EntityAI.c.
|
inlineprotected |
Definition at line 448 of file EntityAI.c.
|
inlineprotected |
Definition at line 1438 of file EntityAI.c.
|
inlineprivate |
Definition at line 254 of file EntityAI.c.
|
inlineprotected |
is this container empty or not, checks both cargo and attachments
Definition at line 532 of file EntityAI.c.
Definition at line 571 of file EntityAI.c.
checks 'this' if the incoming flag is present for the current state (slot behavior and others)
Definition at line 3464 of file EntityAI.c.
References slotName.
Gets flag from what is effectively an owner.
Definition at line 3481 of file EntityAI.c.
|
inlineprotected |
returns item behaviour of item (more in ItemBase)
Definition at line 2833 of file EntityAI.c.
Definition at line 1443 of file EntityAI.c.
|
inlineprotected |
Override this method and make it so it returns whenever this item is on fire right now or not. Evaluated on Server and Client.
Definition at line 435 of file EntityAI.c.
References ComponentEnergyManager::IsWorking().
|
inlineprotected |
Definition at line 598 of file EntityAI.c.
References IsDamageDestroyed().
|
inlineprotected |
Definition at line 214 of file EntityAI.c.
References m_Initialized.
|
inlineprotected |
|
inlineprotected |
Definition at line 1610 of file EntityAI.c.
|
inlineprotected |
Definition at line 3550 of file EntityAI.c.
|
inlineprotected |
returns item behaviour of item (more in ItemBase)
Definition at line 2839 of file EntityAI.c.
|
inlineprotected |
Definition at line 578 of file EntityAI.c.
|
inlineprotected |
Definition at line 675 of file EntityAI.c.
|
inlineprotected |
Definition at line 687 of file EntityAI.c.
|
inlineprivate |
Definition at line 286 of file EntityAI.c.
|
inlineprotected |
Definition at line 657 of file EntityAI.c.
References IsPendingDeletion().
|
inlineprotected |
Skinning.
Definition at line 395 of file EntityAI.c.
|
inlineprotected |
Definition at line 1579 of file EntityAI.c.
Final evaluation just before the target item is actually ignited. Evaluated on Server.
Definition at line 484 of file EntityAI.c.
Final evaluation just before this item is actually ignited from fire source. Evaluated on Server.
Definition at line 490 of file EntityAI.c.
|
inlineprotected |
returns item behaviour of item (more in ItemBase)
Definition at line 2845 of file EntityAI.c.
|
inlineprotected |
Universal Temperature Sources Helpers.
Definition at line 3105 of file EntityAI.c.
|
inlineprotected |
Definition at line 588 of file EntityAI.c.
|
inlineprotected |
Definition at line 593 of file EntityAI.c.
|
inlineprotected |
Definition at line 907 of file EntityAI.c.
Definition at line 1812 of file EntityAI.c.
Definition at line 1798 of file EntityAI.c.
Definition at line 1731 of file EntityAI.c.
Definition at line 1667 of file EntityAI.c.
|
inlineprotected |
Definition at line 1701 of file EntityAI.c.
|
inlineprotected |
Definition at line 1634 of file EntityAI.c.
|
inlineprotected |
Definition at line 1763 of file EntityAI.c.
|
inlineprotected |
Definition at line 1747 of file EntityAI.c.
|
inlineprotected |
Definition at line 1683 of file EntityAI.c.
|
inlineprotected |
Definition at line 1713 of file EntityAI.c.
|
inlineprotected |
Definition at line 1649 of file EntityAI.c.
|
inlineprotected |
Definition at line 1779 of file EntityAI.c.
Log.
Definition at line 377 of file EntityAI.c.
References GetType(), and Debug::Log().
LogWarning.
Definition at line 383 of file EntityAI.c.
References GetType(), and Debug::LogWarning().
Orientation change by lookAt point.
targetPos | where to look at |
|
inlineprivate |
Calculates if the max lifetime is higher than refresher frequency (i.e. gets kept alive by refresher)
Definition at line 269 of file EntityAI.c.
References GetCEApi(), GetGame(), and GameConstants::REFRESHER_FREQUENCY_DEFAULT.
|
inlineprotected |
Definition at line 2669 of file EntityAI.c.
References GetSingleInventoryItemWeightEx(), GetType(), Debug::Log(), and ToString().
Called when some attachment of this parent is ruined. Called on server and client side.
Definition at line 922 of file EntityAI.c.
|
protected |
|
inlineprotected |
Called when an item fails to get loaded into the inventory of an entity and gets dropped.
Definition at line 1188 of file EntityAI.c.
|
inlineprotected |
Definition at line 1577 of file EntityAI.c.
|
inlineprotected |
Central economy calls this function whenever going over all the entities.
Definition at line 2865 of file EntityAI.c.
References GetGame().
Called when the health gets to the min value, 'oldLevel' is previous health level, 'oldLevel' -1 means this entity was just spawned.
Definition at line 2350 of file EntityAI.c.
Definition at line 2351 of file EntityAI.c.
|
inlineprotected |
Definition at line 2880 of file EntityAI.c.
References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, GetGame(), path, and x.
|
inlineprotected |
Definition at line 2875 of file EntityAI.c.
References OnDebugSpawn.
|
inlineprotected |
Energy manager event: Called when energy was added on this device. ALWAYS CALL super.OnEnergyAdded() !!!
Definition at line 2491 of file EntityAI.c.
|
inlineprotected |
Energy manager event: Called when energy was consumed on this device. ALWAYS CALL super.OnEnergyConsumed() !!!
Definition at line 2488 of file EntityAI.c.
|
inlineprotected |
Definition at line 778 of file EntityAI.c.
References g_Game.
|
protected |
Executed on Server when this item ignites some target item.
Definition at line 460 of file EntityAI.c.
Executed on Server when this item failed to ignite target item.
Definition at line 472 of file EntityAI.c.
Executed on Server when some item ignited this one.
Definition at line 466 of file EntityAI.c.
Executed on Server when some item failed to ignite this one.
Definition at line 478 of file EntityAI.c.
|
inlineprotected |
Energy manager event: Object's initialization. Energy Manager is fully initialized by this point.
Definition at line 2485 of file EntityAI.c.
|
inlineprotected |
Definition at line 738 of file EntityAI.c.
Energy manager event: Called when this device is plugged into some energy source.
Definition at line 2473 of file EntityAI.c.
Energy manager event: Called when this device is UNPLUGGED from the energy source.
Definition at line 2476 of file EntityAI.c.
|
inlineprotected |
Definition at line 791 of file EntityAI.c.
Definition at line 789 of file EntityAI.c.
Called when this item enters cargo of some container.
Definition at line 1126 of file EntityAI.c.
References ComponentEnergyManager::HandleMoveInsideCargo().
Called when this item moves within cargo of some container.
Definition at line 1139 of file EntityAI.c.
Energy manager event: When something is UNPLUGGED from this device.
Definition at line 2482 of file EntityAI.c.
Energy manager event: When something is plugged into this device.
Definition at line 2479 of file EntityAI.c.
|
protected |
|
protected |
|
protected |
Called when this item exits cargo of some container.
Definition at line 1133 of file EntityAI.c.
|
inlineprotected |
Definition at line 2494 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Called when data is loaded from persistence (on server side).
Definition at line 2192 of file EntityAI.c.
References ComponentEnergyManager::RestorePlugState(), ComponentEnergyManager::SetEnergy(), ComponentEnergyManager::SetPassiveState(), ComponentEnergyManager::StoreEnergySourceIDs(), and ComponentEnergyManager::SwitchOn().
|
inlineprotected |
Engine calls this function to collect data from entity to store for persistence (on server side).
Definition at line 2133 of file EntityAI.c.
References ComponentEnergyManager::GetEnergy(), ComponentEnergyManager::GetEnergySource(), ComponentEnergyManager::IsPassive(), ComponentEnergyManager::IsPlugged(), and ComponentEnergyManager::IsSwitchedOn().
|
inlineprotected |
Energy manager event: Called when the device is switched OFF.
Definition at line 2470 of file EntityAI.c.
|
inlineprotected |
Energy manager event: Called when the device is switched on.
Definition at line 2467 of file EntityAI.c.
|
inlineprotected |
Called on clients after receiving synchronization data from server.
Definition at line 2268 of file EntityAI.c.
References ComponentEnergyManager::DeviceUpdate(), Error(), ComponentEnergyManager::GetEnergySourceNetworkIDHigh(), ComponentEnergyManager::GetEnergySourceNetworkIDLow(), GetGame(), ComponentEnergyManager::GetPreviousSwitchState(), ComponentEnergyManager::IsSwitchedOn(), ComponentEnergyManager::PlugThisInto(), ComponentEnergyManager::StartUpdates(), ComponentEnergyManager::SwitchOff(), ComponentEnergyManager::SwitchOn(), and ComponentEnergyManager::UnplugThis().
Definition at line 1567 of file EntityAI.c.
|
protected |
Energy manager event: Called every device update if its supposed to do some work. The update can be every second or at random, depending on its manipulation.
Definition at line 2461 of file EntityAI.c.
|
inlineprotected |
Energy manager event: Called only once when this device starts doing its work.
Definition at line 2458 of file EntityAI.c.
|
inlineprotected |
Energy manager event: Called when the device stops working (was switched OFF or ran out of energy)
Definition at line 2464 of file EntityAI.c.
|
inlineprotected |
Should return false if you want to disable hologram rotation.
Definition at line 454 of file EntityAI.c.
|
protected |
Definition at line 1807 of file EntityAI.c.
Put item into as attachment.
Definition at line 1791 of file EntityAI.c.
References GetGame().
Returns if item can be added as attachment on specific slot. Note that slot index IS NOT slot ID! Slot ID is defined in DZ/data/config.cpp.
Definition at line 1724 of file EntityAI.c.
References GetGame().
Put item into into cargo.
Definition at line 1660 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Put item into into cargo on specific cargo location.
Definition at line 1694 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Put item anywhere into this entity (as attachment or into cargo, recursively)
Definition at line 1627 of file EntityAI.c.
References GetGame().
|
inlineprotected |
|
inlineprotected |
Definition at line 1740 of file EntityAI.c.
References GetGame().
|
inlineprotected |
|
inlineprotected |
Definition at line 1706 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Definition at line 1642 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Definition at line 2952 of file EntityAI.c.
References CfgGameplayHandler::GetDisableBaseDamage(), CfgGameplayHandler::GetDisableContainerDamage(), and GetGame().
Definition at line 2934 of file EntityAI.c.
References GetGame(), and MELEE_ITEM_DAMAGE.
Definition at line 3376 of file EntityAI.c.
|
protected |
registers bool variable synchronized over network
[in] | variableName | which variable should be synchronized |
|
protected |
when bool variable is true, it's sent to clients and become false again
[in] | variableName | which variable should be synchronized |
|
protected |
registers float variable synchronized over network
[in] | variableName | which variable should be synchronized |
[in] | minValue | minimal value used for quantization (when minValue == maxValue, no quatization is done) |
[in] | maxValue | maximal value used for quantization (when minValue == maxValue, no quatization is done) |
[in] | precision | precision in number of digits after decimal point |
|
protected |
registers int variable synchronized over network
[in] | variableName | which variable should be synchronized |
[in] | minValue | minimal value used for quantization (when minValue == maxValue, no quatization is done) |
[in] | maxValue | maximal value used for quantization (when minValue == maxValue, no quatization is done) |
|
protected |
registers object variable synchronized over network, only synchronizes if network id is assigned. Doesn't handle object despawn on client
[in] | variableName | which variable should be synchronized |
Definition at line 3042 of file EntityAI.c.
References dBodyApplyImpulse(), GetVelocity(), IsDamageDestroyed(), and vector::Length().
|
protected |
|
inlineprotected |
Definition at line 897 of file EntityAI.c.
Definition at line 1817 of file EntityAI.c.
Definition at line 1802 of file EntityAI.c.
Definition at line 1735 of file EntityAI.c.
Definition at line 1671 of file EntityAI.c.
|
inlineprotected |
Definition at line 1638 of file EntityAI.c.
|
inlineprotected |
Definition at line 1767 of file EntityAI.c.
|
inlineprotected |
Definition at line 1751 of file EntityAI.c.
|
inlineprotected |
Definition at line 1687 of file EntityAI.c.
|
inlineprotected |
Definition at line 1717 of file EntityAI.c.
|
inlineprotected |
Definition at line 1653 of file EntityAI.c.
|
inlineprotected |
Definition at line 1783 of file EntityAI.c.
|
protected |
|
inlineprotected |
Definition at line 400 of file EntityAI.c.
Definition at line 3361 of file EntityAI.c.
sets values for specific slot
Definition at line 3368 of file EntityAI.c.
References ErrorEx.
Definition at line 2973 of file EntityAI.c.
Definition at line 2977 of file EntityAI.c.
Depth of Field settings.
distance | DOF distance parameter |
blur | DOF blur parameter |
Field of View settings.
fov | FOV angle in radians |
|
inlineprotected |
Definition at line 3560 of file EntityAI.c.
|
inlineprotected |
Definition at line 2981 of file EntityAI.c.
Set (override) remaining economy lifetime (seconds)
Set (override) max economy lifetime per entity instance (seconds)
set near plane of camera
nearPlane | clamped internally to 0.01m |
Change material in hiddenSelections.
Change texture in hiddenSelections.
Definition at line 3134 of file EntityAI.c.
References GetRemotelyActivatedItemBehaviour().
|
inlineprotected |
Definition at line 670 of file EntityAI.c.
|
protected |
Simple hidden selection state; 0 == hidden.
Sets object synchronization dirty flag, which signalize that object wants to be synchronized (take effect only in MP on server side)
Definition at line 1972 of file EntityAI.c.
|
inlineprotected |
Definition at line 1974 of file EntityAI.c.
|
inlineprotected |
Definition at line 3115 of file EntityAI.c.
Sets item preview index.
Definition at line 2731 of file EntityAI.c.
References GetGame().
|
inlineprotected |
Definition at line 2584 of file EntityAI.c.
References DumpStack(), and Print().
|
protected |
|
inlineprotected |
Sets all animation values to 0, making them VISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
Definition at line 1213 of file EntityAI.c.
Shows selection of the given name. Must be configed in config.hpp and models.cfg.
Definition at line 2394 of file EntityAI.c.
|
inlineprotected |
Definition at line 3030 of file EntityAI.c.
References GetPosition, and SEffectManager::PlaySound().
|
inlineprotected |
Definition at line 3018 of file EntityAI.c.
References GetPosition, and SEffectManager::PlaySound().
|
inlineprotected |
Definition at line 3036 of file EntityAI.c.
References GetPosition, and SEffectManager::PlaySound().
|
inlineprotected |
Definition at line 3024 of file EntityAI.c.
References GetPosition, and SEffectManager::PlaySound().
Definition at line 1882 of file EntityAI.c.
References ECE_PLACE_ON_SURFACE, RF_DEFAULT, and SpawnEntity().
Definition at line 1871 of file EntityAI.c.
References ECE_PLACE_ON_SURFACE, Math3D::MatrixIdentity4(), RF_DEFAULT, and SpawnEntity().
|
inlineprotected |
Definition at line 1857 of file EntityAI.c.
|
protected |
Definition at line 3099 of file EntityAI.c.
|
inlineprotected |
Definition at line 692 of file EntityAI.c.
References CALL_CATEGORY_SYSTEM, GetGame(), IsPrepareToDelete(), and Debug::Log().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 115 of file EntityAI.c.
Definition at line 116 of file EntityAI.c.
Definition at line 108 of file EntityAI.c.
Definition at line 107 of file EntityAI.c.
Definition at line 106 of file EntityAI.c.
Definition at line 119 of file EntityAI.c.
Definition at line 118 of file EntityAI.c.
|
protected |
Definition at line 128 of file EntityAI.c.
|
private |
Definition at line 225 of file EntityAI.c.
|
private |
Definition at line 127 of file EntityAI.c.
Definition at line 123 of file EntityAI.c.
|
protected |
Definition at line 122 of file EntityAI.c.
|
private |
Definition at line 101 of file EntityAI.c.
|
private |
Definition at line 110 of file EntityAI.c.
|
protected |
Definition at line 130 of file EntityAI.c.
|
private |
Definition at line 226 of file EntityAI.c.
|
private |
Definition at line 113 of file EntityAI.c.
Definition at line 135 of file EntityAI.c.
|
private |
Definition at line 102 of file EntityAI.c.
|
private |
Definition at line 112 of file EntityAI.c.
|
private |
Definition at line 129 of file EntityAI.c.
|
private |
Definition at line 120 of file EntityAI.c.
|
protected |
Definition at line 160 of file EntityAI.c.
|
protected |
Definition at line 158 of file EntityAI.c.
|
protected |
Definition at line 162 of file EntityAI.c.
|
protected |
Definition at line 144 of file EntityAI.c.
|
protected |
Definition at line 140 of file EntityAI.c.
|
protected |
Definition at line 142 of file EntityAI.c.
|
protected |
Definition at line 150 of file EntityAI.c.
|
protected |
Definition at line 148 of file EntityAI.c.
|
protected |
Definition at line 146 of file EntityAI.c.
|
protected |
Definition at line 164 of file EntityAI.c.
|
protected |
Definition at line 156 of file EntityAI.c.
|
protected |
Definition at line 154 of file EntityAI.c.
|
protected |
Definition at line 152 of file EntityAI.c.
Definition at line 134 of file EntityAI.c.
Definition at line 103 of file EntityAI.c.
Definition at line 104 of file EntityAI.c.
Definition at line 136 of file EntityAI.c.
|
protected |
Definition at line 137 of file EntityAI.c.
|
protected |
Definition at line 132 of file EntityAI.c.
|
protected |
view index Item view index is used to setup which camera will be used in item view widget in inventory. With this index you can setup various camera angles for different item states (e.g. fireplace, weapons).
Definition at line 2728 of file EntityAI.c.
|
private |
Definition at line 125 of file EntityAI.c.
|
private |
Definition at line 105 of file EntityAI.c.
|
private |
Definition at line 126 of file EntityAI.c.