geekm0nkey 144 Report post Posted March 21, 2018 Is it possible to move the trader markers or markers in general from the mission.sqm file into a server side sqf? I have already done this with all the custom trader content such as buildings and structures. But would also like to move the markers. I have each section of my custom content in its own file. If i could move the associated markers as well, then I could simply turn off areas I no longer need. Thus opening up the option to build a script for dynamic load out of the map.. Say.. I could make like 8 trader zones, and have the script pick 3 at random and display them.. (of course i would already have built out no build zones for those areas..) but before that's created would still be nice to be able to have it all in one place. Anyone have example code of this? Say trader zone icon, radius etc.. how to add it to sqf? Thanks. Share this post Link to post Share on other sites
MGTDB 956 Report post Posted March 21, 2018 Yes you can move markers server side, but................... Exile won't be able to read those zones for safezone, no building etc etc Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted March 21, 2018 (edited) hmm... setback. what about keeping them client side? same result? I just want them out of the mission.sqm file. I do have some markers that are for cosmetic uses.. Need to be able to move over shape,size, opacity and direction. Edited March 21, 2018 by geekm0nkey Share this post Link to post Share on other sites
Sir_Joker 54 Report post Posted March 21, 2018 (edited) i am not sure, but i think, spawn, trader end other zones were read from the mission.sqm You can create marker serverside with the createMarker command: https://community.bistudio.com/wiki/createMarker Edited March 21, 2018 by Sir_Joker Share this post Link to post Share on other sites
WURSTKETTE 212 Report post Posted March 21, 2018 (edited) 34 minutes ago, geekm0nkey said: what about keeping them client side? That should work, i'm under the impression it also should work serversided - isn't exile just checking type= ExileTraderzone, ExileSafeZone and so on forEach allMapMarkers? Maybe i'm missing something important here Edited March 21, 2018 by WURSTKETTE Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted March 21, 2018 Yeah, pretty good with making basic map marker.. (PVP map markers.. ) lol. Specifically I have added markers to simulate road changes, and want them moved client side, would also like to move all trader related markers to their own trader sqf files.. For instance, in my a3_custom.pbo, I define each area as a separate file.. like island.sqf, bridge.sqf, traderhilltop.sqf, tradercastle, sqf and so on.. and would like to put the associated markers for those items into their sqf file.. for easier adjustments and removal as needed. Also helps should I need to share something with the community.. All they then have to do is drop the bpo in and done.. (other than the trader AI.) Share this post Link to post Share on other sites
Krussedull 5 Report post Posted March 22, 2018 can u show me the a3 custom, im working on getting this to work whit no luck what so ever.. Share this post Link to post Share on other sites
Krussedull 5 Report post Posted March 22, 2018 my sqf file whit the addons building just wont show!.. so an example on the files woude be nice Share this post Link to post Share on other sites
Puma_123 2 Report post Posted March 23, 2018 That would interest me too Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted March 27, 2018 anyone know why this doesn't work? ignore the position, was just duplicated.. private _markers = [ [[10369, 4818.46], "marker_0", "RECTANGLE", "ColorOrange", "SolidFull", [7.0910001, 6.421], 37.278], [[10369, 4818.46], "marker_1", "RECTANGLE", "ColorOrange", "SolidFull", [7.0910001, 6.421], 37.278], [[10369, 4818.46], "marker_2", "RECTANGLE", "ColorOrange", "SolidFull", [7.0910001, 6.421], 37.278], [[10369, 4818.46], "marker_3", "RECTANGLE", "ColorOrange", "SolidFull", [7.0910001, 6.421], 37.278] ]; { private _marker = createMarker [(_x select 1), (_x select 0)]; _marker setMarkerShape (_x select 2); _marker setMarkerColor (_x select 3); _marker setMarkerBrush (_x select 4); _marker setMarkerSize (_x select 5); _marker setMarkerDir (_x select 6); } forEach _markers; Share this post Link to post Share on other sites