This commit is contained in:
second_coming 2016-07-19 12:35:30 +01:00
parent 9c04365330
commit 6d8fe9baef
2 changed files with 26 additions and 17 deletions

View File

@ -16,7 +16,7 @@
SC_debug = false; // set to true to turn on debug features (not for live servers)
SC_useApexClasses = true; // true if you want to use the Apex class list over rides, false to use vanilla Arma gear
SC_useMapOverrides = true; // set to true to enable over riding options per map (see the bottom of this file for examples)
SC_useMapOverrides = false; // set to true to enable over riding options per map (see the bottom of this file for examples)
SC_extendedLogging = false; // set to true for additional logging
SC_processReporter = true; // log the a list of active server processes every 60 seconds (useful for debugging server problems)
SC_infiSTAR_log = true; // true Use infiSTAR logging, false logs to server rpt
@ -55,8 +55,8 @@ SC_occupyVehiclesLocked = false; // true if AI vehicles to stay locked unt
SC_occupyTraders = true; // (WORK IN PROGRESS) true if you want to create trader camps at positions specified in SC_occupyTraderDetails
SC_occupyTraderDetails = [
["Tanoa","Lifou Traders",[7317,7217,0],"trader1.sqf",true],
["Tanoa","Lijnhaven Traders",[11580,2051,0],"trader1.sqf",true],
//["Tanoa","Lifou Traders",[7317,7217,0],"trader1.sqf",true],
//["Tanoa","Lijnhaven Traders",[11580,2051,0],"trader1.sqf",true],
["Napf","Hafen Traders",[9286,17606,0],"trader1.sqf",true]
]; //["mapname","Name",[x,y,z],"filename",true] trader name, location, safezone true/false

View File

@ -19,6 +19,11 @@ _logDetail = format['[OCCUPATION:Traders] starting @ %1',time];
_marker setMarkerShape "ICON";
_marker setMarkerType "ExileTraderZoneIcon";
private _marker1 = createMarker [ format [" %1_1 ", _traderName], _traderPos];
_marker1 setMarkerText "";
_marker1 setMarkerType "ExileTraderZone";
_marker1 setmarkeralpha 0;
if(_createSafezone) then
{
ExileTraderZoneMarkerPositions pushBack _traderPos;
@ -36,13 +41,13 @@ _logDetail = format['[OCCUPATION:Traders] starting @ %1',time];
["Exile_Trader_AircraftCustoms", "Exile_Sign_AircraftCustoms", "GreekHead_A3_08", ["HubBriefing_loop","HubBriefing_scratch","HubBriefing_stretch","HubBriefing_think"]],
["Exile_Trader_Aircraft", "Exile_Sign_Aircraft", "WhiteHead_10", ["LHD_krajPaluby"]],
["Exile_Trader_Armory", "Exile_Sign_Armory", "WhiteHead_01", ["InBaseMoves_HandsBehindBack1","InBaseMoves_HandsBehindBack2"]],
["Exile_Trader_Hardware", "Exile_Sign_Hardware", "WhiteHead_14", ["HubStandingUC_idle1"]],
["Exile_Trader_Vehicle", "Exile_Sign_Vehicles", "AfricanHead_03", ["HubStandingUC_idle2"]],
["Exile_Trader_Hardware", "Exile_Sign_Hardware", "WhiteHead_14", ["HubStandingUC_idle1","HubStandingUC_idle3"]],
["Exile_Trader_Vehicle", "Exile_Sign_Vehicles", "AfricanHead_03", ["HubStandingUC_idle2","HubStandingUC_idle1"]],
["Exile_Trader_VehicleCustoms", "Exile_Sign_VehicleCustoms", "GreekHead_A3_05", ["HubBriefing_loop","HubBriefing_scratch","HubBriefing_stretch","HubBriefing_think"]],
["Exile_Trader_WasteDump", "Exile_Sign_WasteDump", "WhiteHead_07", ["c4coming2cDf_genericstani1","c4coming2cDf_genericstani2","c4coming2cDf_genericstani3"]],
["Exile_Trader_Food", "Exile_Sign_Food", "WhiteHead_15", ["HubStandingUC_idle3"]],
["Exile_Trader_SpecialOperations", "Exile_Sign_SpecialOperations", "WhiteHead_06", ["HubStandingUC_idle1"]],
["Exile_Trader_Equipment", "Exile_Sign_Equipment", "WhiteHead_15", ["HubStandingUC_idle2"]],
["Exile_Trader_Food", "Exile_Sign_Food", "WhiteHead_15", ["HubStandingUC_idle3","HubStandingUC_idle2"]],
["Exile_Trader_SpecialOperations", "Exile_Sign_SpecialOperations", "WhiteHead_06", ["HubStandingUC_idle1","HubStandingUC_idle3"]],
["Exile_Trader_Equipment", "Exile_Sign_Equipment", "WhiteHead_15", ["HubStandingUC_idle2","HubStandingUC_idle1"]],
["Exile_Trader_Office", "Exile_Sign_Office", "WhiteHead_10", ["HubBriefing_loop","HubBriefing_scratch","HubBriefing_stretch","HubBriefing_think"]]
];
@ -94,10 +99,14 @@ _logDetail = format['[OCCUPATION:Traders] starting @ %1',time];
trader setFace _traderFace;
removeGoggles trader;
removeBackpack trader;
removeVest trader;
removeAllItemsWithMagazines trader;
removeHeadgear trader;
removeUniform trader;
removeVest trader;
removeBackpackGlobal trader;
private _loadOut = ["bandit"] call SC_fnc_selectGear;
trader addWeapon (_loadOut select 0);
trader forceAddUniform (_loadOut select 8);
trader addVest (_loadOut select 9);
trader addBackpack (_loadOut select 10);