|
| proto void | World::CheckSoundObstruction (EntityAI source, bool inSource, out float obstruction, out float occlusion) |
| |
| proto native void | World::GetPlayerList (out array< Man > players) |
| |
| proto native void | World::SetTimeMultiplier (float timeMultiplier) |
| | Sets the world time acceleration, overriding config. Mostly used for debug purposes.
|
| |
| proto void | World::GetDate (out int year, out int month, out int day, out int hour, out int minute) |
| | Get actual ingame world time.
|
| |
| proto native void | World::SetDate (int year, int month, int day, int hour, int minute) |
| | Sets actual ingame world time.
|
| |
| proto native float | World::GetLatitude () |
| |
| proto native float | World::GetLongitude () |
| |
| proto native float | World::GetMoonIntensity () |
| |
| proto native float | World::GetSunOrMoon () |
| |
| proto native vector | World::GetSunOrMoonDirection () |
| | when GetSunOrMoon() >= 0.5 returns sun direction; otherwise moon direction
|
| |
| proto native bool | World::IsNight () |
| |
| proto native float | World::GetEyeAccom () |
| |
| proto native void | World::SetEyeAccom (float eyeAccom) |
| |
| proto native void | World::StartFpsBenchmark (int sectorsCount, float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue, float minX, float minY, float maxX, float maxY) |
| |
| proto native void | World::StartFpsBenchmarkWithMask (float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue) |
| |
| proto native void | World::StartFpsBenchmarkViews (string xmlFileName, float preloadDistance) |
| |
| proto native void | World::SetBuldozerWaterEnabled (bool enable) |
| |
| proto native void | World::SetPreferredViewDistance (float distance) |
| | Sets preferred view distance, which persists between game sessions.
|
| |
| proto native void | World::SetViewDistance (float distance) |
| |
| proto native void | World::SetObjectViewDistance (float distance) |
| |
| proto native void | World::SetExplicitVolumeFactor_EnvSounds2D (float factor, float fadeTime) |
| |
| proto native void | World::AddEnvShootingSource (vector position, float shootingValDecrease) |
| | Affects env sound controller value 'Shooting'.
|
| |
| proto int | World::GetWorldSize () |
| |
| proto void | World::GetGridCoords (vector pos, float gridSize, out int gridX, out int gridZ) |
| | Translates world coordinates to a grid coordinates(map grid)
|
| |
| proto native void | World::LoadNewLightingCfg (string path) |
| |
| proto native void | World::LoadUserLightingCfg (string path, string name) |
| |
| proto native void | World::SetUserLightingLerp (float val) |
| |
| proto native AIWorld | World::GetAIWorld () |
| |
| proto native void | World::UpdatePathgraphDoorByAnimationSourceName (notnull Object object, string animSourceName) |
| |
| proto native bool | World::UpdatePathgraphEntityState (notnull Object object) |
| |
| proto native void | World::MarkObjectForPathgraphUpdate (Object object) |
| |
| proto native void | World::ProcessMarkedObjectsForPathgraphUpdate () |
| |
| proto native Material | World::GetMaterial (string materialName) |
| |
| proto native void | World::SetCameraPostProcessEffect (int cam, int ppEffect, string effectName, string materialName) |
| |
| void | World::SetAperture (float invDiameter) |
| |
| proto native ThirdPersonMode | World::GetThirdPersonViewMode () |
| |
| proto native bool | World::IsCrosshairDisabled () |
| |
| proto native bool | World::IsMouseAndKeyboardEnabledOnServer () |
| |
| proto native int | World::GetPingWarningThreshold () |
| |
| proto native int | World::GetPingCriticalThreshold () |
| |
| proto native float | World::GetServerFpsWarningThreshold () |
| |
| proto native float | World::GetServerFpsCriticalThreshold () |
| |
| proto native void | World::DisableTransmitVoN (bool disable) |
| |
| proto native bool | World::DisableReceiveVoN (bool disable) |
| |
| proto native bool | World::IsDisabledTransmitingVoN () |
| |
| proto native bool | World::IsDisabledReceivingVoN () |
| |
| proto void | World::SetVoiceOn (bool listening, bool toggled=false) |
| |
| proto native void | World::FlattenGrassSphere (float x, float z, float radius, float centerLerp01, float timeDown01, float maxHeight01) |
| |
| proto native void | World::FlattenGrassEllipse (float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
| |
| proto native void | World::FlattenGrassBox (float x, float z, float side, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
| |
| proto native void | World::FlattenGrassRect (float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01) |
| |
| proto native bool | World::Is3rdPersonDisabled () |
| |