Jump to content

Colseg

Members
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Sorry for the wait guys, got a ready to drop in beta version in the OP, as has been said before the lights related switches don't work at the moment so I disabled them in the beta version until I get the chance to dig into the changes made to their controls, as has also been said the afterburner maximum switch functions other than it visually appearing stuck in the down position, thanks for sticking around guys and happy flying.
  2. I have been working on it, so far I have tried value_down=device_commands.ASPlauncherSelect+0.1 which doesn't create an error but doesn't seem to do anything when used for a keybinding and pressing the keybinding, I have also tried using a for loop and creating local variables like seen in the devices.lua but have not been able to get them to produce any results, I still do not know if the default.lua is something where code can be repeated persistently or if it only runs once. Thanks for the bindings, I never thought about mimicking a 4 position in that way, will definitely add it in the file as an alternative binding to the 3 position version.
  3. It is as ApoNOOB said, the reason for such a large number of 3 position switches is to give people the option of which they would like to use for themselves, there are also 2 position versions available for two of the 3 position switches ("Alternate Landing Lights Land 2 Position Only" "Alternate Weapon AA Mode - IR Missile 2 Position Only") I have been meaning to test if it is possible to use things like increments and decrements as you have said for the weapon selector and other dials for a while and keep forgetting to try, I will look into it.
  4. After having created and maintained my "TM Warthog Keybinds For 3 and 2 Position Switches" lua file for the MiG-21Bis which can be found here http://forums.eagle.ru/showthread.php?t=130459 I saw just how differently Leatherneck Simulations has structured their keybinds in comparison to other modules and have decided to create this guide on their structure as seen in the MiG-21Bis and I predict will continue to be used in subsequent Leatherneck modules. I have made the explanation of certain aspects (namely comments) rather explicit in the hopes of making it easier to understand for people who have not worked with code previously. (1)--Alternate Airbrakes {down=(2)device_commands.Airbrakes,(3)up=device_commands.Airbrakes, (4)cockpit_device_id=devices.AIRBRAKE,(5)value_down=1.0,value_up=0.0, (6)name='Alternate Airbrakes On',(7)category='Flight Controls'}, Above I have taken a line from my MiG-21BIS Custom Controls lua and added reference marks in the form of numbers in parenthesis(note that all numbers with parenthesis shown in the above line should not be included in an actual controls lua as they will render it non-functional and are shown here for reference purposes) (1) "--" this double minus symbol, when placed at the beginning of a line, will identify that line as a comment, a comment is simply a line of text and/or symbols that will be ignored by the program and can be used for creating anything from organization headers, to comments for others who open the file to read, to temporary disabling a line of code for buggfixing reason (2) "device_commands." device_commands. identifies which command is being given a value by your "value_down" or "value_up" from later within this line, the . is followed immediately by a defined command, all commands can be found in the "Eagle Dynamics\DCS World\Mods\aircraft\MiG-21BIS\Cockpit\command_defs.lua" file or the equivalent file in future leatherneck products (keep in mind that some commands that have not been used in the final product may be included here, this can be great if it happens to include one that you needed for your keybinds but can also include commands that still include bugs and therefore could produce odd or even unintendedly useful results or simply do absolutely nothing) (3) "down=" and "up=" these define what device_commands will be used when the button is pressed down and released respectively and these can differ if needed for your keybind (4) "cockpit_device_id=" defines the device id of the device being given a command by your "device_commands." earlier in the line, all of the device ids can be found in the "Eagle Dynamics\DCS World\Mods\aircraft\MiG-21BIS\Cockpit\devices.lua" file and the same warning from the commands explanation applies (5) "value_down=,value_up=," "value_down" identifies the value of the command identified by your "down=" which will be sent to the device identified in your "cockpit_device_id=", "value_up" does the same but identifies the value of your "down=" command instead (6) "name=" identifies the name of this keybind that it will show up under in the DCS keybinds menu (7) "category=" identifies the category that this keybind will show up under in the DCS keybinds menu
  5. I have updated the default.lua for the newest bf-109k-4 containing update.
  6. I have uploaded a new version of the file based on the new default.lua, everyone on the newest version of dcs world will need this update to avoid control issues stemming from changing definitions unless you have already copied the custom section to the new version. Update Updated with the newest controls file since the mini update "1.2.11.34087".
  7. Thanks for the heads up, I will watch for the update and work to resolve the problems as soon as I can after it drops.
  8. You don't need TARGET for this, this just adds new bindings under the names listed in the first post to the keybinds menu that are setup such that when the bind is triggered(the switch is flipped up) the up position is set and when the bind is released(the switch is flipped down) the down position is triggered for 2 way switches and more or less the same system for 3 way switches. What that all means for you is just install the mod as mentioned in the post and then bind the 2 way switches to the 2 way switches on your warthog and the 3 way switches to the up and down positions on any of the warthog's 3 way switches.
  9. I found why I couldn't replicate it, for some reason my dcs didn't find the update yesterday so I am getting it now and should have a fix up for you guys shortly. Since it is based on the old version it doesn't have the new axis or the new standard for the tdc pipper size+/- so if you need it fixed before I can upload the file just copy the custom section out of the modded file and add it just above the --************** Planseta, sorry for the wait, I didn't have much time to look for the problem the last few days. UPDATE I have uploaded the new copy now that is based on the new version of the keybinds file, sorry I took so long, I have been a little busy lately and on top of that my client wouldn't realize there was an update yesterday but the mod should be fully up to date right now and the tdc pipper span+/- binding and the new axis should all be working.
  10. Sorry I haven't had a chance to reply until now. I have not been able to figure out why it might not be working for you, on my end it is working with the current version of dcs world, are you sure your dcs world is up to date?
  11. I have now updated the file in the op with the fix for the TDC Pipper Span Bug, thanks go to Lenop for his contribution.
  12. I have reuploaded the new file with "Alternate Afterburner/Maximum On" since the forum problems seem to have affected files, I remember someone had posted about a problem with setting tdc/pipper size +/- keybinds to the throttle before the forum problems caused the loss of the last few posts, has anyone else experienced this issue?
  13. Update Added those two and uploaded the new file, thanks for your suggestion.
  14. As far as I know it shouldn't get rid of them unless a change is made to the specific file, however the most recent update did seem to replace it with a fresh copy so my recommendation would be to check your keybinds after any update to make sure they haven't disappeared and if they have disappeared to download a new copy of the file, after replacing the file your saved keybinds should also return. UPDATE: Also since I missed the fact that the default.lua file had been updated a few days ago I have uploaded a new version of my default.lua that just adds the same new keybinds to the new version of the file just in case there were any bugfixes made by the devs to it.
  15. You replace the existing one, this is just the normal .lua with some things added at the top. After you replace the default.lua in joystick with this and launch the game you will find a bunch of new Keybinds for the MiG-21Bis that all begin with the word alternate, for the 3 way switches simply bind the up position and down position of your warthog's 3 way switch to the alternate up and down options for that switch and the middle will work as an extension of that without a further binding, for the 2 way switches just bind the up position on the hog's switch to the alternate up position binding and the down position will work without further binding.
×
×
  • Create New...