ribera1945e 9 Posted August 31, 2023 I am looking for a way to remove grass clutter in a very large area with low load. The method of placing a large number of grass cutters is too heavy. The map is being tested in the CUP desert. Is there any way to do this? Share this post Link to post Share on other sites
Gunter Severloh 4052 Posted August 31, 2023 Mod maybe? https://steamcommunity.com/sharedfiles/filedetails/?id=1350216151 Share this post Link to post Share on other sites
ribera1945e 9 Posted August 31, 2023 I want to get rid of grass clutter altogether by scripting. Share this post Link to post Share on other sites
Casio91Fin 31 Posted August 31, 2023 Create Trigger Condition: True On Act: null=[thistrigger,50,50] execVM "RemoveGrass.sqf"; RemoveGrass.sqf _trig = _this select 0; _xpos = _this select 1; _ypos = _this select 2; _start = getpos _trig; waitUntil {not(isNil "BIS_fnc_init")}; // waits until functions are ready for "_x" from -_xpos to _xpos step 4 do { for "_i" from -_ypos to _ypos step 4 do { _newpos = [(_start select 0) + _x, (_start select 1) + _i, 0]; if ( [_trig, _newpos] call BIS_fnc_inTrigger) then { null = createVehicle ["Land_ClutterCutter_large_F", _newpos, [], 0, "can_collide"]; // creates the grass cutter }; }; }; Share this post Link to post Share on other sites
major-stiffy 279 Posted August 31, 2023 https://community.bistudio.com/wiki/setTerrainGrid Share this post Link to post Share on other sites
ribera1945e 9 Posted September 2, 2023 I am now trying to figure out how to override cfgworlds in description.ext. If clutterGrid = 0 the grass clutter should be invisible, but my mission still has grass. Can't I manipulate the grass clutter config in cfgworlds? class cfgworlds { class Desert_E { clutterGrid = 0; }; }; Share this post Link to post Share on other sites
Harzach 2517 Posted September 2, 2023 If it is even possible, you need to make an addon that overwrites the terrain. You can't do this via scripting/Description.ext. Share this post Link to post Share on other sites
ribera1945e 9 Posted September 2, 2023 I am a little saddened. I'm going to give up. Share this post Link to post Share on other sites