Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function widget:GetInfo()
- return {
- name = "Graphics Settings (3 - Medium)",
- desc = "Sets graphics settings for you to predefined settings",
- author = "Forboding Angel",
- date = "01-21-2014",
- license = "GPL v2 or later",
- layer = 5,
- enabled = false
- }
- end
- function widget:Initialize()
- Spring.SendCommands("3dtrees 1")
- Spring.SendCommands("advmapshading 1")
- Spring.SendCommands("advsky 0")
- Spring.SendCommands("advmodelshading 1")
- Spring.SendCommands("dynamicsky 0")
- Spring.SendCommands("dynamicsun 0")
- Spring.SendCommands("dynamicsunminelevation 0.3")
- Spring.SendCommands("fsaalevel 0")
- Spring.SendCommands("featuredrawdistance 999999")
- Spring.SendCommands("featurefadedistance 999999")
- Spring.SendCommands("grassdetail 0")
- Spring.SendCommands("grounddetail 32")
- Spring.SendCommands("maxnanoparticles 2000")
- Spring.SendCommands("maxparticles 5000")
- Spring.SendCommands("maxsounds 128")
- Spring.SendCommands("water 4")
- Spring.SendCommands("shadows 2 2048")
- --[[
- Spring.SetConfigInt("3dtrees",1)
- Spring.SetConfigInt("advsky",0)
- Spring.SetConfigInt("advmodelshading",1)
- Spring.SetConfigInt("dynamicsky",0)
- Spring.SetConfigInt("dynamicsun",0)
- Spring.SetConfigInt("dynamicsunminelevation",0)
- Spring.SetConfigInt("fsaalevel",0)
- Spring.SetConfigInt("featuredrawdistance",999999)
- Spring.SetConfigInt("featurefadedistance",999999)
- Spring.SetConfigInt("grassdetail",0)
- Spring.SetConfigInt("grounddetail",32)
- Spring.SetConfigInt("maxnanoparticles",2000)
- Spring.SetConfigInt("maxparticles",5000)
- Spring.SetConfigInt("maxsounds",128)
- ]]--
- widgetHandler:RemoveWidget()
- end
Advertisement
Add Comment
Please, Sign In to add comment