Added a setting that makes vehicles sellable at Black Market Traders
This commit is contained in:
parent
c7ea65d0ad
commit
e849aaae9f
@ -22,6 +22,7 @@ if (_clearInventory) then
|
||||
[_veh] call blck_fnc_emptyObject;
|
||||
};
|
||||
_veh setVehicleLock "LOCKEDPLAYER";
|
||||
if (blck_allowSalesAtBlackMktTraders) then {_veh setVariable["HSHALFPRICE",1,true]};
|
||||
_veh addEventHandler ["GetIn",{ // Note: only fires when vehicle is local to player
|
||||
private["_unit","_veh"];
|
||||
if (_veh getVariable["blck_releasedAt",0] > 0) then {{ _veh removeAllEventHandlers _x} forEach["getin","getout"]};
|
||||
|
@ -12,7 +12,7 @@
|
||||
*/
|
||||
#include"\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||
|
||||
blck_debugON = true;
|
||||
blck_debugON = false;
|
||||
blck_debugLevel = 0; // Sets level of detail for debugging info - WIP.
|
||||
blck_minFPS = 8;
|
||||
|
||||
|
@ -45,6 +45,8 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR
|
||||
blck_crateMoneyGreen = [300, 500];
|
||||
blck_crateMoneyOrange = [500, 750];
|
||||
|
||||
blck_allowSalesAtBlackMktTraders = true; // Allow vehicles to be sold at Halvjes black market traders.
|
||||
|
||||
_blck_lightlyArmed_ARMA3 = [
|
||||
"B_G_Offroad_01_armed_F",
|
||||
"O_G_Offroad_01_armed_F",
|
||||
@ -135,7 +137,7 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR
|
||||
"CUP_O_BMP1_TKA"
|
||||
];
|
||||
|
||||
blck_AIPatrolVehicles = ["B_G_Offroad_01_armed_EPOCH","B_LSV_01_armed_F"]; // Type of vehicle spawned to defend AI bases
|
||||
blck_AIPatrolVehicles = ["B_G_Offroad_01_armed_EPOCH","B_LSV_01_armed_F","I_C_Offroad_02_LMG_F","B_T_LSV_01_armed_black_F","B_T_LSV_01_armed_olive_F","B_T_LSV_01_armed_sand_F"]; // Type of vehicle spawned to defend AI bases
|
||||
blck_AIPatrolVehiclesBlue = blck_AIPatrolVehicles;
|
||||
blck_AIPatrolVehiclesRed = blck_AIPatrolVehicles;
|
||||
blck_AIPatrolVehiclesGreen = blck_AIPatrolVehicles;
|
||||
|
@ -45,6 +45,7 @@ AI WEAPONS, UNIFORMS, VESTS AND GEAR
|
||||
blck_crateMoneyRed = [175, 300];
|
||||
blck_crateMoneyGreen = [300, 500];
|
||||
blck_crateMoneyOrange = [500, 750];
|
||||
blck_allowSalesAtBlackMktTraders = true; // Allow vehicles to be sold at Halvjes black market traders.
|
||||
|
||||
_blck_lightlyArmed_ARMA3 = [
|
||||
"B_G_Offroad_01_armed_F",
|
||||
|
@ -79,7 +79,7 @@ switch (toLower (worldName)) do
|
||||
blck_maxCrashSites = 1; // recommended settings: 3 for Altis, 2 for Tanoa, 1 for smaller maps. Set to -1 to disable
|
||||
|
||||
blck_timeAcceleration = true; // When true, time acceleration will be periodically updated based on amount of daylight at that time according to the values below.
|
||||
blck_timeAccelerationDay = (5/_daylight); // Daytime time accelearation
|
||||
blck_timeAccelerationDay = ((_serverUpTime + 2)/_daylight); // Daytime time accelearation
|
||||
blck_timeAccelerationDusk = 4; // Dawn/dusk time accelearation
|
||||
blck_timeAccelerationNight = (3/_nightTime); // Nighttim time acceleration
|
||||
};
|
||||
|
@ -16,7 +16,7 @@
|
||||
//#define useDynamicSimulation
|
||||
//#define blck_debugMode
|
||||
#define blck_triggerLoopCompleteTime 40*60
|
||||
#define blck_milServer
|
||||
//#define blck_milServer
|
||||
//#define GRG_TestServer
|
||||
|
||||
#ifdef blck_milServer
|
||||
|
Loading…
Reference in New Issue
Block a user