Download
(2 Kb)
Download
Updated: 05/23/19 07:24 PM
Compatibility:
Elsweyr (5.0.5)
Wrathstone (4.3)
Updated:05/23/19 07:24 PM
Created:03/01/17 05:10 PM
Monthly downloads:22
Total downloads:3,471
Favorites:6
MD5:
EasyGrassToggle
Version: 1.0.8
by: carpenteer [More]
Toggle the "Grass" setting on/off with the press of a configurable key, or by using the /grass command.

Another quick one for personal use that I figured I would share.
Simple, lightweight, and functional - what more could you want?

1.0.8 - Elsweyr update
1.0.7 - Wrathstone update
1.0.6 - Murkmire update
1.0.5 - Dragon Bones update
1.0.4 - Clockwork City update
1.0.3 - Horns of the Reach update
1.0.2 - Morrowind update
1.0.1 - slight update to key-binding code
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Uploader
Date
1.0.7
2kB
carpenteer
03/03/19 02:58 PM
1.0.6
2kB
carpenteer
11/10/18 05:45 PM
1.0.5
2kB
carpenteer
02/13/18 10:07 AM
1.0.4
2kB
carpenteer
10/24/17 06:28 AM
1.0.3
2kB
carpenteer
08/30/17 07:01 AM
1.0.2
2kB
carpenteer
05/22/17 02:35 PM
1.0.1
2kB
03/01/17 05:10 PM


Post A Reply Comment Options
Unread 02/22/23, 05:16 PM  
Valve
 
Valve's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 40
Uploads: 6
Fix by...

This is currently broken but can easily be fixed by changing the EasyGrassToggle function to:
Code:
local function EasyGrassToggle()
	local currentSetting = GetSetting(SETTING_TYPE_GRAPHICS, GRAPHICS_SETTING_CLUTTER_2D_QUALITY)
	SetSetting(SETTING_TYPE_GRAPHICS, GRAPHICS_SETTING_CLUTTER_2D_QUALITY, currentSetting == "0" and 4 or 0)
end
I changed it to just toggle between off and ultra as changing the grass setting to anything below -2 causes the game to crash.

Imo it's a hack to set a negative value to preserve the original when toggling back on anyway -- saved variables exist for a reason. 🤷
Last edited by Valve : 02/22/23 at 05:24 PM.
Report comment to moderator  
Reply With Quote
Unread 04/22/21, 02:29 AM  
Zulunia
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 28
Uploads: 1
update29

Hi, thanks for this addon it's just what i was looking for to switch off grass while doing surveys, but it seems broken in the current version, /grass doesn't do anything (disabled all other addons to check) and there's no errors
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: