Pat01 Posted November 18, 2012 Posted November 18, 2012 (edited) Hi, I'm trying to convert my Gazelle to plane. It's great I can now build my own fm dll. BUT It appears as plane in the ME I can't use the farps anymore. Most of the external args don't work. Some of the internal cockpit still work fine (rudder, stick ...) Are the args defined in the dll or in the DCS's core ? it could be cool to be able to define our own args. I'm looking for the prop arg with no luck at this time. I had a look to the p-51D.edm and saw the prop arg is 407, tried to change it in my model but it still doesn't work. The lights args are the same (190,191,192) but don't work too. What am I missing ? EDIT : The sounds don't work anymore, If I replace my own dll with some ED's (P-51D, A-10C) the sounds play (not the way it should, but play) The sounds are defined in the dll too ? Edited November 18, 2012 by Pat01
Pat01 Posted November 18, 2012 Author Posted November 18, 2012 Let's begin at the beginning. I'd like to open the cockpit door with a keyboard shortkey. In the keyboard.lua here's what it says {combos = {{key = "C", reformers = {"RCtrl", }}, }, down = iCommandPlaneFonar, name = "Cockpit door open/close", category = "Systems"}, I guess I have to define the corresponding action with the right argument for the external 3d model. Where ? in the dll ? How ? I saw a function "void ed_fm_set_command (int command,float value)" in the template, but I guess it's for receiving command and setting internal variables ? I declared PlaneFonar = 71, in the cockpit command_defs.lua No more idea now ...
peyvolt Posted November 18, 2012 Posted November 18, 2012 Let's begin at the beginning. I'd like to open the cockpit door with a keyboard shortkey. In the keyboard.lua here's what it says {combos = {{key = "C", reformers = {"RCtrl", }}, }, down = iCommandPlaneFonar, name = "Cockpit door open/close", category = "Systems"}, I guess I have to define the corresponding action with the right argument for the external 3d model. Where ? in the dll ? How ? I saw a function "void ed_fm_set_command (int command,float value)" in the template, but I guess it's for receiving command and setting internal variables ? I declared PlaneFonar = 71, in the cockpit command_defs.lua No more idea now ... Whick program do you use for dll module?I will try to do my own EFM
Pat01 Posted November 18, 2012 Author Posted November 18, 2012 (edited) I got it to work with a button in the cockpit but not with a keyboard shortkey. See here http://forums.eagle.ru/showthread.php?t=97500 post #8 Edited November 18, 2012 by Pat01
Recommended Posts