hotshotmike1001 Posted November 14, 2012 Posted November 14, 2012 (edited) I got some more helicopter stuff flyable for users in my sim Though Once i put the KA-50 Cockpit in it I get CockpitKa50.dll error when i try to load it is there anyway to not need CockpitK in the addon mods and keep the user controls Like auto Start??? I can fly the KA-27 With Out the CockpitKa50 Though With out it i cannot do a Ground start any ideas? Below zip has the files needed to make Other helicopters flyable https://www.dropbox.com/s/yxx5naed4vr59pc/CONFAircrafts.zip Put the files In this zip into your C:\Program Files\Eagle Dynamics\DCS World\Config\Input\Aircrafts Then Goto Mods and make a Copy of Ka-50 Rename it to which aircraft you wanna fly then go into entry.lua change below Default KA50 Config entry.lua local self_ID = "Ka-50 Black Shark by Eagle Dynamics" declare_plugin(self_ID, { image = "Ka-50.bmp", installed = true, -- if false that will be place holder , or advertising dirName = current_mod_path, fileMenuName = _("Ka-50"), version = "1.2.2", state = "installed", info = _("The Ka-50 is a Russian attack helicopter of exceptional design and capability. Featuring its unique counter-rotating rotors, the Black Shark also employs a variety of guided missiles, rockets, and bombs. As the only operational single seat attack helicopter, the Black Shark has features such as an ejection seat and avionics that assist the single pilot workload. "), binaries = { 'Ka50', 'CockpitKa50', }, InputProfiles = { ["ka-50"] = current_mod_path .. '/input/ka-50', ["ka-50_easy"] = current_mod_path .. '/input/ka-50_easy', }, Skins = { { name = _("Ka-50"), dir = "Skins/1" }, }, Missions = { { name = _("Ka-50"), dir = "Missions", CLSID = "{9DC0E99E-6C2C-495e-B3F3-B4F367189B18}", download = "http://www.digitalcombatsimulator.com/en/downloads/video/world/ka_50", download_ru = "http://www.ka50.ru/ru/downloads/video/black_shark_2/" }, }, LogBook = { { name = _("Ka-50"), type = "Ka-50", }, }, Options = { { name = _("Ka-50"), nameId = "Ka-50", dir = "Options", CLSID = "{6FF597CD-1A7B-46e4-8267-AE493975EE30}" }, }, preload_resources = { textures = { "KA-50-blade.bmp", "DAMAGE_Ka-50_n.bmp", "DAMAGE_Ka-50_n1.bmp", "DAMAGE_Ka-50_1.tga", "DAMAGE_KA-50_2.bmp", }, models = {}, fonts = {}, explosions = {}, }, }) mount_vfs_liveries_path(current_mod_path .. "/Liveries") ---------------------------------------------------------------------------------------- make_flyable('Ka-50',current_mod_path..'/Cockpit/Scripts/',{self_ID,'Ka50'}, current_mod_path..'/comm.lua')--make_flyable(obj_name,optional_cockpit path,optional_fm = {mod_of_fm_origin,dll_with_fm}) ---------------------------------------------------------------------------------------- plugin_done() MI-24V flyable local self_ID = "Mi-24V" declare_plugin(self_ID, { image = "Ka-50.bmp", installed = true, -- if false that will be place holder , or advertising dirName = current_mod_path, fileMenuName = _("Mi-24V"), version = "1.2.1", state = "installed", info = _("The Ka-50 is a Russian attack helicopter of exceptional design and capability. Featuring its unique counter-rotating rotors, the Black Shark also employs a variety of guided missiles, rockets, and bombs. As the only operational single seat attack helicopter, the Black Shark has features such as an ejection seat and avionics that assist the single pilot workload. "), binaries = { 'Ka50', 'CockpitKa50', }, InputProfiles = { ["Mi-24V"] = current_mod_path .. '/input/ka-50', }, Skins = { { name = _("Mi-24V"), dir = "Skins/1" }, }, Missions = { { name = _("Mi-24V"), dir = "Missions", CLSID = "{9DC0E99E-6C2C-495e-B3F3-B4F367189B18}", download = "http://www.digitalcombatsimulator.com/en/downloads/video/world/ka_50", download_ru = "http://www.ka50.ru/ru/downloads/video/black_shark_2/" }, }, LogBook = { { name = _("Mi-24V"), type = "Mi-24V", }, }, Options = { { name = _("Mi-24V"), nameId = "Mi-24V", dir = "Options", CLSID = "{6FF597CD-1A7B-46e4-8267-AE493975EE30}" }, }, preload_resources = { textures = { "KA-50-blade.bmp", "DAMAGE_Ka-50_n.bmp", "DAMAGE_Ka-50_n1.bmp", "DAMAGE_Ka-50_1.tga", "DAMAGE_KA-50_2.bmp", }, models = {}, fonts = {}, explosions = {}, }, }) mount_vfs_liveries_path(current_mod_path .. "/Liveries") ---------------------------------------------------------------------------------------- make_flyable('Mi-24V',current_mod_path..'/Cockpit/Scripts/',{self_ID,'Ka50'}, current_mod_path..'/comm.lua')--make_flyable(obj_name,optional_cockpit path,optional_fm = {mod_of_fm_origin,dll_with_fm}) ---------------------------------------------------------------------------------------- plugin_done() for Whats ingame goto This Folder C:\Program Files\Eagle Dynamics\DCS World\Scripts\Database\helicopters Edited November 15, 2012 by hotshotmike1001
hotshotmike1001 Posted November 14, 2012 Author Posted November 14, 2012 does anyone have any idea how to rise the camera View So the Mi-24 View is Above the Dash so you can see over it??
hotshotmike1001 Posted November 14, 2012 Author Posted November 14, 2012 Anyone know to to make loadout menu display like ka50 does on the airfield. When I hit the key it does not come up Default ka50 arming key is. Left alt ,
Mt5_Roie Posted November 14, 2012 Posted November 14, 2012 I would think this would belong more in the mod section...but let me see if I can answer. For the location of the cockpit being blocked you have to relocate the cockpit. This is tricky since your trying to use your cockpit for multiple helicopters. Normally the cockpit location is located in main panel_int.lua and the line you want to mess with is: cockpit_local_point = {4.831, 1.57, 0.0} As for the comms, you need to add a comms file to make that work. That is a bit more complicated though. Coder - Oculus Rift Guy - Court Jester
iceHUMMER Posted November 15, 2012 Posted November 15, 2012 Where it says the location dummy object HUD? sorri my english
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 dont know i am still learning how to make mods aswell
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 anyone have any ideas how to get the payload screen to work so i can arm my Ai flyable helicopters?
SkateZilla Posted November 15, 2012 Posted November 15, 2012 in entry.ini: make_flyable('MODULE NAME', nil, nil, current_mod_path..'/comm.lua') In Notepad++ Make the Comm.lua and place in /Mods/Aircraft/<modulename>/ Folder (might need to edit to work for choppers). local parameters = { fighter = true, radar = true, ECM = true, refueling = true } return utils.verifyChunk(utils.loadfileIn('Scripts/UI/RadioCommandDialogPanel/Config/LockOnAirplane.lua', getfenv()))(parameters) This will bring up the Menu to Re-Arm and Refuel when you press < LALT + ' >. Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
Mt5_Roie Posted November 15, 2012 Posted November 15, 2012 You need to add the plyon information along with weapon types in LUA file of your mod. You can look at examples int he database/plane folder. But it'll look something like: pylon(1, 0, -2.081000, 0.041000, -5.814000, { use_full_connector_position = true, }, { { CLSID = "{C8E06185-7CD6-4C90-959F-044679E90751}" }, { CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}" }, -- aim 9x { CLSID = "{9DDF5297-94B9-42FC-A45E-6E316121CD85}" }, -- 2x aim9m { CLSID = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}" }, --hellfire x4 { CLSID = "AGM114x2_OH_58" }, -- Hellfire x2 { CLSID = "{ee368869-c35a-486a-afe7-284beb7c5d52}" }, -- Hellfire single { CLSID = "{5335D97A-35A5-4643-9D9B-026C75961E52}" }, -- CBU-97 { CLSID = "{DAC53A2F-79CA-42FF-A77A-F5649B601308}" }, -- LAU-88 AGM-65D*3 { CLSID = "{444BA8AE-82A7-4345-842E-76154EFCCA46}" }, -- LAU-117 AGM-65D { CLSID = "{3EA17AB0-A805-4D9E-8732-4CE00CB00F17}" }, -- BGM 71 x4 { CLSID = "LAU_131x3_HYDRA_70_M151" }, -- LAU-131x3 with Mk151 { CLSID = "{40EF17B7-F508-45de-8566-6FFECC0C1AB8}" }, { CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}" }, { CLSID = "{9BFD8C90-F7AE-4e90-833B-BFD0CED0E536}" }, } ), Coder - Oculus Rift Guy - Court Jester
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 in entry.ini: make_flyable('MODULE NAME', nil, nil, current_mod_path..'/comm.lua') In Notepad++ Make the Comm.lua and place in /Mods/Aircraft/<modulename>/ Folder (might need to edit to work for choppers). local parameters = { fighter = true, radar = true, ECM = true, refueling = true } return utils.verifyChunk(utils.loadfileIn('Scripts/UI/RadioCommandDialogPanel/Config/LockOnAirplane.lua', getfenv()))(parameters) This will bring up the Menu to Re-Arm and Refuel when you press < LALT + ' >. so i copy the above into the entry.lua file or into the comm file
SkateZilla Posted November 15, 2012 Posted November 15, 2012 (edited) the make_flyable line should already be in your entry.ini, edit it, to add "" current_mod_path..'/comm.lua' "" the rest is the comm.lua local parameters = { fighter = true, radar = true, ECM = true, refueling = true } return utils.verifyChunk(utils.loadfileIn('Scripts/UI/RadioCommandDialogPanel/Config/LockOnAirplane.lua', getfenv()))(parameters) Edited November 15, 2012 by SkateZilla Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 not doing anything here is what i have This one is for the AH-64 apache helicopterComm.luaentry.lua
SkateZilla Posted November 15, 2012 Posted November 15, 2012 comm.lua should be all lower case and in the mods/aircrafts/<module>/folder (w/ the entry.lua) outside of that, the parameters in teh comm.lua may need to be changed, as this is what we have for a test bed FIGHTER. Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 comm.lua should be all lower case and in the mods/aircrafts/<module>/folder (w/ the entry.lua) outside of that, the parameters in teh comm.lua may need to be changed, as this is what we have for a test bed FIGHTER. could you post a comm.lua file in the thread please i am Not very Good with Modding stuff in DCS world i am Kind of lost Thanks again Skatezilla
SkateZilla Posted November 15, 2012 Posted November 15, 2012 Im in my office, i dont have access to my files. Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
SkateZilla Posted November 15, 2012 Posted November 15, 2012 edit: Attached, rename to comm.luacomm (1).lua Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 edit: Attached, rename to comm.lua thank you
SkateZilla Posted November 15, 2012 Posted November 15, 2012 (edited) if it doesnt work, its prolly cuz our comm.lua is coded for a plane and not a chopper, i havent worked with coppers at all, so. if needed, look for the comm.lua for the KA-50, which is Advanced Comms. http://forums.eagle.ru/showthread.php?p=1567362&highlight=comm.lua#post1567362 Edited November 15, 2012 by SkateZilla Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
hotshotmike1001 Posted November 15, 2012 Author Posted November 15, 2012 the weapons menu still no Go Bummer
Recommended Posts