Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://springrts.com/wiki/Springsettings.cfg
- -- https://springrts.com/wiki/UI_commands
- -- <[KING]Silver> i think we chould add function to check what actuall settings player have
- -- <[KING]Silver> to let player recover old settings
- -- Please make comments so other people can understand and change script.
- -- Also please correct comments if they are wrong.
- function widget:GetInfo()
- return {
- name = "Framerate increase",
- desc = "Turns off shading and more.",
- author = "[KING]Antarac",
- version = "0.2",
- date = "May 26, 2017",
- license = "GNU GPL, v2 or later",
- layer = 0,
- enabled = true,
- }
- end
- local SendCommands = Spring.SendCommands
- local CommandList = {
- "Fps = 0", -- Shows Frames per second in the upper right corner of screen.
- "Clock = 0", -- Shows how long game is played already in the upper right corner of screen.
- "HardwareCursor 1", -- No Mouse lag. 1 = hardware cursor. 0 = spring cursor.
- "AdvMapShading 0", -- Shading for maps.
- "AdvModelShading 0", -- Shading for models.
- "AdvSky 0", -- ?
- "AllowDeferredMapRendering 0", -- ?
- "AllowDeferredModelRendering 0", -- ?
- "BumpWaterBlurReflection 0", -- ?
- "BumpWaterRefraction 0", -- ?
- "DynamicClouds 0", -- ?
- "DynamicSky 0", -- ?
- "DynamicSun 0", -- ?
- "FSAALevel 0", -- ?
- "GrassDetail 0", -- ?
- "GroundDecals 0", -- Draws black paths after vehicle move or black smoky ground after explosion.
- "GroundDecalsParallaxMapping 0", -- ?
- "GroundDetail 40", -- Map gets to flat on 0.
- "HeightMapTexture 0", -- ?
- "HighResLos 0", -- ?
- "MaxDynamicMapLights 0", -- ?
- "MaxDynamicModelLights 0", -- ?
- "MaxNanoParticles 1", --The amount of Particles you can see from Construction units and Nanos.
- "MaxParticles 1", -- ?
- "Shadows 0", -- Shadows for all objects. 0 = turned off.
- "Water 0", -- ?
- --"DrawTrees = 0",
- --"ShadowMapSize = 0
- --"SmoothLines = 0
- --"SmoothPoints = 0
- --"TeamNanoSpray = 0
- --"TreeRadius = 3000
- --"UnitIconDist = 10000
- --"VSync = -1
- }
- function widget:AddConsoleLine(msg, priority) -- Called when text is entered into the console (e.g. Spring.Echo).
- if msg == "low" then -- Type "/low" in the ingame chat(console) to activate the script.
- SendCommands(CommandList)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement