![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Static Protected Member Functions | |
| static bool | DoesHaveProjection (ItemBase item) |
| DEPRECATED. | |
Static Protected Attributes | |
| static const float | DEFAULT_MAX_PLACEMENT_HEIGHT_DIFF = 1.5 |
| ref array< string > | m_WatchtowerBlockedComponentNames = new array<string> |
| ref array< string > | m_WatchtowerIgnoreComponentNames = new array<string> |
Private Member Functions | |
| bool | IsRestrictedFromAdvancedPlacing () |
Definition at line 1 of file hologram.c.
|
inlineprotected |
Definition at line 68 of file hologram.c.
References CreateTrigger(), ECE_LOCAL, ECE_PLACE_ON_SURFACE, ECE_TRACE, ErrorEx, g_Game, GetProjectionEntity(), GetType(), m_AlignToTerrain, m_ContactComponent, m_FromAdjusted, m_Parent, m_Player, m_Projection, m_ProjectionTrigger, m_ProjectionTypename, m_Rotation, m_SlopeTolerance, m_UpdatePosition, m_WatchtowerBlockedComponentNames, m_WatchtowerIgnoreComponentNames, m_YawPitchRollLimit, ProjectionBasedOnParent(), RefreshTrigger(), SetAnimations(), SetProjectionEntity(), and string::ToString().
|
inlineprotected |
Definition at line 158 of file hologram.c.
References DestroyDebugCollisionBox(), g_Game, m_Projection, and m_ProjectionTrigger.
|
inlineprotected |
Definition at line 1416 of file hologram.c.
References m_Rotation.
Referenced by MissionBase::OnUpdate().
Definition at line 293 of file hologram.c.
References Math::Clamp(), g_Game, GetDefaultOrientation(), GetProjectionRotation(), m_AlignToTerrain, m_ContactDir, m_Projection, Math3D::MatrixMultiply3(), Math3D::MatrixToAngles(), SmoothProjectionMovement(), vector::VectorToAngles(), and Math3D::YawPitchRollMatrix().
Referenced by UpdateHologram().
|
inlineprotected |
Definition at line 1027 of file hologram.c.
References g_Game, m_Parent, and m_Player.
Referenced by UpdateHologram().
|
inlineprotected |
Definition at line 1268 of file hologram.c.
References m_WatchtowerIgnoreComponentNames, and LOD::NAME_VIEW.
Referenced by GetProjectionEntityPosition().
|
inlineprotected |
Definition at line 1570 of file hologram.c.
References GetProjectionPosition(), IsColliding(), ComponentEnergyManager::IsEnergySourceAtReach(), IsFloating(), ComponentEnergyManager::IsPlugged(), m_Parent, m_Projection, SUFFIX_MATERIAL_DEPLOYABLE, SUFFIX_MATERIAL_POWERED, and SUFFIX_MATERIAL_UNDEPLOYABLE.
Referenced by RefreshVisual().
|
inlineprotected |
Definition at line 375 of file hologram.c.
References Class::CastTo(), g_Game, GetProjectionOrientation(), GetProjectionPosition(), m_Player, m_ProjectionTrigger, RefreshVisual(), and SPAWN_FLAGS.
Referenced by Hologram().
DEPRECATED.
Definition at line 250 of file hologram.c.
References ItemBase::CanMakeGardenplot(), DeployableContainer_Base(), and ItemBase::IsDeployable().
|
inlineprotected |
Definition at line 432 of file hologram.c.
References Class::CastTo(), HeightPlacementCheck(), IsBaseViable(), IsClippingRoof(), IsCollidingAngle(), IsCollidingBBox(), IsCollidingGeometryProxy(), IsCollidingGPlot(), IsCollidingPlayer(), IsCollidingZeroPos(), IsFloating(), IsHidden(), IsInTerrain(), TrapSpawnBase::IsPlaceableAtPosition(), IsPlacementPermitted(), IsUnderwater(), m_Player, m_Projection, and SetIsColliding().
Referenced by UpdateHologram().
Definition at line 1078 of file hologram.c.
References Vector().
Referenced by GetProjectionDiameter(), GetProjectionRadius(), IsCollidingBBox(), and IsCollidingGeometryProxy().
|
inlineprotected |
Definition at line 1510 of file hologram.c.
References g_Game, GetParentEntity(), m_DefaultOrientation, and vector::Zero.
Referenced by AlignProjectionOnTerrain().
|
inlineprotected |
Definition at line 1089 of file hologram.c.
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprotected |
Definition at line 1107 of file hologram.c.
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprotected |
Definition at line 1322 of file hologram.c.
References m_Parent.
Referenced by GetDefaultOrientation(), and MissionBase::OnUpdate().
|
inlineprotected |
Definition at line 1067 of file hologram.c.
References m_Projection.
Referenced by GetLeftCloseProjectionVector(), GetLeftFarProjectionVector(), GetProjectionDiameter(), GetProjectionRadius(), GetRightCloseProjectionVector(), GetRightFarProjectionVector(), IsCollidingBBox(), IsCollidingGeometryProxy(), and RefreshTrigger().
|
inlineprotected |
Definition at line 1283 of file hologram.c.
References GetCollisionBoxSize(), GetProjectionCollisionBox(), and vector::Length().
Referenced by SetOnGround().
|
inlineprotected |
Definition at line 1332 of file hologram.c.
References m_Projection.
Referenced by Hologram(), ActionCondition(), ActionDigGardenPlot::ActionCondition(), HeightPlacementCheck(), and PlaceEntity().
|
inlineprotected |
will not push hologram up when there is direct hit of an item
Definition at line 1136 of file hologram.c.
References Math::Clamp(), CorrectForWatchtower(), vector::Distance(), vector::DistanceSq(), Debug::DrawSphere(), g_Game, DiagMenu::GetBool(), CfgGameplayHandler::GetDisableIsCollidingBBoxCheck(), GetProjectionPosition(), GetProjectionRadius(), LARGE_PROJECTION_DISTANCE_LIMIT, m_ContactComponent, m_ContactDir, m_FromAdjusted, m_Projection, DayZPhysics::RaycastRV(), SetHologramPosition(), SetIsFloating(), SMALL_PROJECTION_RADIUS, and vector::Zero.
Referenced by UpdateHologram().
configuration override
Definition at line 222 of file hologram.c.
References ItemBase::CanMakeGardenplot(), ItemBase::IsBasebuildingKit(), and m_ProjectionTypename.
Referenced by ProjectionBasedOnParent().
|
inlineprotected |
Definition at line 1502 of file hologram.c.
References m_Projection, and vector::Zero.
Referenced by CreateTrigger(), IsCollidingBBox(), IsCollidingGeometryProxy(), RefreshTrigger(), and SetupAction().
|
inlineprotected |
Definition at line 1494 of file hologram.c.
References m_Projection, and vector::Zero.
Referenced by CorrectMaterialPathName(), CreateTrigger(), GetProjectionEntityPosition(), HeightPlacementCheck(), IsBaseFlat(), IsCollidingZeroPos(), IsPlacementPermitted(), RefreshTrigger(), and SetupAction().
|
inlineprotected |
Definition at line 1297 of file hologram.c.
References GetCollisionBoxSize(), GetProjectionCollisionBox(), and vector::Length().
Referenced by GetProjectionEntityPosition().
|
inlineprotected |
Definition at line 1411 of file hologram.c.
References m_Rotation.
Referenced by AlignProjectionOnTerrain().
|
inlineprotected |
Definition at line 1097 of file hologram.c.
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprotected |
Definition at line 1116 of file hologram.c.
References GetProjectionCollisionBox().
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot(), IsBaseViable(), IsInTerrain(), and IsUnderwater().
|
inlineprotected |
Definition at line 1317 of file hologram.c.
References m_UpdatePosition.
Referenced by UpdateHologram().
|
inlineprotected |
Checks height relative to player's position.
Definition at line 872 of file hologram.c.
References DEFAULT_MAX_PLACEMENT_HEIGHT_DIFF, CfgGameplayHandler::GetDisableHeightPlacementCheck(), GetProjectionEntity(), GetProjectionPosition(), and m_Player.
Referenced by EvaluateCollision().
Definition at line 1481 of file hologram.c.
References g_Game, and LOOKING_TO_SKY.
Referenced by SetOnGround().
|
inlineprotected |
Definition at line 837 of file hologram.c.
References Math::AbsFloat(), GetProjectionPosition(), and m_SlopeTolerance.
Referenced by IsBaseViable().
|
inlineprotected |
Definition at line 751 of file hologram.c.
Referenced by IsBaseViable().
Definition at line 733 of file hologram.c.
References IsObjectStatic().
Referenced by IsBaseViable().
|
inlineprotected |
Definition at line 638 of file hologram.c.
References g_Game, CfgGameplayHandler::GetDisableIsBaseViableCheck(), GetLeftCloseProjectionVector(), GetLeftFarProjectionVector(), GetRightCloseProjectionVector(), GetRightFarProjectionVector(), IsBaseFlat(), IsBaseIntact(), IsBaseStatic(), m_Projection, PLACEMENT_RC_END_OFFSET, PLACEMENT_RC_START_OFFSET, and DayZPhysics::RaycastRV().
Referenced by EvaluateCollision().
|
inlineprotected |
|
inlineprotected |
Definition at line 475 of file hologram.c.
References g_Game, CfgGameplayHandler::GetDisableIsClippingRoofCheck(), m_Projection, and GameConstants::ROOF_CHECK_RAYCAST_DIST.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 1373 of file hologram.c.
References m_IsColliding.
Referenced by ActionCondition(), ActionDigGardenPlot::ActionCondition(), and CorrectMaterialPathName().
|
inlineprotected |
Definition at line 507 of file hologram.c.
References Math::AbsFloat(), CfgGameplayHandler::GetDisableIsCollidingAngleCheck(), m_Projection, and m_YawPitchRollLimit.
Referenced by EvaluateCollision().
Definition at line 540 of file hologram.c.
References DestroyDebugCollisionBox(), DrawDebugCollisionBox(), g_Game, DiagMenu::GetBool(), GetCollisionBoxSize(), CfgGameplayHandler::GetDisableIsCollidingBBoxCheck(), GetProjectionCollisionBox(), GetProjectionOrientation(), m_CollisionBox, m_Player, and m_Projection.
Referenced by EvaluateCollision().
Definition at line 589 of file hologram.c.
References DestroyDebugCollisionBox(), DrawDebugCollisionBox(), g_Game, DiagMenu::GetBool(), GetCollisionBoxSize(), CfgGameplayHandler::GetDisableIsCollidingBBoxCheck(), GetProjectionCollisionBox(), GetProjectionOrientation(), m_CollisionBox, m_Player, m_Projection, and BoxCollidingParams::SetParams().
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 702 of file hologram.c.
References CfgGameplayHandler::GetDisableIsCollidingGPlotCheck(), and m_IsCollidingGPlot.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 1386 of file hologram.c.
References CfgGameplayHandler::GetDisableIsCollidingPlayerCheck(), and m_IsCollidingPlayer.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 714 of file hologram.c.
References GetProjectionPosition(), and Vector().
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 1263 of file hologram.c.
References m_Parent.
|
inlineprotected |
Definition at line 1365 of file hologram.c.
References m_IsFloating.
Referenced by CorrectMaterialPathName(), EvaluateCollision(), and SetProjectionPosition().
|
inlineprotected |
Definition at line 1378 of file hologram.c.
References m_IsHidden.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 940 of file hologram.c.
References CfgGameplayHandler::GetDisableIsInTerrainCheck(), GetLeftCloseProjectionVector(), GetLeftFarProjectionVector(), GetRightCloseProjectionVector(), GetRightFarProjectionVector(), m_Projection, and DayZPhysics::RaycastRV().
Referenced by EvaluateCollision().
Definition at line 746 of file hologram.c.
References m_ContactComponent, m_Parent, m_WatchtowerBlockedComponentNames, and LOD::NAME_VIEW.
Referenced by IsBaseStatic().
|
inlineprotected |
Checks if the item can be legally placed (usually checked by action as well).
Definition at line 858 of file hologram.c.
References CfgGameplayHandler::GetDisableIsPlacementPermittedCheck(), GetProjectionPosition(), m_Parent, and m_Player.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 1278 of file hologram.c.
References m_Projection.
|
inlineprivate |
Definition at line 1131 of file hologram.c.
References g_Game.
Definition at line 1126 of file hologram.c.
References g_Game.
|
inlineprotected |
Definition at line 896 of file hologram.c.
References g_Game, CfgGameplayHandler::GetDisableIsUnderwaterCheck(), GetLeftCloseProjectionVector(), GetLeftFarProjectionVector(), GetRightCloseProjectionVector(), GetRightFarProjectionVector(), LIQUID_GROUP_WATER, LIQUID_SNOW, and m_Projection.
Referenced by EvaluateCollision().
Definition at line 1044 of file hologram.c.
References Class::CastTo(), ECE_OBJECT_SWAP, g_Game, GetProjectionEntity(), m_Parent, and m_Projection.
|
inlineprotected |
Definition at line 217 of file hologram.c.
References GetProjectionName(), and m_Parent.
Referenced by Hologram().
|
inlineprotected |
Definition at line 386 of file hologram.c.
References GetProjectionCollisionBox(), GetProjectionOrientation(), GetProjectionPosition(), and m_ProjectionTrigger.
Referenced by Hologram(), and UpdateHologram().
|
inlineprotected |
Definition at line 1546 of file hologram.c.
References CorrectMaterialPathName(), g_Game, GetHiddenSelection(), m_Projection, and m_SelectionsToRefresh.
Referenced by CreateTrigger(), and UpdateHologram().
|
inlineprotected |
Definition at line 178 of file hologram.c.
References ANIMATION_INVENTORY, ANIMATION_PLACING, m_Projection, SELECTION_INVENTORY, SELECTION_PLACING, SetSelectionToRefresh(), and UpdateSelections().
Referenced by Hologram().
|
inlineprotected |
Sets hologram position based on player and projection distance.
| startPosition | start position |
| minProjectionDistance | lower distance limit |
| maxProjectionDistance | higher distance limit |
| inout | contactPosition is position of the hologram contact with ground/object |
Definition at line 1214 of file hologram.c.
References vector::Distance(), m_IsHidden, vector::Normalize(), PROJECTION_TRANSITION_MAX, and PROJECTION_TRANSITION_MIN.
Referenced by GetProjectionEntityPosition().
|
inlineprotected |
Definition at line 1342 of file hologram.c.
References m_IsColliding.
Referenced by EvaluateCollision().
|
inlineprotected |
Definition at line 1360 of file hologram.c.
References m_IsCollidingGPlot.
Referenced by ActionDigGardenPlot::CheckSurfaceBelowGardenPlot().
|
inlineprotected |
Definition at line 1355 of file hologram.c.
References m_IsCollidingPlayer.
|
inlineprotected |
Definition at line 1337 of file hologram.c.
References m_IsFloating.
Referenced by GetProjectionEntityPosition().
|
inlineprotected |
Definition at line 1350 of file hologram.c.
References m_IsHidden.
Definition at line 1426 of file hologram.c.
References RaycastRVResult::entry, RaycastRVParams::flags, GetProjectionDiameter(), HideWhenClose(), m_FromAdjusted, m_Player, m_Projection, m_WatchtowerIgnoreComponentNames, Math::Max(), LOD::NAME_VIEW, RaycastRVResult::obj, RaycastRVResult::parent, RaycastRVResult::pos, DayZPhysics::RaycastRV(), DayZPhysics::RaycastRVProxy(), SMALL_PROJECTION_GROUND, and Vector().
Referenced by SetProjectionPosition().
|
inlineprotected |
|
inlineprotected |
Definition at line 1406 of file hologram.c.
References m_Projection.
Referenced by UpdateHologram().
|
inlineprotected |
Definition at line 1396 of file hologram.c.
References IsFloating(), m_Projection, and SetOnGround().
Referenced by UpdateHologram().
Definition at line 1540 of file hologram.c.
References m_SelectionsToRefresh.
|
inlineprotected |
Definition at line 1534 of file hologram.c.
References m_SelectionsToRefresh.
Referenced by SetAnimations().
|
inlineprotected |
Definition at line 1312 of file hologram.c.
References m_UpdatePosition.
Referenced by SetupAction().
Definition at line 348 of file hologram.c.
References Math::AbsFloat(), Math::Lerp(), and m_y_p_r_previous.
Referenced by AlignProjectionOnTerrain().
|
inlineprotected |
Definition at line 1421 of file hologram.c.
References m_Rotation.
Referenced by MissionBase::OnUpdate().
|
inlineprotected |
Definition at line 256 of file hologram.c.
References AlignProjectionOnTerrain(), CheckPowerSource(), DestroyDebugCollisionBox(), EvaluateCollision(), GetProjectionEntityPosition(), GetUpdatePosition(), IsRestrictedFromAdvancedPlacing(), m_Parent, m_Player, m_Projection, RefreshTrigger(), RefreshVisual(), SetProjectionOrientation(), and SetProjectionPosition().
Referenced by MissionBase::OnUpdate().
|
inlineprotected |
Definition at line 198 of file hologram.c.
References g_Game, m_Parent, and m_Projection.
Referenced by SetAnimations().
|
protected |
Definition at line 41 of file hologram.c.
Referenced by SetAnimations().
|
protected |
Definition at line 40 of file hologram.c.
Referenced by SetAnimations().
|
staticprotected |
Definition at line 52 of file hologram.c.
Referenced by HeightPlacementCheck().
|
protected |
Definition at line 47 of file hologram.c.
|
protected |
|
protected |
Definition at line 51 of file hologram.c.
Referenced by HideWhenClose().
|
protected |
Definition at line 55 of file hologram.c.
Referenced by Hologram(), and AlignProjectionOnTerrain().
|
protected |
Definition at line 57 of file hologram.c.
Referenced by Hologram(), GetProjectionEntityPosition(), and IsObjectStatic().
|
protected |
Definition at line 38 of file hologram.c.
Referenced by AlignProjectionOnTerrain(), and GetProjectionEntityPosition().
|
protected |
Definition at line 35 of file hologram.c.
Referenced by GetDefaultOrientation().
|
protected |
Definition at line 39 of file hologram.c.
Referenced by Hologram(), GetProjectionEntityPosition(), and SetOnGround().
|
protected |
Definition at line 27 of file hologram.c.
Referenced by IsColliding(), and SetIsColliding().
|
protected |
Definition at line 28 of file hologram.c.
Referenced by IsCollidingGPlot(), and SetIsCollidingGPlot().
|
protected |
Definition at line 30 of file hologram.c.
Referenced by IsCollidingPlayer(), and SetIsCollidingPlayer().
|
protected |
Definition at line 31 of file hologram.c.
Referenced by IsFloating(), and SetIsFloating().
|
protected |
Definition at line 33 of file hologram.c.
Referenced by IsHidden(), SetHologramPosition(), and SetIsHidden().
|
protected |
Definition at line 29 of file hologram.c.
|
protected |
Definition at line 21 of file hologram.c.
Referenced by Hologram(), CheckPowerSource(), CorrectMaterialPathName(), GetParentEntity(), IsFenceOrWatchtowerKit(), IsObjectStatic(), IsPlacementPermitted(), PlaceEntity(), ProjectionBasedOnParent(), UpdateHologram(), and UpdateSelections().
|
protected |
Definition at line 23 of file hologram.c.
Referenced by Hologram(), CheckPowerSource(), CreateTrigger(), EvaluateCollision(), HeightPlacementCheck(), IsCollidingBBox(), IsCollidingGeometryProxy(), IsPlacementPermitted(), IsRestrictedFromAdvancedPlacing(), SetOnGround(), and UpdateHologram().
|
protected |
Definition at line 22 of file hologram.c.
Referenced by Hologram(), ~Hologram(), AlignProjectionOnTerrain(), CorrectMaterialPathName(), EvaluateCollision(), GetHiddenSelection(), GetProjectionCollisionBox(), GetProjectionEntity(), GetProjectionEntityPosition(), GetProjectionOrientation(), GetProjectionPosition(), IsBaseViable(), IsClippingRoof(), IsCollidingAngle(), IsCollidingBBox(), IsCollidingGeometryProxy(), IsInTerrain(), IsProjectionTrap(), IsUnderwater(), PlaceEntity(), RefreshVisual(), SetAnimations(), SetOnGround(), SetProjectionEntity(), SetProjectionOrientation(), SetProjectionPosition(), UpdateHologram(), and UpdateSelections().
|
protected |
Definition at line 24 of file hologram.c.
Referenced by Hologram(), ~Hologram(), CreateTrigger(), and RefreshTrigger().
|
protected |
Definition at line 25 of file hologram.c.
Referenced by Hologram(), and GetProjectionName().
|
protected |
Definition at line 36 of file hologram.c.
Referenced by Hologram(), AddProjectionRotation(), GetProjectionRotation(), and SubtractProjectionRotation().
Definition at line 59 of file hologram.c.
Referenced by RefreshVisual(), SetSelectionToRefresh(), and SetSelectionToRefresh().
|
protected |
Definition at line 54 of file hologram.c.
Referenced by Hologram(), and IsBaseFlat().
|
protected |
Definition at line 32 of file hologram.c.
Referenced by Hologram(), GetUpdatePosition(), and SetUpdatePosition().
Definition at line 66 of file hologram.c.
Referenced by Hologram(), and IsObjectStatic().
Definition at line 63 of file hologram.c.
Referenced by Hologram(), CorrectForWatchtower(), and SetOnGround().
|
protected |
Definition at line 37 of file hologram.c.
Referenced by SmoothProjectionMovement().
|
protected |
Definition at line 56 of file hologram.c.
Referenced by Hologram(), and IsCollidingAngle().
|
protected |
Definition at line 19 of file hologram.c.
Referenced by IsBaseViable().
|
protected |
Definition at line 18 of file hologram.c.
Referenced by IsBaseViable().
|
protected |
Definition at line 50 of file hologram.c.
Referenced by SetHologramPosition().
|
protected |
Definition at line 49 of file hologram.c.
Referenced by SetHologramPosition().
|
protected |
Definition at line 43 of file hologram.c.
Referenced by SetAnimations().
|
protected |
Definition at line 42 of file hologram.c.
Referenced by SetAnimations().
|
protected |
Definition at line 46 of file hologram.c.
Referenced by SetOnGround().
|
protected |
Definition at line 45 of file hologram.c.
Referenced by GetProjectionEntityPosition().
Definition at line 6 of file hologram.c.
Referenced by CreateTrigger().
|
protected |
Definition at line 14 of file hologram.c.
Referenced by CorrectMaterialPathName().
|
protected |
Definition at line 16 of file hologram.c.
Referenced by CorrectMaterialPathName().
|
protected |
Definition at line 15 of file hologram.c.
Referenced by CorrectMaterialPathName().