Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

hekut146

Member
  • Content Count

    16
  • Joined

  • Last visited

  • Medals

Everything posted by hekut146

  1. 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
  2. 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
  3. 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";
  4. 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 )
  5. 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
  6. 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/
  7. 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
  8. Problem i think in layers, but i don't know how work layers in arma...
  9. 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?
  10. 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
  11. 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)?!
  12. 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.
  13. 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
  14. please fix arma 2 oa status info and dayzmod thank you in advance..
  15. hekut146

    [R3F] Realism

    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
×