Mr.Weegley
Member
Removing Rocket's added junk from roads and/or around custom points, which can be set
This is modification of original DayZ stream_locationfill.sqf, which allows removal of junk from roads and/or around custom points, leaving it everyhere else.
Requirements: Custom compiles.sqf
How and what to edit in stream_locationfill.sqf
I tried to comment all my edits but:
_roadclear = true; - set to false to not remove junk from roads.
_pointsclear = true; - set to false if you don't want to remove junk around custom points.
_mindistance = 100; - Minimum distance (radius) in which junk will not spawn around custom points.
This is array of custom points. Make sure to not add "," after last element.
_deniedplaces = [
[6329,7808], //stary sobor outpost point 1
[6294,7825] //stary sobor outpost point 2
];
Warnings:
Only switch off custom points cleaning by setting _pointsclear to false!
Credits - DayZ developers.
Discussion/Help
This is modification of original DayZ stream_locationfill.sqf, which allows removal of junk from roads and/or around custom points, leaving it everyhere else.
Requirements: Custom compiles.sqf
- Easy = Blue <10
- Installation into mission
- Take my custom stream_locationFill.sqf and put it somewhere. In my case it's dayz_1.Chernarus\custom\code\
- edit compiles.sqf (line 29 in my case) to be:
stream_locationFill = compile preprocessFileLineNumbers "custom\code\stream_locationFill.sqf";
- Edit you stream_locationfill.sqf (Se below for explanation)
- You're done!
How and what to edit in stream_locationfill.sqf
I tried to comment all my edits but:
_roadclear = true; - set to false to not remove junk from roads.
_pointsclear = true; - set to false if you don't want to remove junk around custom points.
_mindistance = 100; - Minimum distance (radius) in which junk will not spawn around custom points.
This is array of custom points. Make sure to not add "," after last element.
_deniedplaces = [
[6329,7808], //stary sobor outpost point 1
[6294,7825] //stary sobor outpost point 2
];
Warnings:
Only switch off custom points cleaning by setting _pointsclear to false!
Credits - DayZ developers.
Discussion/Help