koms
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by koms
-
-
Zupa, hello.After the change:Anyway it does not display information about weapons, magazines and backpacks with the purchase of cars and weapons and magazines, when buying a backpack.Can I fix it? All screenshots attached.Configs:z_at_displayVehicleInfo.sqf:
if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons')) then { _transportMaxWeapons = getNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons'); }; if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines')) then { _transportMaxMagazines = getNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines'); }; if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxBackpacks')) then { _transportmaxBackpacks = getNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxBackpacks'); };
z_at_displayBackpackInfo.sqf:
if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons')) then { _transportMaxWeapons = getNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons'); }; if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines')) then { _transportMaxMagazines = getNumber (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines'); };
and cfgVehicles.hpp (any example)^
class Fishing_Boat: Ship { displayName = "Fishing boat"; maxSpeed = 40; transportMaxMagazines = 400; transportMaxWeapons = 40; transportMaxBackpacks = 8; };
class UralOpen_Base; class UralCivil2_DZE : UralOpen_Base { displayName = "Ural (Civil 2)"; model = "\ca\wheeled\Ural_Open"; accuracy = 0.22; scope = 2; side = 3; faction = "CIV"; vehicleClass = "Car"; crew = ""; typicalCargo[] = {}; class TransportMagazines{}; class TransportWeapons{}; picture = "\Ca\wheeled\data\ico\ural_civil1_CA.paa"; rarityUrban = 0.22; hiddenSelectionsTextures[] = { "\ca\wheeled\data\ural_kabina_civ2_co.paa", "\ca\wheeled\data\ural_korba_civ2_co.paa" }; };
class Mi17_Civilian; class Mi17_Civilian_DZ: Mi17_Civilian { displayname = "Mi-17 (Civilian)"; displaynameshort = "Mi-17 (Civ)"; scope = 2; side = 3; crew = ""; typicalCargo[] = {}; class TransportMagazines{}; class TransportWeapons{}; commanderCanSee = 2+16+32; gunnerCanSee = 2+16+32; driverCanSee = 2+16+32; transportMaxWeapons = 10; transportMaxMagazines = 50; transportmaxbackpacks = 10; };
class DZ_CivilBackpack_EP1: Bag_Base_EP1 { scope = 2; displayName = $STR_EPOCH_PACK_CZECH; picture = "\ca\weapons_e\data\icons\backpack_ACR_CA.paa"; icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa"; mapsize = 2; model = "\ca\weapons_e\AmmoBoxes\backpack_acr.p3d"; transportMaxWeapons = 4; transportMaxMagazines = 40; class eventHandlers { init="[(_this select 0),'CfgVehicles','DZ_CivilBackpack_EP1'] execVM '\z\addons\dayz_code\init\object_BackpackAction.sqf';"; }; };
all images:
This is the normal display and sale:
There are always slots = 0:
There are always slots = 0:There are always slots not= 0:There are always slots = 0:There are always slots not= 0:Here the seller of boats. Do not display the names and general weirdness:
In none of these examples does not display information about the capacity of the weapons and magazines.
As I understand it, for the Urals is no information on roominess? Then how does it come into play?
Well, that transport can not buy is as it should be, as I understand it?)
-
in some files:
_formattedText = format [ "<img image='%1' size='3'/><br />" +
changed
_formattedText = format [ "<img image='%1' size='3' align='center'/><br />" +
above screenshot vehicle "Ural".
Thank's!
-
Hi! I fully translated into Russian AdvancedTrading 2.0 (yesterday was the release), works well, thank you very much for the work, not only displays information about weapons, mags and backpacks to buy cars and weapons and mags to buy a backpack.Can I fix it? All screenshots attached.By the way, you can simply do a separate language file? It is easier to translate into other languages by replacing the file.Maybe we should add animation in the trade, which can optionally on \ off in config.sqf?config:
Z_AT_FolderLocation = 'custom\ATrade'; Z_VehicleDistance = 30; // Distance that a vehicle needs to be to see it's content or to sell it. Z_SingleCurrency = true; // Does your server use a single currency system. Z_AllowTakingMoneyFromBackpack = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack. Z_AllowTakingMoneyFromVehicle = false; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle. //----------------------------------------------------------------------------------------------- Z_MoneyVariable = "cashMoney"; // If using a Single currency system, change this to whatever currency you are using. _transportMaxWeapons = 0; _transportMaxMagazines = 0; _transportmaxBackpacks = 0; //----------------------------------------------------------------------------------------------- if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons')) then { _transportMaxWeapons = getText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxWeapons'); }; if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines')) then { _transportMaxMagazines = getText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxMagazines'); }; if ( isText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxBackpacks')) then { _transportmaxBackpacks = getText (configFile >> 'CfgVehicles' >> _class >> 'transportMaxBackpacks'); }; //----------------------------------------------------------------------------------------------- if (Z_SingleCurrency) then { _formattedText = format [ "<img image='%1' size='3' /><br />" + "<t color='#33BFFF'>Название: </t><t color='#ffffff'>%2</t><br />" + "<t color='#33BFFF'>Класс: </t><t color='#ffffff'>%3</t><br />" + "<t color='#33BFFF'>Куплю за: </t><t color='#ffffff'>%5 %7</t><br />" + "<t color='#33BFFF'>Продам за: </t><t color='#ffffff'>%6 %7</t><br />" + "<t color='#33BFFF'>Магазинов: </t><t color='#ffffff'>%9</t><br />" + "<t color='#33BFFF'>Оружия: </t><t color='#ffffff'>%8</t><br />" + "<t color='#33BFFF'>Рюкзаков: </t><t color='#ffffff'>%4</t><br />" , _picture, _display, _class, _transportmaxBackpacks, _sellPrice, _buyPrice, CurrencyName, _transportMaxWeapons,_transportMaxMagazines ];
Elevator Script for Players and Vehicles [WIP/Prototype]
in A2: Epoch Mods (1.0.5.1)
Posted
Hey guy!
But there is no variable declaration _stop in the file elevator_functions.sqf. I do not have a problem and vanishing point of stopping here?
UPDATED: I downloaded from het latest version and it works. Although the version has not changed))