Skip to content

Installation

Amaury edited this page Feb 3, 2018 · 10 revisions

ℹ️ Only available for GPS version 1.1+

In your description.ext file

Add this line :

  #include "path_to_gps_folder\config.hpp"

In your init file

Add this line :

  [] execVM "path_to_gps_folder\init.sqf"

Import the data of your current map

Put the folder with the name of your map inside your gps_core/data folder.

For example , if your map is Altis , copy paste the Altis folder into the data folder.

To call the Menu

Use the function gps_menu_fnc_loadGPSMenu to call the menu

Example if you want to open it with an AddAction

Here we subscribe to the gps_functions_compiled event to insure that the gps functions are defined.

   [missionNameSpace,"gps_functions_compiled",{
     player addAction ["Open GPS",gps_menu_fnc_loadGPSMenu];
   }] call bis_fnc_addScriptedEventHandler;

Now it should work , have fun !

To navigate : menu >> navigation >> shift + click on the map where you want to go.

Known Issues

  • If you have already a RscTitles class , just place the 2 #include inside the class in config.hpp and move it to your other RscTitles class.

⚠️ Don't forget to edit the path in your current RscTitles.