Jump to content

Recommended Posts

Guys,

 

I wanted to add that nice "service point" (repair & refuel) icons on the map and I found the sqf code to add the icons but couldn't find the map coordinates for fuel stations.

Then after some more search I found the code but this time I couldn't figure which one is which so I teleported myself to each fuel station on Chernarus 11 map (took a while).

 

Sharing the resulting work so that others -hopefully- can save time.

 

Please note the original file is not my work, I only used teleport to identify which one is which.

Also, I got bored after a while and left mapping work at Fuel Stations (that's what I needed really).

Fuel Points (i.e.: fuel tanks on map) are still in the document, further down, but they are unnamed - if you need their names enojy the TP :)

 

Thanks

 

Copy and paste the contents of the CODE section below into a new file:
custom\Additional_Markers\Additional_Markers_rev.02.sqf



////////////////////////////////////////////////////////////////////////////////
// SERVICE POINTS -- repair & refuel
////////////////////////////////////////////////////////////////////////////////

// Kamenka
_sp5  = createMarker ["_sp5 ", [2033.0038, 2243.4602]];
_sp5  setMarkerType "RepairVehicle";
_sp5  setMarkerSize [12, 12];
_sp5  = _sp5 ;

// Cherno - West
_sp12  = createMarker ["_sp12 ", [5834.4834, 2187.8044]];
_sp12  setMarkerType "RepairVehicle";
_sp12  setMarkerSize [2, 2];
_sp12  = _sp12 ;

// Cherno - North
_sp4  = createMarker ["_sp4 ", [6680.3447, 2982.3054]];
_sp4  setMarkerType "RepairVehicle";
_sp4  setMarkerSize [2, 2];
_sp4  = _sp4 ;

// Elektro - West
_sp3  = createMarker ["_sp3 ", [9509.1768, 1992.4501]];
_sp3  setMarkerType "RepairVehicle";
_sp3  setMarkerSize [2, 2];
_sp3  = _sp3 ;

// Solnichniy
_sp2  = createMarker ["_sp2 ", [13383.212, 6625.6797]];
_sp2  setMarkerType "RepairVehicle";
_sp2  setMarkerSize [2, 2];
_sp2  = _sp2 ;

// Staroye
_sp20  = createMarker ["_sp20 ", [10166.833, 5301.48]];
_sp20  setMarkerType "RepairVehicle";
_sp20  setMarkerSize [2, 2];
_sp20  = _sp20 ;

// Berezino - North East
_sp1  = createMarker ["_sp1 ", [13002.69, 10099.583]];
_sp1  setMarkerType "RepairVehicle";
_sp1  setMarkerSize [2, 2];
_sp1  = _sp1 ;

// Gorka - East
_sp15  = createMarker ["_sp15 ", [10452.294, 8841.7793]];
_sp15  setMarkerType "RepairVehicle";
_sp15  setMarkerSize [2, 2];
_sp15  = _sp15 ;

// Grishino
_sp14  = createMarker ["_sp14 ", [5845.6499, 10099.621]];
_sp14  setMarkerType "RepairVehicle";
_sp14  setMarkerSize [2, 2];
_sp14  = _sp14 ;

// Vybor
_sp10  = createMarker ["_sp10 ", [3647.1245, 8992.4834]];
_sp10  setMarkerType "RepairVehicle";
_sp10  setMarkerSize [2, 2];
_sp10  = _sp10 ;

// Pustoshka
_sp9  = createMarker ["_sp9 ", [2990.2378, 7451.3711]];
_sp9  setMarkerType "RepairVehicle";
_sp9  setMarkerSize [2, 2];
_sp9  = _sp9 ;

// Novy Sobor
_sp16  = createMarker ["_sp16 ", [7244.3687, 7659.0625]];
_sp16  setMarkerType "RepairVehicle";
_sp16  setMarkerSize [2, 2];
_sp16  = _sp16 ;










////////////////////////////////////////////////////////////////////////////////
// FUEL SOURCES (fuel tanks)
////////////////////////////////////////////////////////////////////////////////

// this is a fuel tank, next to a barn, west of Bash
_sp22  = createMarker ["_sp22 ", [1294.0952, 13392.354]];
_sp22  setMarkerType "RepairVehicle";
_sp22  setMarkerSize [3,3];
_sp22  = _sp22 ;

_sp2  = createMarker ["_sp2 ", [13383.212, 6625.6797]];
_sp2  setMarkerType "RepairVehicle";
_sp2  setMarkerSize [2, 2];
_sp2  = _sp2 ;

_sp6  = createMarker ["_sp6 ", [2180.7197, 4780.9297]];
_sp6  setMarkerType "RepairVehicle";
_sp6  setMarkerSize [2, 2];
_sp6  = _sp6 ;

_sp7  = createMarker ["_sp7 ", [1743.3629, 5080.1709]];
_sp7  setMarkerType "RepairVehicle";
_sp7  setMarkerSize [2, 2];
_sp7  = _sp7 ;

_sp8  = createMarker ["_sp8 ", [2682.3757, 5621.9307]];
_sp8  setMarkerType "RepairVehicle";
_sp8  setMarkerSize [2, 2];
_sp8  = _sp8 ;

