5 const int DM_GAME_WORLD_SIMUL_ACCELERATION;
33 proto
void GetDate(out
int year, out
int month, out
int day, out
int hour, out
int minute);
51 proto native
void SetDate(
int year,
int month,
int day,
int hour,
int minute);
61 proto native
void StartFpsBenchmark(
int sectorsCount,
float preloadDistance,
float fpsLimitRed,
float fpsLimitGreen,
float fpsLimitBlue,
float minX,
float minY,
float maxX,
float maxY);
156 if (invDiameter <= 0)
162 float apertureArea = 1.0 / invDiameter;
241 proto native
void FlattenGrassSphere(
float x,
float z,
float radius,
float centerLerp01,
float timeDown01,
float maxHeight01);
255 proto native
void FlattenGrassEllipse(
float x,
float z,
float sideX,
float sideZ,
float offset,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);
267 proto native
void FlattenGrassBox(
float x,
float z,
float side,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);
281 proto native
void FlattenGrassRect(
float x,
float z,
float sideX,
float sideZ,
float offset,
float angleRAD,
float centerLerp01,
float timeDown01,
float maxHeight01);
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native void SetCameraPostProcessEffect(int cam, int ppEffect, string effectName, string materialName)
set new PP effect and its material
proto native float GetServerFpsCriticalThreshold()
Returns the value set in server config for notifying low server fps.
proto native void SetObjectViewDistance(float distance)
proto native void LoadNewLightingCfg(string path)
load light config
proto native float GetSunOrMoon()
proto native void SetBuldozerWaterEnabled(bool enable)
proto native void FlattenGrassEllipse(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
create ellipse
proto native void SetViewDistance(float distance)
proto native float GetLatitude()
proto native void StartFpsBenchmarkWithMask(float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue)
proto native void UpdatePathgraphDoorByAnimationSourceName(notnull Object object, string animSourceName)
For entities that aren't a house, any animation source that contains "door" is treated as a door by t...
proto native void GetPlayerList(out array< Man > players)
proto native void SetEyeAccom(float eyeAccom)
proto native void StartFpsBenchmarkViews(string xmlFileName, float preloadDistance)
proto native void SetTimeMultiplier(float timeMultiplier)
Sets the world time acceleration, overriding config.
proto void SetVoiceOn(bool listening, bool toggled=false)
enables/disables player's voice communication
proto native bool DisableReceiveVoN(bool disable)
enable/disable receiving all voice over network globally
proto native void FlattenGrassBox(float x, float z, float side, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
create box
proto native AIWorld GetAIWorld()
returns reference to AIWorld
proto native float GetEyeAccom()
proto native void FlattenGrassSphere(float x, float z, float radius, float centerLerp01, float timeDown01, float maxHeight01)
create sphere
proto native bool IsDisabledReceivingVoN()
proto native void StartFpsBenchmark(int sectorsCount, float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue, float minX, float minY, float maxX, float maxY)
proto native bool Is3rdPersonDisabled()
checks if 3rd person camera is disabled from server
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 ProcessMarkedObjectsForPathgraphUpdate()
proto native void SetDate(int year, int month, int day, int hour, int minute)
Sets actual ingame world time.
proto native void DisableTransmitVoN(bool disable)
enable/disable transmiting voice over network globally
proto native bool IsCrosshairDisabled()
checks if crosshair is disabled from server
proto native int GetPingCriticalThreshold()
Returns the value set in server config for notifying high ping.
proto native void SetUserLightingLerp(float val)
set lerp to user lighting cfg
proto void GetGridCoords(vector pos, float gridSize, out int gridX, out int gridZ)
Translates world coordinates to a grid coordinates(map grid).
proto native float GetLongitude()
proto native bool IsDisabledTransmitingVoN()
proto native float GetMoonIntensity()
proto native bool IsNight()
proto native void SetPreferredViewDistance(float distance)
Sets preferred view distance, which persists between game sessions.
proto void CheckSoundObstruction(EntityAI source, bool inSource, out float obstruction, out float occlusion)
proto native int GetPingWarningThreshold()
Returns the value set in server config for notifying high ping.
proto native void MarkObjectForPathgraphUpdate(Object object)
void SetAperture(float invDiameter)
proto native Material GetMaterial(string materialName)
proto native bool IsMouseAndKeyboardEnabledOnServer()
checks if mouse and keyboard is enabled from server (only on console)
proto native void FlattenGrassRect(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
create rectangle
proto native void LoadUserLightingCfg(string path, string name)
load user light config (just first item is used)
proto native void SetExplicitVolumeFactor_EnvSounds2D(float factor, float fadeTime)
proto native void AddEnvShootingSource(vector position, float shootingValDecrease)
Affects env sound controller value 'Shooting'.
proto native float GetServerFpsWarningThreshold()
Returns the value set in server config for notifying low server fps.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.