ExAd/docs/VirtualGarage/installation.md
2016-05-03 01:21:03 +02:00

1.7 KiB

Installation

Remember for this plugin to work you first need to install

Client

  • Place the folder "VirtualGarage" into "mpmissions\exile.\ExAdClient"

  • Goto "mpmissions\exile.\ExAdClient\CfgFunctions" and uncomment

From

        //#include "VirtualGarage\CfgFunctions.cpp"	 

To

        #include "VirtualGarage\CfgFunctions.cpp"	
  • Repeat last step for "CfgHints"

  • In "config.cpp" in the mission root folder, find class CfgExileCustomCode and add the following row

	ExileServer_system_territory_database_load = "ExAdClient\CustomCode\ExileServer_system_territory_database_load.sqf";  
  • In "config.cpp" you can also add the ("CfgInteractionMenus" >> "Flag" >> "VG") class if you want to be able to fast load the app through your flag pole.

  • Now you can go into "mpmissions\exile.\ExAdClient\VirtualGarage\customize.sqf" and change to desirable settings.

XM8 App

  • Copy over "XM8_apps\apps\XM8_VG"
  • Add the app inside "XM8_apps\XM8_apps_config.sqf"
  • Add "mainVGSlide" in "XM8_apps\XM8_apps\XM8_apps_sliders.hpp"

Server

  • Copy over and pack "@ExileServer\addons\exad_vg" into a pbo.

Database

  • Run the following sql command in you database.
	ALTER TABLE `vehicle` ADD `territory_id` INT(11) UNSIGNED NULL DEFAULT NULL;
	ALTER TABLE `vehicle` ADD CONSTRAINT `vehicle_ibfk_2` FOREIGN KEY (`territory_id`) REFERENCES `territory`(`id`) ON DELETE CASCADE ON UPDATE RESTRICT;
  • Copy over content from "@ExileServer\extDB\sql_custom_v2\exile.ini" - Follow the instructions in the file.