_sp11  = createMarker ["_sp11 ", [2887.4641, 9753.9414]];
_sp11  setMarkerType "RepairVehicle";
_sp11  setMarkerSize [2, 2];
_sp11  = _sp11 ;

_sp13  = createMarker ["_sp13 ", [4106.292, 10725.238]];
_sp13  setMarkerType "RepairVehicle";
_sp13  setMarkerSize [2, 2];
_sp13  = _sp13 ;

_sp17  = createMarker ["_sp17 ", [6287.936, 7678.0488]];
_sp17  setMarkerType "RepairVehicle";
_sp17  setMarkerSize [2, 2];
_sp17  = _sp17 ;

_sp18  = createMarker ["_sp18 ", [4723.9639, 10310.541]];
_sp18  setMarkerType "RepairVehicle";
_sp18  setMarkerSize [2, 2];
_sp18  = _sp18 ;

_sp19  = createMarker ["_sp19 ", [12143.996, 12610.404]];
_sp19  setMarkerType "RepairVehicle";
_sp19  setMarkerSize [2, 2];
_sp19  = _sp19 ;

_sp21  = createMarker ["_sp21 ", [13002.69, 10099.583]];
_sp21  setMarkerType "RepairVehicle";
_sp21  setMarkerSize [2, 2];
_sp21  = _sp21 ;

_sp23  = createMarker ["_sp23 ", [4589.4517, 4493.5435]];
_sp23  setMarkerType "RepairVehicle";
_sp23  setMarkerSize [2, 2];
_sp23  = _sp23 ;

_sp24  = createMarker ["_sp24 ", [13760.763, 2896.9409]];
_sp24  setMarkerType "RepairVehicle";
_sp24  setMarkerSize [2, 2];
_sp24  = _sp24 ;

_sp25  = createMarker ["_sp25 ", [7262.6357, 9717.6563]];
_sp25  setMarkerType "RepairVehicle";
_sp25  setMarkerSize [2, 2];
_sp25  = _sp25 ;

_sp27  = createMarker ["_sp27 ", [3971.8403, 8071.04]];
_sp27  setMarkerType "RepairVehicle";
_sp27  setMarkerSize [2, 2];
_sp27  = _sp27 ;

_sp28  = createMarker ["_sp28 ", [3971.2043, 8028.2021]];
_sp28  setMarkerType "RepairVehicle";
_sp28  setMarkerSize [2, 2];
_sp28  = _sp28 ;

_sp29  = createMarker ["_sp29 ", [5003.292, 2417.7615]];
_sp29  setMarkerType "RepairVehicle";
_sp29  setMarkerSize [2, 2];
_sp29  = _sp29 ;

_sp30  = createMarker ["_sp30 ", [13002.69, 10099.583]];
_sp30  setMarkerType "RepairVehicle";
_sp30  setMarkerSize [2, 2];
_sp30  = _sp30 ;

// EOF

P.S.: for any potential day zero newbies -- once you play this file in your mission folder/pbo, you can call it from init.sqf like this:

[] execvm "custom\Additional_Markers\Additional_Markers_rev.02.sqf";

 

I put it here:

if (!isDedicated) then {            <<<< Epoch default - you should have this already
    [] execvm "custom\Additional_Markers\Additional_Markers.sqf";  <<<< we're adding only this line
    //Conduct map operations<<<< Epoch default - you should have this already
    0 fadeSound 0; <<<< Epoch default - you should have this already
<snip>

 

 

 

 

And here is a picture if you wish to take a look or publish it on your web/forums for your players. The big red circles are Service Points. Small icons are Fuel Sources.

L3fF5BK.jpg

Share this post


Link to post
Share on other sites

ignore this.

 

I noticed an issue but it has now been fixed in 1st post above, so just ignore this line here.

A small issue I've noticed: The one below is not a service station, it's just a fuel tank next to a barn...

// Zelenogorsk
_sp22  = createMarker ["_sp22 ", [1294.0952, 13392.354]];
_sp22  setMarkerType "RepairVehicle";
_sp22  setMarkerSize [3,3];
_sp22  = _sp22 ;


Share this post


Link to post
Share on other sites

This is great, thank you for this :)

 

 

omg I was in the middle of doing this and you just saved me a boat load of work, THANK YOU!!!

 

feed the hungry reputation system monster on the forums, if you like it "Like" it :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
    • By totis
      Hi guys.
      I have this error in self actions when i try to refuel canisters from tanks
      error undefenided variable in expression : a_player_jerryfilling.
      My code:
      This changed since 1.0.6.1?  im using that code
      Tnx
    • By totis
      Hi,
      Im using wai missions on my server but i wanna set some statics.
      I see that wai support static missions. Can someone points me with an example or maybe a ready static mission which i coukld edit to my needs?
      Tnx
    • By Hooty
      deleted
       
    • By Thug
      In the HiveExt.ini if I wanted to set the time to say 1415, would you set it as 1415, 14:15 or does it have to be on the hour?
      [Time]
      ;Possible values: Local, Custom, Static
      ;You cannot use Static on OFFICIAL Hive, it will just revert to Local
      Type = Static
      ;If using Custom type, offset from UTC in hours (can be negative as well)
      Offset = -4
      ;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to
      Hour = 14
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...