Private Member Functions | |
proto void | CheckSoundObstruction (EntityAI source, bool inSource, out float obstruction, out float occlusion) |
proto native void | GetPlayerList (out array< Man > players) |
proto native void | SetTimeMultiplier (float timeMultiplier) |
Sets the world time acceleration, overriding config. Mostly used for debug purposes. | |
proto void | GetDate (out int year, out int month, out int day, out int hour, out int minute) |
Get actual ingame world time. | |
proto native void | SetDate (int year, int month, int day, int hour, int minute) |
Sets actual ingame world time. | |
proto native float | GetLatitude () |
proto native float | GetLongitude () |
proto native float | GetMoonIntensity () |
proto native float | GetSunOrMoon () |
proto native bool | IsNight () |
proto native float | GetEyeAccom () |
proto native void | SetEyeAccom (float eyeAccom) |
proto native void | StartFpsBenchmark (int sectorsCount, float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue, float minX, float minY, float maxX, float maxY) |
proto native void | StartFpsBenchmarkWithMask (float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue) |
proto native void | StartFpsBenchmarkViews (string xmlFileName, float preloadDistance) |
proto native void | SetBuldozerWaterEnabled (bool enable) |
proto native void | SetPreferredViewDistance (float distance) |
Sets preferred view distance, which persists between game sessions. | |
proto native void | SetViewDistance (float distance) |
proto native void | SetObjectViewDistance (float distance) |
proto native void | SetExplicitVolumeFactor_EnvSounds2D (float factor, float fadeTime) |
proto native void | AddEnvShootingSource (vector position, float shootingValDecrease) |
Affects env sound controller value 'Shooting'. | |
proto int | GetWorldSize () |
proto void | GetGridCoords (vector pos, float gridSize, out int gridX, out int gridZ) |
Translates world coordinates to a grid coordinates(map grid) | |
proto native void | LoadNewLightingCfg (string path) |
proto native void | LoadUserLightingCfg (string path, string name) |
proto native void | SetUserLightingLerp (float val) |
proto native AIWorld | GetAIWorld () |
proto native void | UpdatePathgraphDoorByAnimationSourceName (notnull Object object, string animSourceName) |
proto native void | MarkObjectForPathgraphUpdate (Object object) |
proto native void | ProcessMarkedObjectsForPathgraphUpdate () |
proto native Material | GetMaterial (string materialName) |
proto native void | SetCameraPostProcessEffect (int cam, int ppEffect, string effectName, string materialName) |
void | SetAperture (float invDiameter) |
proto native bool | Is3rdPersonDisabled () |
proto native bool | IsCrosshairDisabled () |
proto native bool | IsMouseAndKeyboardEnabledOnServer () |
proto native int | GetPingWarningThreshold () |
proto native int | GetPingCriticalThreshold () |
proto native float | GetServerFpsWarningThreshold () |
proto native float | GetServerFpsCriticalThreshold () |
proto native void | DisableTransmitVoN (bool disable) |
proto native bool | DisableReceiveVoN (bool disable) |
proto native bool | IsDisabledTransmitingVoN () |
proto native bool | IsDisabledReceivingVoN () |
proto void | SetVoiceOn (bool listening, bool toggled=false) |
proto native void | FlattenGrassSphere (float x, float z, float radius, float centerLerp01, float timeDown01, float maxHeight01) |
proto native void | FlattenGrassEllipse (float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
proto native void | FlattenGrassBox (float x, float z, float side, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
proto native void | FlattenGrassRect (float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
Affects env sound controller value 'Shooting'.
sound | position |
relative | value (0..1) - how much should be value decreased |
|
private |
enable/disable receiving all voice over network globally
disable | if true, then player is not able listen any voice from VoN |
Referenced by OnlineServices::OnLoadVoicePrivilege().
|
private |
enable/disable transmiting voice over network globally
disable | if true, then VoN is no more usable for transmiting voice |
Referenced by OnlineServices::OnLoadVoicePrivilege().
|
private |
create box
worldX | world X of touch with ground |
worldZ | world X of touch with ground |
sideSize | size of side |
angleRAD | rotation |
centerLerp01 | lerp of values inside rasterization |
timeDown01 | relative speed of going down, 1 is usually 0.5secs |
maxHeight01 | maximum relative height of flattening, 0 = no flatten |
|
private |
create ellipse
worldX | world X of touch with ground |
worldZ | world X of touch with ground |
radiusX | radius in X coord before rotate |
radiusZ | radius in Z coord before rotate |
offset | offset, 0 = default center, <-1, 1> |
angleRAD | rotation |
centerLerp01 | lerp of values inside rasterization |
timeDown01 | relative speed of going down, 1 is usually 0.5secs |
maxHeight01 | maximum relative height of flattening, 0 = no flatten |
|
private |
create rectangle
worldX | world X of touch with ground |
worldZ | world X of touch with ground |
sideXSize | size of side in X |
sideZSize | size of side in Z |
offset | offset, 0 = default center, <-1, 1> |
angleRAD | rotation |
centerLerp01 | lerp of values inside rasterization |
timeDown01 | relative speed of going down, 1 is usually 0.5secs |
maxHeight01 | maximum relative height of flattening, 0 = no flatten |
|
private |
create sphere
worldX | world X of touch with ground |
worldZ | world X of touch with ground |
radius | radius |
centerLerp01 | lerp of values inside rasterization |
timeDown01 | relative speed of going down, 1 is usually 0.5secs |
maxHeight01 | maximum relative height of flattening, 0 = no flatten |
|
private |
Get actual ingame world time.
year | |
month | in range <1, 12> |
day | in range <1, 31> |
hour | in range <0, 23> |
minute | in range <0, 59> int year, month, day, hour, minute;
proto native World GetWorld() proto void GetDate(out int year, out int month, out int day, out int hour, out int minute) Get actual ingame world time. proto native CGame GetGame() |
Referenced by WorldData::CalculateVolFog(), EnochData::CalculateVolFog(), GetAlarmInMin(), WorldData::GetDaytime(), ScriptConsoleGeneralTab::Init(), PluginConfigHandler::LoadSceneSettings(), UIPopupScript::OnOpen(), AlarmClock_ColorBase::OnUpdate(), UIPopupScript::ResetSliders(), SetAlarmInXMins(), WorldData::UpdateBaseEnvTemperature(), WorldData::WeatherOnBeforeChange(), EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Translates world coordinates to a grid coordinates(map grid)
pos | |
size | of grid in meters |
x | grid position result [out] |
z | grid position result [out] int x,z;
Icon x proto void GetGridCoords(vector pos, float gridSize, out int gridX, out int gridZ) Translates world coordinates to a grid coordinates(map grid) |
Referenced by OrderedPositionNumbersFromGridCoords().
|
private |
|
private |
Referenced by PPEClassBase::CreateMaterial(), PPEffects::Init(), PPEffects::SetBlur(), and PPEffects::SetNVParams().
|
private |
|
private |
Returns the value set in server config for notifying high ping
|
private |
Returns the value set in server config for notifying high ping
|
private |
Referenced by ItemBase::FullyBuild(), and MissionBase::TickScheduler().
|
private |
Returns the value set in server config for notifying low server fps
|
private |
Returns the value set in server config for notifying low server fps
|
private |
|
private |
Referenced by DebugMonitor::CalculateMapTile().
|
private |
checks if 3rd person camera is disabled from server
Referenced by DayZPlayer::DayZPlayerImplement().
|
private |
checks if crosshair is disabled from server
|
private |
Referenced by UIScriptedMenu::Init(), and UIScriptedMenu::Refresh().
|
private |
|
private |
checks if mouse and keyboard is enabled from server (only on console)
Referenced by ScriptedWidgetEventHandler::OptionsMenuControls().
|
private |
|
private |
load light config
Referenced by WorldLighting::SetGlobalLighting().
load user light config (just first item is used)
Referenced by UndergroundHandlerClient().
|
private |
|
private |
Referenced by ObjectSpawnerHandler::OnGameplayDataHandlerLoad().
|
inlineprivate |
References SetEyeAccom().
|
private |
|
private |
set new PP effect and its material
camera | number of camera |
effectIndex | index of effect |
effectName | name of effect |
matName | name of material |
Sets actual ingame world time.
year | |
month | in range <1, 12> |
day | in range <1, 31> |
hour | in range <0, 23> |
minute | in range <0, 59> int year = 2016;
int month = 5;
int day = 4;
int hour = 14;
int minute = 57;
proto native void SetDate(int year, int month, int day, int hour, int minute) Sets actual ingame world time. |
Referenced by DayZIntroScene::DayZIntroScene(), PluginBase::HandleSetTime(), UIPopupScript::OnChange(), UIPopupScript::OnClick(), UIPopupScript::OnClose(), SceneData::SetInitDay(), SceneData::SetInitHour(), SceneData::SetInitMinute(), SceneData::SetInitMonth(), SceneData::SetInitYear(), and ScriptConsoleGeneralTab::UpdateTime().
Referenced by UndergroundBunkerHandlerClient::ProcessSound(), ProcessSound(), and ~UndergroundHandlerClient().
|
private |
Referenced by SetAperture().
|
private |
|
private |
Sets preferred view distance, which persists between game sessions.
distance |
|
private |
Sets the world time acceleration, overriding config. Mostly used for debug purposes.
timeMultiplier | 0-64 acceleration value, -1 to reset back |
|
private |
set lerp to user lighting cfg
Referenced by OnUndergroundPresenceUpdate(), ProcessLighting(), and ~UndergroundHandlerClient().
|
private |
enables/disables player's voice communication
listening | enable or disable microphone |
toggled | enable or disable PTT/Voice activation |
Referenced by DayZPlayer::HandleDeath().
|
private |
|
private |
|
private |
For entities that aren't a house, any animation source that contains "door" is treated as a door by the pathgraph. Using the phase value where 0=CLOSED, 1=OPENED, we can update the state of the door without regenerating the tile
Referenced by Land_Underground_EntranceBase::OnUpdateServer().