The default locations in Arma 3 have attributes that have not been set, including locations direction. This results in location "areas" that do not cover the actual area even closely.
Description
Details
- Legacy ID
- 3710296184
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Editor
Make any list of locations... for example...
myLocations = nearestLocations [getPos player,["NameCityCapital","NameCity","NameVillage","NameLocal"], 100000];
Make a marker showing the area of each of these...
{
_loc = _x; _locX = (size _loc) select 0; _locY = (size _loc) select 1; _locDir = direction _loc; _locRec = rectangular _loc; _markername = "marker" + format["%1",floor(random 1000000)]; _marker = createMarker [_markername, locationPosition _loc]; if (_locRec) then { _markername setMarkerShape "RECTANGLE"; } else { _markername setMarkerShape "ELLIPSE"; }; _markername setMarkerSize [_locX, _locY]; _markername setMarkerDir _locDir;
} forEach myLocations;
To do all this, you can simply paste this in the activation of a placed unit...
myLocations = nearestLocations [getPos this,["NameCityCapital","NameCity","NameVillage","NameLocal"], 100000]; { _loc = _x; _locX = (size _loc) select 0; _locY = (size _loc) select 1; _locDir = direction _loc; _locRec = rectangular _loc; _markername = "marker" + format["%1",floor(random 1000000)]; _marker = createMarker [_markername, locationPosition _loc]; if (_locRec) then { _markername setMarkerShape "RECTANGLE"; } else { _markername setMarkerShape "ELLIPSE"; }; _markername setMarkerSize [_locX, _locY]; _markername setMarkerDir _locDir; } forEach myLocations;
The map shows that locations have wildly varying sizes, and none have directions applied to them.
This makes working with the default locations nearly impossible for anything other than actual position.
Event Timeline
Upvoted.
On a sidenote most location classes are unused in A3, locations like "FlatArea","ViewPoint","RockArea" and all Vegetation locationtypes are unused and will return [0,0,0] when used as a filter for locationtypes.
Upvoted.
two thinks will help,... make the Default locations able to remove/delete,
or make the default locations editable!
Problem for a Mission Maker,... You give us the wonderful ability to create
a Mission in that our dreams can become true!
but... i Agree with @Orion93
"This makes working with the default locations nearly impossible for
anything other than actual position."
the Problem is, every person have a different opinion about maybe what is the right size of a specific City location, like Abdera on Altis.
So, sure if i dont like your default locations i can create my own locations,
easy...
For a example i create new locations for all default Towns in the category "NameVillage"!
...but now, the easy way, you give us, to find all locations of a Type X in a range of X, not work that easy way now...
OK also not a big Problem, because its possible to check if the results are in My_NameVillage_LocationList, then i get also what i want,...
but it will help a lot, make the default locations editable ...