Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
MrMiBl

Dayz epoch 1.0.7.1 Virtual Garage

Друзья привет! Подскажет может кто... Вообщем на Epoch 1.0.7.1 при доставании техники с гаража отсутвствует бк. Куда копать?

ConfigVaribles

Если на значении

vg_clearAmmo = true;

поставить false то бк есть. Но он так-же пополняется если поставить и достать технику

(На 1.0.7 пополнение было только после рестарта) Как исправить?

Так же в этом файле есть вот этот раздел.

DZE_disableThermal = []; // Array of vehicle classnames to disable thermal on when being spawned. i.e: ["AH1Z","MTVR"];
DZE_clearStaticAmmo = false; // Clears the ammo of all built and spawned static guns	
DZE_clearVehicleAmmo = false; // Clears the ammo of vehicles spawned, bought, claimed and upgraded during the same restart	
DZE_clearVehicleFlares = false; // Clears the flares of vehicles during the same restart, DZE_clearVehicleAmmo must be true in order to work
DZE_addVehicleAmmo = false; // Adds ammo to all spawned, bought, claimed and upgraded vehicles during the same restart

В compiles.sqf прописал так(ставил гараж с версии 1.0.7 где всё работало так как надо.)

if (DZE_Virtual_Garage) then {
	player_getVehicle = compile preprocessFileLineNumbers "scripts\virtualGarage\player_getVehicle.sqf";
	player_removePad = compile preprocessFileLineNumbers "scripts\virtualGarage\player_removePad.sqf";
	player_storeVehicle = compile preprocessFileLineNumbers "scripts\virtualGarage\player_storeVehicle.sqf";
	Player_MaintainVG = compile preprocessFileLineNumbers "scripts\virtualGarage\player_MaintainVG.sqf";
	vehicleInfo = compile preprocessFileLineNumbers "scripts\virtualGarage\vehicleInfo.sqf";
	vg_maintainSetText = {
		disableSerialization;
		waituntil {!isNull (findDisplay 2800)};
		_vgDisplCtl = (findDisplay 2800) displayCtrl 2854;
		if (vg_maintainCost > 0) then {
			_itemText = if (Z_SingleCurrency) then {CurrencyName} else {[vg_maintainCost,true] call z_calcCurrency};
			if (Z_SingleCurrency) then {
				_vgDisplCtl ctrlSetText format["%1 (%2 %3)",localize "STR_CL_VG_MAINTAIN_GARAGE",vg_maintainCost,_itemText];
			} else {
				_vgDisplCtl ctrlSetText format["%1 (%2)",localize "STR_CL_VG_MAINTAIN_GARAGE",_itemText];
			};
		} else {
			_vgDisplCtl ctrlSetText format["%1 (%2)",localize "STR_CL_VG_MAINTAIN_GARAGE",localize "strwffree"];
		};
	};

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Всем спасибо! Разобрался сам. Вопрос решён

 

Share this post


Link to post
Share on other sites



  • 0
27.08.2022 в 04:01, MeJlo4 сказал:

как исправил?

Всё как описано в моём вопросе, только на серверной части забыл пути от стандартного к "кастомному?" забыл поменять

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.