Bus System configuration loading working! next to actually make it

This commit is contained in:
Benjamin Kyd
2019-05-12 00:11:48 +01:00
parent 0c811d174d
commit b9cda04514
8 changed files with 1537 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
/**
* Copyright© Benjamin Kyd 2019
* loadConfig.sqf
*/
private _stops = getArray (missionConfigFile >> "cfgBus" >> "stops" >> "names");
hint format ["%1", _stops];

View File

@@ -0,0 +1,5 @@
/**
* Copyright© Benjamin Kyd 2019
* fn_setupSigns.sqf
*/

View File

@@ -0,0 +1,53 @@
class cfgBus {
class stops {
names[] = {
"Abdera",
"Agios",
"Airport",
"Athira",
"Chalkia",
"Charkia",
"Feres",
"Kavala",
"Kore",
"Lakka",
"Molos",
"Negardes",
"Neochori",
"Oreokastro",
"Panagia",
"Panochori",
"Paros",
"Pyrgos",
"Sofia",
"Telos",
"Therisa",
"Zaros"
};
locations[] = {
{9414,20294,0},
{9344,15885,0},
{14502,16889,0},
{14070,18584,0}, //athira
{19983,11471,0},
{18087,15195,0},
{21785,7482,0}, //feres
{3651,13273,0},
{7096,16414,0},
{12372,15778,0},//lakka
{27012,23282,0},
{4908,16140,0},
{12568,14349,0},//neochori
{4577,21392,0},
{20602,8841,0},
{5093,11263,0},//panochori
{20917,16908,0},
{16658,12463,0},
{25742,21387,0},//sofia
{16269,17325,0},
{10714,12312,0},
{9055,11985,0}//zaros
};
};
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
disableAI = 1;
#include "defines.hpp"
#include "config_bus.hpp"
class cfgFunctions {
#include "functions.hpp"
};

View File

@@ -0,0 +1,8 @@
class RR {
tag = "RR";
class functions {
file = "RR_functions";
class loadConfig {};
class setupSigns {};
};
};

View File

@@ -0,0 +1,8 @@
/**
* Copyright© Benjamin Kyd 2019
* init.sqf
*/
[] call RR_fnc_loadConfig;

Binary file not shown.