stuzer05
61de8f76f3
Closes #15 Reviewed-on: #16 Co-authored-by: stuzer05 <stuzer05@stuzer.link> Co-committed-by: stuzer05 <stuzer05@stuzer.link>
52 lines
3.7 KiB
Plaintext
Executable File
52 lines
3.7 KiB
Plaintext
Executable File
if (isServer) then {
|
|
vkc_clearAmmo = true; // Clear the ammo of vehicles after they have been rekeyed/claimed? (stops users getting a free rearm)
|
|
vkc_disableThermal = [""]; // Array of vehicle config classes as well as vehicle classnames to disable thermal on when being spawned. i.e: ["All","Land","Air","Ship","StaticWeapon","AH1Z","MTVR"];
|
|
|
|
vg_clearAmmo = true; // Clear the ammo of vehicles spawned during the same restart they are stored? (stops users storing a vehicle for a free rearm)
|
|
vg_disableThermal = []; // Array of vehicle config classes as well as vehicle classnames to disable thermal on when being spawned. i.e: ["All","Land","Air","Ship","StaticWeapon","AH1Z","MTVR"];
|
|
vg_sortColumn = 0; //0 or an out of range value sorts by the default column 'DisplayName', otherwise 1 = 'DateStored', 2 = 'id', 3 = 'Name' (of storing player), 4 = 'DateMaintained'
|
|
};
|
|
|
|
if (!isDedicated) then {
|
|
diag_log "Loading custom client variables";
|
|
|
|
dayz_resetSelfActions1 = dayz_resetSelfActions;
|
|
dayz_resetSelfActions = {
|
|
call dayz_resetSelfActions1;
|
|
// Add custom reset actions here
|
|
|
|
};
|
|
call dayz_resetSelfActions;
|
|
|
|
vkc_claimPrice = 1000; // Amount in worth for claiming a vehicle. See the top of this script for an explanation.
|
|
vkc_changePrice = 5000; // Amount in worth for changing the key for a vehicle. See the top of this script for an explanation.
|
|
|
|
vg_list = ["Plastic_Pole_EP1_DZ"]; // List of objects/traders that are allowed to interact with virtual garage. i.e: ["Plastic_Pole_EP1_DZ","Worker2"];
|
|
vg_blackListed = []; // Array of vehicle config classes as well as vehicle classnames that are blacklisted from being stored, i.e ["All","Land","Air","Ship","StaticWeapon","AH1Z","MTVR"]
|
|
vg_heliPads = ["Helipad_Civil_DZ","Helipad_Rescue_DZ","Helipad_Army_DZ","Helipad_Cross_DZ","Helipad_ParkBorder_DZ"]; // Array of heli pad classnames
|
|
vg_removeKey = true; // Remove the key from the players inventory after storing vehicle?
|
|
vg_requireKey = true; // Require the player to have the key when storing a locked vehicle.
|
|
vg_storeWithGear = true; // Allow storing vehicles with gear?
|
|
vg_tiedToPole = true; // Tie the virtual garage to a local plot pole? If no plot pole is present (i.e a communal garage at a trader etc) the players UID will be used.
|
|
vg_pricePer = 100; // Price in worth to store a vehicle per gear item, use 0 if you want it to be free.
|
|
vg_maintainCost = 10000; //cost is 1000 per 10oz gold, gem cost is as defined in DZE_GemWorthArray; if you use ZSC then this is an amount of coins. This is a flate rate for all vehicles in the garage/per player depending on vg_tiedToPole
|
|
vg_price = [["Land",500],["Air",500],["Ship",500]];
|
|
/*
|
|
vg_price can be an array of vehicle config classes as well as vehicle classnames, you need to put these in order of what you prefer to get checked first.
|
|
Price is in worth for briefcases or coins for gold based servers (10,000 worth is considered 1 briefcase, 100,000 coins is considered 1 briefcase)
|
|
|
|
i.e:
|
|
vg_price = [["Land",500],["Air",300],["Ship",100]];
|
|
vg_price = [["350z_red",200],["Land",500],["AH1Z",1000],["Air",300],["Ship",100]];
|
|
*/
|
|
vg_limit = [["Land",10],["Air",5],["Ship",5]];
|
|
/*
|
|
vg_limit can be an array of vehicle config classes and classnames to narrow down what players can store or it can be a numerical value for a total limit.
|
|
These can be classnames as well as config classnames, you need to put these in order of what you prefer to get checked first.
|
|
|
|
i.e:
|
|
vg_limit = [["Land",5],["Air",3],["Ship",1]];
|
|
vg_limit = [["350z_red",2],["Land",5],["AH1Z",1],["Air",3],["Ship",1]];
|
|
vg_limit = 5;
|
|
*/
|
|
}; |