

hekut146
Member-
Content Count
16 -
Joined
-
Last visited
-
Medals
Everything posted by hekut146
-
How change grenade sound (to empty)
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I add 2 new grenades, and want set empty sound (not want explosive) in cfgAmmo i set: explosive = 0; soundHit[] = {"",0,0}; soundFly[] = {"",0,0}; soundEngine[] = {"",0,0}; but i say explosive granade, please help, thanks problem in jsrs addon (when i disable addon - empty sound work), i try set: requiredAddons[]= { "JSRS_Explosions" }; and in ammo class: screen config in game cfgExlorer mission -
how exec script when arma start (i show menu)
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I try: class RscStandardDisplay; class RscDisplayMain : RscStandardDisplay { onload = "[] execVM '\z\addons\hapodha9i_coji9ihka_main\init_sound.sqf'"; }; }; //not reaction (not work) and try: class Extended_PreInit_EventHandlers { class DayZ_HC { clientInit = "[] execVM '\z\addons\hapodha9i_coji9ihka_main\init_sound.sqf'"; }; }; //work but only when start mission p.s. i want add music to main menu -
how exec script when arma start (i show menu)
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
i found work path but sound don't hear: class RscStandardDisplay; class RscDisplayMain : RscStandardDisplay { onLoad = "call compile preprocessFileLineNumbers '\z\addons\hapodha9i_coji9ihka_main\init.sqf'"; }; i try (in menu don't hear): playMusic "ambient_music_29"; playSound "battle_music_sound_0"; -
how add new key in controll settings
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
i add to config this: class UserActionGroups { class HGN { name = "HGN Controls"; group[] = { "hgn_key_1", "hgn_key_2", "hgn_key_3" }; }; }; class CfgDefaultKeysMapping { hgn_key_1[] = {}; hgn_key_2[] = {}; hgn_key_3[] = {}; }; but where i need add display name? (i see only category key binds ) -
Not reaction on pressed at new inventory control
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Hi, i trying add new controls to inventory, but when i pressed at control not reaction, and not focus, but...: color[] = {1,1,1,1}; colorActive[] = {1,1,1,0.5}; i tryning create medkit\mechanics bag, i add 2 control to inventory, when i press this control rmb, controll call function (draw my not work controls and background (CtrlSetText)) my config: http://pastebin.com/b7kE6RLf screenshot: http://images.akamai.steamusercontent.com/ugc/266088771237370959/F12DF51DE602ACAEEF033B7A27F9345B183CE2A3/ (panel right down) sorry my bad english, thanks in advance for reply -
Not reaction on pressed at new inventory control
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
i found problem, need reCreate (delete old and create new) class background gear in my addon config, now all work http://images.akamai.steamusercontent.com/ugc/266089411981979031/5BA0855F0396EEF6DC83A763ED3299EE560E12D0/ http://images.akamai.steamusercontent.com/ugc/266089411981978535/880E3B1FB0E578817B1646AB632A7EBFF35A7089/ -
Not reaction on pressed at new inventory control
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Now i complite script part for mechanics bag, and when i change pos controls to x = 0; (all work), but when i change to x = 0.977; (pos background) controls don't work -
Not reaction on pressed at new inventory control
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Problem i think in layers, but i don't know how work layers in arma... -
Need help to update config cfgMagazine
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
hi, i have problem i have activated 3 addons: dayz origins dayz epoch my addon In my addon i need update already used classes CfgMagazines: ItemHeatPack ItemPlotDeed SkinBase i add in CfgPatches this: requiredAddons[] = { "dayz_code", "ori_items" }; and in cfgMagazines i add this: class CA_Magazine; class ItemHeatPack : CA_Magazine { scope = 2; count = 1; type = 256; displayName = "$STR_EQUIP_NAME_42"; model = "\ori\items\game\ori_heatpack.p3d"; picture = "\ori\items\data\ico\equip_ori_heatpack_ca.paa"; descriptionShort = "$STR_EQUIP_DESC_42"; class ItemActions { class Use { text="$STR_ACTIONS_HEATPACK"; script="spawn player_useMeds;"; }; }; }; class ItemPlotDeed : CA_Magazine { scope=2; count=1; type=256; displayName="Plot Deed"; model="\z\addons\dayz_epoch\models\doc_generic.p3d"; picture="\z\addons\dayz_epoch\pictures\equip_doc_generic_ca.paa"; descriptionShort="Deed to a plot of land, similar to a plot pole."; weight=0.1; sfx="document"; class ItemActions { class Crafting { text="Craft Plot Pole"; script=";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[]={ "workshop" }; requiretools[]={ "ItemToolbox" }; output[]={ {"ItemPlotDeed",1}, {"ItemGoldBar10oz",2} }; input[]={ {"ItemPlotDeed",1}, {"ItemGoldBar10oz",2} }; }; }; }; class SkinBase : CA_Magazine { scope=0; count=1; type=256; displayName="Clothes"; model="\dayz_equip\models\cloth_parcel.p3d"; picture="\dayz_equip\textures\equip_cloth_parcel_ca.paa"; descriptionShort="Clothes Parcel"; weight=1; class ItemActions { class Use { text="$STR_EPOCH_PLAYER_268"; script="spawn player_wearClothes;"; }; class Crafting { text="$STR_EPOCH_PLAYER_269b"; script=";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; neednearby[]={}; requiretools[]={ "ItemToolbox", "ItemKnife" }; output[]={ {"ItemCanvas",1} }; input[]={ {"SkinBase",2} }; }; class Crafting1 { text="$STR_EPOCH_PLAYER_269"; script=";['Crafting1','CfgMagazines', _id] spawn player_craftItem;"; neednearby[]={}; output[]={ {"ItemRags",2} }; input[]={ {"SkinBase",1} }; }; }; }; but when game loading i don't have changes, my classes reading first (in my addon) and update original (dayz origins and dayz epoch), maybe arma have priority variable for config.cpp? -
Need help to update config cfgMagazine
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
thx for answer, now i try: class CfgPatches { class hapodha9i_coji9ihka_main { units[] = {}; weapons[] = {}; magazines[] = { "ItemPlotDeed", "ItemHeatPack", "SkinBase", "Skin_Sniper1_DZ" }; requiredVersion = 0.1; requiredAddons[] = { "ori_items", "dayz_code", "dayz_equip" }; }; }; and class CfgAddons { access = 1; class PreloadBanks {}; class PreloadAddons { class hapodha9i_coji9ihka_main { list[] = { "ori_items", "dayz_code", "dayz_equip", "hapodha9i_coji9ihka_main" }; }; }; }; and my changes work, but now i have problem with ori_items i see magazines, but not loading models and icons problem appeared after changes in cfgaddon and cfgpatches -
Need help to update config cfgMagazine
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
please somebody answer -
Need help to update config cfgMagazine
hekut146 replied to hekut146's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
in rtp logs i see this Updating base class CA_Magazine->, by z\addons\hapodha9i_coji9ihka_main\config.cpp/CfgMagazines/ItemHeatPack/ Updating base class CA_Magazine->, by z\addons\hapodha9i_coji9ihka_main\config.cpp/CfgMagazines/SkinBase/ and after i see this Updating base class ->CA_Magazine, by ori\items\config.bin/CfgMagazines/ItemHeatPack/ Updating base class ->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/SkinBase/ and Updating base class ->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/ItemPlotDeed/ but don't see my class update this magazine (ItemPlotDeed)?! -
Please help to adding new grenade in game (don't throw grenade)
hekut146 posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Hi, when i add new grenade (in new addon) i don't throw (new grenade) class CfgAmmo { class GrenadeHand_stone; // External class reference class MolotovCoctailAmmo : GrenadeHand_stone { CraterEffects = "NoCrater"; explosionEffects = "GlassSmash"; soundHit[] = {"\z\addons\hapodha9i_coji9ihka_main\molotov\sounds\bottle_break_0", 0.5, 1, 60}; model = "\z\addons\hapodha9i_coji9ihka_main\molotov\models\molotov.p3d"; }; }; class CfgMagazines { class HandGrenade_Stone; // External class reference class MolotovCoctail : HandGrenade_Stone { displayName = "Коктейль Молотова"; descriptionShort = "СтеклÑÐ½Ð½Ð°Ñ Ð±ÑƒÑ‚Ñ‹Ð»ÐºÐ° ÑÐ¾Ð´ÐµÑ€Ð¶Ð°Ñ‰Ð°Ñ Ð³Ð¾Ñ€ÑŽÑ‡ÑƒÑŽ жидкоÑть и запал."; model = "\z\addons\hapodha9i_coji9ihka_main\molotov\models\molotov.p3d"; picture = "\dayz_equip\textures\equip_bottle_jd_ca.paa"; ammo = "MolotovCoctailAmmo"; }; }; class cfgWeapons { class ThrowMuzzle; class MolotovCocktailMuzzle : ThrowMuzzle { displayName = "БроÑить"; magazines[] = {"MolotovCoctail"}; }; }; Why i don't have drop (throw) my grenade, i have this in code: displayName = "БроÑить"; //Throw Please, say me, where my error? Thanks. -
MP Fast time FSM - JIP Compatible
hekut146 replied to tonic-_-'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How can i get skip 60 min in 10 min, script skip every 1 min, i need every 10 min, please help [60,false,true] execFSM "core_time.fsm"; script: https://github.com/joenilan/DayZOrigins/blob/master/MPMissions/dayz_1.origins.tavi/core_time.fsm#L333 don't work -
PHP Interface to Query Arma2:OA Servers
hekut146 replied to firefly2442's topic in ARMA 2 & OA - Servers & Administration
please fix arma 2 oa status info and dayzmod thank you in advance.. -
Please help with your script - [R3F] Realism, the fact is that I installed it in the modification dayz, along with it, I installed debug monitor, the problem is that the window be fatigue in the same corner where the debug monitor, please help change the position of your window with information about the fatigue. P.S. Sorry my bad english