Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción








local incrementAmount = 10
local fpsIncreaseInterval = 1 -- Time in seconds between each FPS increase
local maxFPS = 300 -- Maximum FPS limit (adjust as needed)
local cullDistance = 1000 -- Distance threshold for off-screen culling
local function ApplyFPSLimit(fps)
if fps > maxFPS then
fps = maxFPS
end
local frameTime = 1 / fps
-- Note: Actual FPS control may need different methods or external tools
end
local currentFPS = initialFPS
ApplyFPSLimit(currentFPS)
local function IncreaseFPS()
currentFPS = currentFPS + incrementAmount
ApplyFPSLimit(currentFPS)
end
timer.Create("FPSIncreaseTimer", fpsIncreaseInterval, 0, IncreaseFPS)
local function BruteForceCull()
local player = LocalPlayer()
if not IsValid(player) then return end
local playerPos = player:GetPos()
for _, ent in ipairs(ents.GetAll()) do
if IsValid(ent) and ent:IsSolid() and not ent:IsPlayer() then
local entPos = ent:GetPos()
local distance = playerPos:Distance(entPos)
-- Check if entity is within the culling distance
if distance > cullDistance then
ent:SetNoDraw(true) -- Disable rendering
else
ent:SetNoDraw(false) -- Enable rendering
end
end
end
end
timer.Create("BruteForceCullTimer", 0.5, 0, BruteForceCull)
BOOM
You're even more famous