hogansheroes 374 Report post Posted March 3, 2018 Hey guys, as i know there is a script out there, so just say if you build in someones territory the message comes up and say you are too close to enemy territory, but i dont want this. What im after is if you build say close to a city thats when the message will say you are too close to enemy territory So im after the script that stops you from building in areas that you list to be blacklisted from building close too. I know its here on the forums somewhere but not sure where. Thanks All Share this post Link to post Share on other sites
MetalHead 116 Report post Posted March 3, 2018 (edited) There probably is a script/mod that can do this but the easiest method is to add markers in the mission.sqm like the one below. Spoiler class Item0 { dataType="Marker"; position[]={9172.5098,0,11415.1}; name="ExileMarker0"; markerType="ELLIPSE"; type="ExileNonConstructionZone"; colorName="ColorBlack"; alpha=0; fillName="Border"; a=1000; b=1000; drawBorder=1; id=1; atlOffset=-108.35082; }; Edited March 3, 2018 by MetalHead 1 Share this post Link to post Share on other sites
hogansheroes 374 Report post Posted March 3, 2018 (edited) 23 minutes ago, MetalHead said: There probably is a script/mod that can do this but the easiest method is to add markers in the mission.sqm like the one below. Hide contents class Item0 { dataType="Marker"; position[]={9172.5098,0,11415.1}; name="ExileMarker0"; markerType="ELLIPSE"; type="ExileNonConstructionZone"; colorName="ColorBlack"; alpha=0; fillName="Border"; a=1000; b=1000; drawBorder=1; id=1; atlOffset=-108.35082; }; That will do perfect, Thanks MetalHead. Just to make sure on where to add this in the mission.sqm would it be with the trader markers and spawn zone markers, Id say. Edited March 3, 2018 by hogansheroes Share this post Link to post Share on other sites
MetalHead 116 Report post Posted March 3, 2018 (edited) 2 hours ago, hogansheroes said: That will do perfect, Thanks MetalHead. Just to make sure on where to add this in the mission.sqm would it be with the trader markers and spawn zone markers, Id say. Yes. Add them at the bottom of the list. Be sure to add any ID/class Item numbers in sequence and be sure to update the class Entities items=??; to the correct amount near the beginning of the mission.sqm. Edited March 3, 2018 by MetalHead Share this post Link to post Share on other sites
hogansheroes 374 Report post Posted March 3, 2018 5 hours ago, MetalHead said: Yes. Add them at the bottom of the list. Be sure to add any ID/class Item numbers in sequence and be sure to update the class Entities items=??; to the correct amount near the beginning of the mission.sqm. thought so, Cheers man for that info Share this post Link to post Share on other sites