Jump to content

lesthegrngo

Members
  • Posts

    1245
  • Joined

  • Last visited

Everything posted by lesthegrngo

  1. Yep, same here, as mentioned, even if I save it, it doesn't save the settings Les
  2. Hi All, for my race sim I used to use a set of cheapo Chinese made gauges connected via SimHub to output game data for an instrument binnacle that was a stand off replica of the Ferrari 312T4 dash. They worked very well, driven by a module controlled by an Arduino, which I believe used a PWM output to drive the gauges. Of course, when I went to VR it was shelved For some of the DCS gauges I was wondering if I could use those types of instrument to show certain gauges, on the basis of it having smoother movement. So first question I have is what these gauges use for the mechanism - it is clearly not a stepper, and from my limited knowledge seems to be a coil and a sprung needle. What are these types of devices called, and are they available as bare mechanisms for me to have a play with to see what I could do? I could break open one of the gauges I already have but that would be an expensive way of doing it I realise that they would have limited range of movement compared to the steppers, but maybe by gearing I can overcome that, and even then there are some gauges that don't require a great range. I know it wont replace steppers for all but maybe for smaller range more active devices it may be an option Les
  3. I posted this in the Controller bugs section, but suspect it won't get noticed as much there so I am linking it here - any help you can give gratefully received Les
  4. I can disable nosewheel steering, but clearly I need it for taxiing as well - it's not much fun with it being so sensitive. If I could make it sensibly mapped it would make the pedals work much better Les
  5. Hi all, this may have something to do with a problem reported separately here I am trying to set the view commands, and so I go to settings > options > controls > views I see that I have two Bodnar button boxes, and they are filled out with assignments for view up, down left etc. I go to the controller list at the top, click on it then click on 'clear category' and all the assignments are cleared for that controller. I then select the assignments for the ones I want, click on 'save profile as', select the profile, and click to save it. There is only one profile, so it (as far as I know) should be the default, and since I have just saved it it should be the one being applied. However if I go to fly, the original bindings are still there, and when I go back onto controller settings, all the original bindings have reappeared and my chosen bindings are lost. 'Load profile' is greyed out How can I fix it so that my bindings are saved? Les
  6. Hi all, I can't seem to get the MFG crosswinds to set correctly in DCS. Even though I have gone in and made my own adjustments to the axis curve, basically in theory reducing the sensitivity, in-game especially on the ground the pedals seem to be super sensitive. You just can't touch them, if you do the aircraft dives off the runway. If I set them sometimes it seems to help, but within a short time they revert back to being over sensitive Is there a way to improve this? Les
  7. At the moment you have to either use the Sim Shaker for Aviator or Sim Haptics programs to do so, where you assign a particular effect to a particular USB soundcard channel. It woks, but I believe that some improvement can be gained if we could use DCS Bios to modulate the effect, which at the moment is not possible Les
  8. Well done! Unfortunately, I don't know any other way of seeing the front of the plane in a view similar to HUD mode than using the seat position commands - essentially you move the seat forward so it puts you inside the windscreen area. I was trying this for a while, but the inability to stop the HUD from displaying made me abandon it. With the new approach to disabling the projected HUD you could try it, you have nothing to lose Les
  9. That is bizarre! Here's the A10C HUD_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") dofile(LockOn_Options.script_path.."HUD/device/HUD_param.lua") --indicator_type = indicator_types.COLLIMATOR --purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} -------PAGE IDs------- id_Page = { PAGE_OFF = 0, PAGE_HUD_NAV = 1, PAGE_HUD_GUNS = 2, PAGE_HUD_CCIP = 3, PAGE_HUD_CCRP = 4, PAGE_HUD_AIR_TO_AIR = 5, PAGE_HUD_TEST = 6, PAGE_HUD_TEST_GROUND_BIT = 7, PAGE_HUD_TEST_INFLT_BIT = 8, PAGE_HUD_TEST_AAS = 9, PAGE_HUD_TEST_WEAPONS = 10, PAGE_HUD_TEST_WPN_REL_DATA = 11, PAGE_HUD_TEST_DISPLAY_MODES = 12, PAGE_HUD_TEST_MAINTENANCE = 13, PAGE_HUD_TEST_DELTA_CAL = 14, PAGE_HUD_TEST_BIT_FAULT_DISP = 15, PAGE_HUD_TEST_AAS_MAN_FXD = 16, PAGE_HUD_TEST_AAS_MAN_RTY = 17, PAGE_HUD_TEST_WPNS_30MM = 18, PAGE_HUD_TEST_WPNS_OFFSET_ADJ = 19, PAGE_HUD_TEST_GCAS_BIT = 20, PAGE_HUD_TEST_PREFLIGHT_BIT = 21, PAGE_HUD_TEST_POWER_ON = 22, PAGE_HUD_TEST_GCAS_TRAINING = 23, PAGE_HUD_TEST_GCAS_CAPTURE = 24, PAGE_HUD_TEST_DELTA_CAL = 25, PAGE_HUD_TEST_IFF_ALERT = 26, PAGE_HUD_TEST_WPN_RELEASE = 27, PAGE_HUD_TEST_WPN_REL_GUNS = 28, PAGE_HUD_TEST_WPN_REL_CCIP = 29, PAGE_HUD_TEST_WPN_REL_CCRP = 30, PAGE_HUD_TEST_WPN_REL_MAV = 31, PAGE_HUD_STANDBY = 32, PAGE_HUD_TEST_VMU_BIT = 33 } id_pagesubset = { HUD_BASE = 0, HUD_COMMON = 1, HUD_TYPE1_SYMBOLOGY = 2, HUD_NO_CLIP_SYMBOLOGY = 3, HUD_NAV = 4, HUD_GUNS = 5, HUD_CCIP = 6, HUD_CCRP = 7, HUD_AIR_TO_AIR = 8, HUD_WEAP_COMMON = 9, HUD_TEST_MAIN_MENU = 10, HUD_RETICLE = 11, HUD_TEST_COMMON = 12, HUD_TEST_GROUND_BIT = 13, HUD_TEST_INFLT_BIT = 14, HUD_TEST_AAS = 15, HUD_TEST_WEAPONS = 16, HUD_TEST_WPN_REL_DATA = 17, HUD_TEST_DISPLAY_MODES = 18, HUD_TEST_MAINTENANCE = 19, HUD_TEST_DELTA_CAL = 20, HUD_TEST_BIT_FAULT_DISP = 21, HUD_TEST_AAS_MAN_FXD = 22, HUD_TEST_AAS_MAN_RTY = 23, HUD_TEST_WPNS_30MM = 24, HUD_TEST_WPNS_OFFSET_ADJ = 25, HUD_SOLUTION_PAGE = 26, HUD_TEST_GCAS_BIT = 27, HUD_TEST_PREFLIGHT_BIT = 28, HUD_TEST_POWER_ON = 29, HUD_TEST_GCAS_TRAINING = 30, HUD_TEST_GCAS_CAPTURE = 31, HUD_TEST_DELTA_CAL = 32, HUD_TEST_IFF_ALERT = 33, HUD_TEST_WPN_RELEASE = 34, HUD_TEST_WPN_REL_GUNS = 35, HUD_TEST_WPN_REL_CCIP = 36, HUD_TEST_WPN_REL_CCRP = 37, HUD_TEST_WPN_REL_MAV = 38, HUD_STANDBY = 39, HUD_TEST_VMU_BIT = 40, } page_subsets = {} page_subsets[id_pagesubset.HUD_BASE] = LockOn_Options.script_path.."HUD/Indicator/HUD_base_page.lua" page_subsets[id_pagesubset.HUD_COMMON] = LockOn_Options.script_path.."HUD/Indicator/HUD_COMMON_page.lua" page_subsets[id_pagesubset.HUD_TYPE1_SYMBOLOGY] = LockOn_Options.script_path.."HUD/Indicator/HUD_TYPE1_SYM_page.lua" page_subsets[id_pagesubset.HUD_NO_CLIP_SYMBOLOGY] = LockOn_Options.script_path.."HUD/Indicator/HUD_NOCLIP_SYM_page.lua" page_subsets[id_pagesubset.HUD_NAV] = LockOn_Options.script_path.."HUD/Indicator/HUD_NAV_page.lua" page_subsets[id_pagesubset.HUD_GUNS] = LockOn_Options.script_path.."HUD/Indicator/HUD_GUNS_page.lua" page_subsets[id_pagesubset.HUD_CCIP] = LockOn_Options.script_path.."HUD/Indicator/HUD_CCIP_page.lua" page_subsets[id_pagesubset.HUD_CCRP] = LockOn_Options.script_path.."HUD/Indicator/HUD_CCRP_page.lua" page_subsets[id_pagesubset.HUD_AIR_TO_AIR] = LockOn_Options.script_path.."HUD/Indicator/HUD_AIR_TO_AIR_page.lua" page_subsets[id_pagesubset.HUD_WEAP_COMMON] = LockOn_Options.script_path.."HUD/Indicator/HUD_WEAP_COMMON_page.lua" page_subsets[id_pagesubset.HUD_TEST_MAIN_MENU] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_MAIN_MENU_page.lua" page_subsets[id_pagesubset.HUD_RETICLE] = LockOn_Options.script_path.."HUD/Indicator/HUD_PIPPER_RETICLE_page.lua" page_subsets[id_pagesubset.HUD_STANDBY] = LockOn_Options.script_path.."HUD/Indicator/HUD_STANDBY_page.lua" page_subsets[id_pagesubset.HUD_TEST_COMMON] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_COMMON.lua" page_subsets[id_pagesubset.HUD_TEST_GROUND_BIT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_GROUND_BIT_page.lua" page_subsets[id_pagesubset.HUD_TEST_INFLT_BIT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_INFLIGHT_BIT_page.lua" page_subsets[id_pagesubset.HUD_TEST_AAS] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_AAS_page.lua" page_subsets[id_pagesubset.HUD_TEST_WEAPONS] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WEAPONS_page.lua" page_subsets[id_pagesubset.HUD_TEST_DISPLAY_MODES] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_DISPLAY_MODES_page.lua" page_subsets[id_pagesubset.HUD_TEST_BIT_FAULT_DISP] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_BIT_FAULT_DISP_page.lua" page_subsets[id_pagesubset.HUD_TEST_AAS_MAN_FXD] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_AAS_MAN_FXD_page.lua" page_subsets[id_pagesubset.HUD_TEST_AAS_MAN_RTY] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_AAS_MAN_RTY_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPNS_30MM] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPNS_30MM_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPNS_OFFSET_ADJ] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_OFFSET_ADJUST_page.lua" page_subsets[id_pagesubset.HUD_SOLUTION_PAGE] = LockOn_Options.script_path.."HUD/Indicator/HUD_solution_page.lua" page_subsets[id_pagesubset.HUD_TEST_GCAS_BIT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_GCAS_BIT_page.lua" page_subsets[id_pagesubset.HUD_TEST_PREFLIGHT_BIT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_PREFLIGHT_BIT_page.lua" page_subsets[id_pagesubset.HUD_TEST_POWER_ON] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_POWER_ON_page.lua" page_subsets[id_pagesubset.HUD_TEST_GCAS_TRAINING] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_GCAS_TRAINING_page.lua" page_subsets[id_pagesubset.HUD_TEST_GCAS_CAPTURE] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_GCAS_CAPTURE_page.lua" page_subsets[id_pagesubset.HUD_TEST_DELTA_CAL] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_DELTA_CAL_page.lua" page_subsets[id_pagesubset.HUD_TEST_IFF_ALERT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_IFF_ALERT_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPN_RELEASE] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPN_RELEASE_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPN_REL_GUNS] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPNREL_GUNS_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPN_REL_CCIP] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPNREL_CCIP_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPN_REL_CCRP] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPNREL_CCRP_page.lua" page_subsets[id_pagesubset.HUD_TEST_WPN_REL_MAV] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_WPNREL_MAV_page.lua" page_subsets[id_pagesubset.HUD_TEST_MAINTENANCE] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_MAINTENANCE_page.lua" page_subsets[id_pagesubset.HUD_TEST_VMU_BIT] = LockOn_Options.script_path.."HUD/Indicator/TEST/HUD_TEST_VMU_BIT_page.lua" ---------------------- pages = {} pages[id_Page.PAGE_OFF] = {} pages[id_Page.PAGE_HUD_NAV] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TYPE1_SYMBOLOGY, id_pagesubset.HUD_NAV, id_pagesubset.HUD_COMMON, id_pagesubset.HUD_NO_CLIP_SYMBOLOGY} pages[id_Page.PAGE_HUD_GUNS] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TYPE1_SYMBOLOGY, id_pagesubset.HUD_GUNS, id_pagesubset.HUD_RETICLE, id_pagesubset.HUD_COMMON, id_pagesubset.HUD_WEAP_COMMON, id_pagesubset.HUD_NO_CLIP_SYMBOLOGY} pages[id_Page.PAGE_HUD_CCIP] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TYPE1_SYMBOLOGY, id_pagesubset.HUD_CCIP, id_pagesubset.HUD_SOLUTION_PAGE, id_pagesubset.HUD_RETICLE, id_pagesubset.HUD_COMMON, id_pagesubset.HUD_WEAP_COMMON, id_pagesubset.HUD_NO_CLIP_SYMBOLOGY} pages[id_Page.PAGE_HUD_CCRP] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TYPE1_SYMBOLOGY, id_pagesubset.HUD_CCRP, id_pagesubset.HUD_SOLUTION_PAGE, id_pagesubset.HUD_RETICLE, id_pagesubset.HUD_COMMON, id_pagesubset.HUD_WEAP_COMMON, id_pagesubset.HUD_NO_CLIP_SYMBOLOGY} pages[id_Page.PAGE_HUD_AIR_TO_AIR] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TYPE1_SYMBOLOGY, id_pagesubset.HUD_AIR_TO_AIR, id_pagesubset.HUD_COMMON, id_pagesubset.HUD_WEAP_COMMON, id_pagesubset.HUD_NO_CLIP_SYMBOLOGY} pages[id_Page.PAGE_HUD_TEST] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_MAIN_MENU} pages[id_Page.PAGE_HUD_TEST_POWER_ON] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_POWER_ON} pages[id_Page.PAGE_HUD_TEST_GROUND_BIT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_GROUND_BIT} pages[id_Page.PAGE_HUD_TEST_INFLT_BIT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_INFLT_BIT} pages[id_Page.PAGE_HUD_TEST_AAS] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_AAS} pages[id_Page.PAGE_HUD_TEST_WEAPONS] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WEAPONS} pages[id_Page.PAGE_HUD_TEST_DISPLAY_MODES] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_DISPLAY_MODES} pages[id_Page.PAGE_HUD_TEST_BIT_FAULT_DISP] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_BIT_FAULT_DISP} pages[id_Page.PAGE_HUD_TEST_AAS_MAN_FXD] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_AAS_MAN_FXD} pages[id_Page.PAGE_HUD_TEST_AAS_MAN_RTY] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_AAS_MAN_RTY} pages[id_Page.PAGE_HUD_TEST_WPNS_30MM] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPNS_30MM} pages[id_Page.PAGE_HUD_TEST_WPNS_OFFSET_ADJ] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPNS_OFFSET_ADJ} pages[id_Page.PAGE_HUD_TEST_GCAS_BIT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_GCAS_BIT} pages[id_Page.PAGE_HUD_TEST_PREFLIGHT_BIT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_PREFLIGHT_BIT} pages[id_Page.PAGE_HUD_TEST_GCAS_TRAINING] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_GCAS_TRAINING} pages[id_Page.PAGE_HUD_TEST_GCAS_CAPTURE] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_GCAS_CAPTURE} pages[id_Page.PAGE_HUD_TEST_DELTA_CAL] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_DELTA_CAL} pages[id_Page.PAGE_HUD_TEST_IFF_ALERT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_IFF_ALERT} pages[id_Page.PAGE_HUD_TEST_WPN_RELEASE] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPN_RELEASE} pages[id_Page.PAGE_HUD_TEST_WPN_REL_GUNS] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPN_REL_GUNS} pages[id_Page.PAGE_HUD_TEST_WPN_REL_CCIP] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPN_REL_CCIP} pages[id_Page.PAGE_HUD_TEST_WPN_REL_CCRP] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPN_REL_CCRP} pages[id_Page.PAGE_HUD_TEST_WPN_REL_MAV] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_WPN_REL_MAV} pages[id_Page.PAGE_HUD_TEST_MAINTENANCE] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_COMMON, id_pagesubset.HUD_TEST_MAINTENANCE} pages[id_Page.PAGE_HUD_STANDBY] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_STANDBY} pages[id_Page.PAGE_HUD_TEST_VMU_BIT] = {id_pagesubset.HUD_BASE, id_pagesubset.HUD_TEST_VMU_BIT} init_pageID = id_Page.PAGE_OFF use_parser = false -- master modes A10C_HUD_OFF = 0 A10C_HUD_NAV = 1 A10C_HUD_GUNS = 2 A10C_HUD_CCIP = 3 A10C_HUD_CCRP = 4 A10C_HUD_AIR_TO_AIR = 5 A10C_HUD_TEST = 6 A10C_HUD_STANDBY = 7 A10C_HUD_TEST_POWER_ON = 8 -- level 2 A10C_HUD_TEST_GROUND_BIT = 1 A10C_HUD_TEST_INFLT_BIT = 2 A10C_HUD_TEST_BIT_FAULT_DISP = 3 A10C_HUD_TEST_AAS = 4 A10C_HUD_TEST_WEAPONS = 5 A10C_HUD_TEST_WPN_REL_DATA = 6 A10C_HUD_TEST_DISPLAY_MODES = 7 A10C_HUD_TEST_MAINTENANCE = 8 A10C_HUD_TEST_DELTA_CAL = 9 A10C_HUD_TEST_GCAS_BIT = 10 A10C_HUD_TEST_PREFLIGHT_BIT = 11 A10C_HUD_TEST_GCAS_TRAINING = 12 A10C_HUD_TEST_IFF_ALERT = 13 A10C_HUD_TEST_WPN_RELEASE = 14 A10C_HUD_TEST_VMU_BIT = 15 -- level 3 A10C_HUD_TEST_AAS_MAN_FXD = 1 A10C_HUD_TEST_AAS_MAN_RTY = 2 A10C_HUD_TEST_WPNS_30MM = 1 A10C_HUD_TEST_WPNS_OFFSET_ADJ = 2 A10C_HUD_TEST_WPN_REL_GUNS = 1 A10C_HUD_TEST_WPN_REL_CCIP = 2 A10C_HUD_TEST_WPN_REL_CCRP = 3 A10C_HUD_TEST_WPN_REL_MAV = 4 A10C_HUD_TEST_GCAS_CAPTURE = 1 ------------------------------------ pages_by_mode = {} clear_mode_table(pages_by_mode, 9, 15, 4) function get_page_by_mode(master,L2,L3,L4) return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4) end pages_by_mode[A10C_HUD_OFF][0][0][0] = id_Page.PAGE_OFF pages_by_mode[A10C_HUD_NAV][0][0][0] = id_Page.PAGE_HUD_NAV pages_by_mode[A10C_HUD_GUNS][0][0][0] = id_Page.PAGE_HUD_GUNS pages_by_mode[A10C_HUD_CCIP][0][0][0] = id_Page.PAGE_HUD_CCIP pages_by_mode[A10C_HUD_CCRP][0][0][0] = id_Page.PAGE_HUD_CCRP pages_by_mode[A10C_HUD_AIR_TO_AIR][0][0][0] = id_Page.PAGE_HUD_AIR_TO_AIR pages_by_mode[A10C_HUD_STANDBY][0][0][0] = id_Page.PAGE_HUD_STANDBY pages_by_mode[A10C_HUD_TEST][0][0][0] = id_Page.PAGE_HUD_TEST pages_by_mode[A10C_HUD_TEST_POWER_ON][0][0][0] = id_Page.PAGE_HUD_TEST_POWER_ON pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_GROUND_BIT][0][0] = id_Page.PAGE_HUD_TEST_GROUND_BIT pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_INFLT_BIT][0][0] = id_Page.PAGE_HUD_TEST_INFLT_BIT pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_BIT_FAULT_DISP][0][0] = id_Page.PAGE_HUD_TEST_BIT_FAULT_DISP pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_GCAS_BIT][0][0] = id_Page.PAGE_HUD_TEST_GCAS_BIT pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_PREFLIGHT_BIT][0][0] = id_Page.PAGE_HUD_TEST_PREFLIGHT_BIT pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_AAS][0][0] = id_Page.PAGE_HUD_TEST_AAS pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_AAS][A10C_HUD_TEST_AAS_MAN_FXD][0] = id_Page.PAGE_HUD_TEST_AAS_MAN_FXD pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_AAS][A10C_HUD_TEST_AAS_MAN_RTY][0] = id_Page.PAGE_HUD_TEST_AAS_MAN_RTY pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WEAPONS][0][0] = id_Page.PAGE_HUD_TEST_WEAPONS pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WEAPONS][A10C_HUD_TEST_WPNS_30MM][0] = id_Page.PAGE_HUD_TEST_WPNS_30MM pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WEAPONS][A10C_HUD_TEST_WPNS_OFFSET_ADJ][0] = id_Page.PAGE_HUD_TEST_WPNS_OFFSET_ADJ pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_DISPLAY_MODES][0][0] = id_Page.PAGE_HUD_TEST_DISPLAY_MODES pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_GCAS_TRAINING][0][0] = id_Page.PAGE_HUD_TEST_GCAS_TRAINING pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_GCAS_TRAINING][A10C_HUD_TEST_GCAS_CAPTURE][0] = id_Page.PAGE_HUD_TEST_GCAS_CAPTURE pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_DELTA_CAL][0][0] = id_Page.PAGE_HUD_TEST_DELTA_CAL pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_IFF_ALERT][0][0] = id_Page.PAGE_HUD_TEST_IFF_ALERT pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WPN_RELEASE][0][0] = id_Page.PAGE_HUD_TEST_WPN_RELEASE pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WPN_RELEASE][A10C_HUD_TEST_WPN_REL_GUNS][0] = id_Page.PAGE_HUD_TEST_WPN_REL_GUNS pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WPN_RELEASE][A10C_HUD_TEST_WPN_REL_CCIP][0] = id_Page.PAGE_HUD_TEST_WPN_REL_CCIP pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WPN_RELEASE][A10C_HUD_TEST_WPN_REL_CCRP][0] = id_Page.PAGE_HUD_TEST_WPN_REL_CCRP pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_WPN_RELEASE][A10C_HUD_TEST_WPN_REL_MAV][0] = id_Page.PAGE_HUD_TEST_WPN_REL_MAV pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_MAINTENANCE][0][0] = id_Page.PAGE_HUD_TEST_MAINTENANCE pages_by_mode[A10C_HUD_TEST][A10C_HUD_TEST_VMU_BIT][0][0] = id_Page.PAGE_HUD_TEST_VMU_BIT IAM_sliding_range = true -- option for IAM piper_range_scales = { 12000, 24000, 36000 } opacity_sensitive_materials = { "INDICATION_HUD", "INDICATION_HUD_STANDBY", "INDICATION_LINES_HUD", "font_HUD", "font_HUD_STANDBY", } color_sensitive_materials = { "INDICATION_HUD", "INDICATION_LINES_HUD", "font_HUD", } day_color = {0, 255/255, 0, 255/255} night_color = {243/255, 116/255, 13/255, 255/255} dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("A_10C_HUD", "HUD") Cheers Les
  10. yes, I'm certain that the different aircraft mods will have different names, and I never even considered that you were looking at a different aircraft type! My apologies, I do tend to view the world from my own perspective and forget that I'm in a minority. What you state seems reasonable, for instance the A-10C RWR is actually listed as AN_ALR69V, so it is important to remember that there may not be a direct name comparison Thanks for reminding me about reality! Les
  11. I just accepted yesterday's update, it updated and I can still see the HUD_init.lua in the following location (your installation drive/location>DCS World>MODS>AIRCRAFT>(Aircraft type)>COCKPIT>SCRIPTS>HUD>INDICATOR> If you struggle, do a search in the installation drive By the way, the new update needed me to repeat the following in the HUD_init.lua file indicator_type = indicator_types.COLLIMATOR purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} replace it with this -- indicator_type = indicator_types.COLLIMATOR -- purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} Cheers Les
  12. you may want to take a look at this thread in order to reset the default view to one that suits the HUD view better Les
  13. All, if you are doing this to get the HUD view, you may have to reset your default view to be a bit different - in my case the view was too low, so on the ground the horizon was about two thirds of the way up the screen This thread below deals with changing it, but I have copied the salient text below Customising the Default View Press Num5 to reset your view to the current default. Adjust your view to what you want as the new default but do not use any snap view keys in the process!. If you have TrackIR, you will probably need to shut it off while doing this, otherwise it won't save the view the way you want it! Press RALT+Num0 - your new default view should now be saved. Test it by changing your view, then pressing Num5 - your view should return to your customised default! NumPAD enter to reset back to the default zoom FOV you have set, after zooming in etc. (Bind this to your controller) NOTE (User save snap views can now be turned on in the options menu) Turn this on first. Once you pause Tir if using it? Then move your view by, see pic below. You can also then set your zoom FOV at the same time using Num/ and Num* Press RALT+Num0 - your new default view should now be saved.
  14. The display.display(); cured the noise the extra spaces just moved the numbers to the right a bit, but nothing more. It's irritating but not an issue, I'll just live with it. It looks like SH1106 is not a very sophisticated library for this type of thing. I'll try writing a sketch for SSD1306 to see if that works better Cheers Les
  15. Thanks Vinc, let me give that a go Cheers Les
  16. All, due to the way that I have my sim rig set using the HUD view, there is no way to check the position of the speed brakes (this is the A10C) as HUD view disables the view of the rest of the plane - you can't just view left or right to look at the wings. As a result, there are only two positions where I know where the speedbrakes are, fully open or fully closed. So, even though I know it is not realistic, I wanted to make a position indicator, either using a physical gauge like the flap indicator, or either an OLED percentage indicator or virtual gauge, however a quick look at DCS Bios didn't show speedbrake position (at least in the version I have installed) Looking at the A-10C.json file I see the following entry "EXT_SPEED_BRAKE_LEFT": { "category": "External Aircraft Model", "control_type": "metadata", "description": "Left Speed Brake", "identifier": "EXT_SPEED_BRAKE_LEFT", "inputs": [ ], "outputs": [ { "address": 4944, "description": "Left Speed Brake", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" Then I compare it to the entry for the left engine fan speed "L_ENG_FAN": { "category": "Engine Instruments", "control_type": "analog_gauge", "description": "Left Engine Fan Speed", "identifier": "L_ENG_FAN", "inputs": [ ], "outputs": [ { "address": 4258, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" I was thinking that if I was to change "control type": from "metadata" to "analog gauge" and "description": from "left Speed Brake" to "Gauge position" in the Left SpeedBrake callout like this below I could use it to export to an OLED, LCD or gauge "EXT_SPEED_BRAKE_LEFT": { "category": "External Aircraft Model", "control_type": "analog gauge", "description": "Left Speed Brake", "identifier": "EXT_SPEED_BRAKE_LEFT", "inputs": [ ], "outputs": [ { "address": 4944, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" I wrote the following sketch for use with a 1.3" i2C OLED #define DCSBIOS_IRQ_SERIAL //#define DCSBIOS_RS485_SLAVE 51 //#define TXENABLE_PIN 2 #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SH1106.h> #include "Fonts/FreeSans24pt7b.h" #define OLED_RESET 4 Adafruit_SH1106 display(OLED_RESET); #include <DcsBios.h> void setup() { display.begin(SH1106_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64) delay(1000); display.clearDisplay(); // clears the screen and buffer display.setFont(&FreeSans24pt7b); DcsBios::setup(); } void loop() { DcsBios::loop(); } void onleftspeedbrakeChange(unsigned int newValue) { unsigned int mappedValue = newValue / 655; display.fillRect(0, 0, 128, 60, BLACK); // Draws a blank rectangle to clear the previous text display.setTextColor(WHITE, BLACK); display.setCursor(14, 50); display.print(mappedValue); display.display(); } DcsBios::IntegerBuffer leftspeedbrakeBuffer(0x1350, 0xffff, 0, onleftspeedbrakeChange); I'm happy to report it works, basically displaying the speed brake position as between 0 (closed) and 100 fully open. There are a couple of things I am going to work to fix. The first is that on power up the screen is covered in noise, which only clears when you move the speed brake switch, so I have to get some kind of clear display function in there. The second issue is that the numbers are left justified, whereas I want it to be right justified so it looks more correct Cheers Les
  17. Found another the HUD-init.lua has been reset, so all of you that followed this thread so that you can set your own HUD export in HUD View without the original HUD appearing you need to modify the HUD-init.lua file like this indicator_type = indicator_types.COLLIMATOR purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} replace it with this -- indicator_type = indicator_types.COLLIMATOR -- purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} Les
  18. I found an LG 43inch monitor going cheap at a local place(model number 43UR78), with a 4K screen. It was so cheap that I thought I would give it a go. The same place also had a little stand, again cheap. I am thoroughly glad I did! It is very very good, if the framerate (It is limited to 60hz) or latency / response time is supposed to be problematic, I can't see any issues compared to the Benq monitor it replaced, but the size of the screen and the resolution, plus the picture quality is exactly as I hoped I spent a good few hours reconfiguring the monitorsetup.lua file to get all the exported views bac to their correct positions, but now that's done I am really pleased I took the plunge. I would definitely recommend this Les
  19. Hi all, the latest DCS update seems to have changed the (device)init.lua file for some items. I found that for the A10C the RWR and CDU screens were no longer exporting to the screens as they used to. The call out for the CDU has changed from ED_A10C_CDU to A_10C_CDU_SCREEN The call out for the RWR has changed from A10C_RWR to A_10C_RWR_SCREEN There are probably other changes to other devices, so to see the new callout go to the MODS>AIRCRAFT>(Aircraft type)>COCKPIT>SCRIPTS>(Device)>INDICATOR>(Device)init.lua and right at the bottom of the file you will see the new name or names for the callouts There are some other changes to other things other than export screens, I notice that the TACAN OLED on my cockpit no longer displays anything so probably I need to modify that too Hope this helps Les
  20. For me, the big 'mod' I had to do was change the laser tube after the original one started splitting the beam very soon after getting it so was essentially cutting in two places. I replaced it with a CloudRay one off amazon, that was five years ago and not had to touch it since. At the time I remember thinking whether it was going to constantly give problems, but it hasn't. It may not represent the best out there, but for the price I really don't have any complaints. Oh, I did have to change the power supply as well last year, again a Cloudray replacement was a drop in and was pretty cheap However with a bit of care you can improve on it quite easily - Jocman has indicated a number of things that can be done, but the biggest one for me would be to make sure that all the screws are tight, and check the squareness of the gantry. Quality control isn't the best but for the sake of a few hours work you can improve the stock item. I used mine to make my rig and have cut and engraved literally thousands of parts and frankly it has paid for itself a dozen times over. I certainly would not put anyone off getting one Les
  21. I got this up and running and certainly it is well worth doing it - I especially love the effects when the undercarriage is raised or lowered, the clunks and thumps really do feel right. I have a way to go before I have it set up correctly, at the moment the way to assign certain effects to a certain transduced / channel eludes me but I will get there. I am using my tried and trusted 'flail around trying random things and asking stupid questions' method, which has stood me in good stead so far (apart from on the Aduino forum...) But...... it strikes me that some of the effects could be better produced by using the output from DCS Bios. As an example, the engine RPM is a direct function of a number, 0% rpm being represented by an output value of 0, and 100% by I think it was 63,556. So, by my logic, you should be able to output a sinusoidal, or even square wave of between 0hz and say 5000hz to correspond to the mapped value. Additionally, you should be able to make the amplitude of that output vary according to the DCS bios output, so that it rises in a linear fashion between 0 and 50% of the output value, then constant thereafter, or maybe increasing proportionately but at a lower rate. I assume that there is a way to output from an arduino in this way to one of the channels of those little USB amps and so onto a transducer? I have four more transducers and two USB amps, so am willing to test it out. If anyone has any ideas or thoughts, or better still experience in using Arduinos and sound devices I'd live to hear from you. EDIT***** found this, food for thought https://forum.arduino.cc/t/audio-signal-over-usb-as-a-sound-card/1125587 ***** Les
  22. Thanks, that worked great Cheers Les
  23. Hi all, I have posted this on the discord site too, but I installed the sound module yesterday, and was checking it out and it has stopped working. Today despite restarting the PC, reinstalling the Sound module, the sound Module no longer opens, you double click on the icon and nothing happens. I've used Task Manager to see if it is active but minimised, but it doesn't show up. I have just done a bit more troubleshooting, with Task Manager open I see that the Sound Module opens, then immediately shuts down. I ran the diagnostic tool, this is what it reported SimShaker Diagnostic Tool | Version 1.1 Last found event: (Крайнее найденное событие:) 10/08/2024 08:11:51 Application: SimShakerSoundModule.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at SimShaker_Sound_Module.PlaybackEngine.PostMeter_StreamVolume(System.Object, NAudio.Wave.SampleProviders.StreamVolumeEventArgs) at NAudio.Wave.SampleProviders.MeteringSampleProvider.Read(Single[], Int32, Int32) at NAudio.Wave.SampleProviders.SampleToWaveProvider.Read(Byte[], Int32, Int32) at NAudio.Wave.AsioOut.driver_BufferUpdate(IntPtr[], IntPtr[]) at NAudio.Wave.Asio.AsioDriverExt.BufferSwitchCallBack(Int32, Boolean) Search finished (Поиск завершен) Any ideas? Les
  24. Thanks - I'm in Qatar so maybe some of those options are not available, but very good info nonetheless. As stated, here anything below 55 Inch is 60hz, not sure if I would notice it though This is my rig, you'll have to look at the pictures on Page 3 as apparently I don't have enough space left to post the picture direct One other point I forgot to mention was that for preference it would use one central stand rather than two separate feet which seems to be very common these days. The part of the rig that the TV would sit on behind the main panel is 45cm wide, although potentially I could make a larger top for the part where it would sit. I don't believe that the TV's weigh much these days. Distance from eye to screen would be approx 1 meter although I can move it forward by 10cm or back by 30cm, so that does give me flexibility. As you state, it sounds like 45 to 50 inch is the sweet spot in terms of size. Cheers Les
  25. Hi All, not sure if this is the correct place for this, but it does broadly fall under the category of PC hardware! Right now with my A-10 flight rig I am using a small 2560 x 1440 monitor as the main screen, which doesn't do the rest of the rig justice. All around here are loads of supermarkets selling a wide range of cheap 4K tv in a wide variety of sizes (and prices of course). Brands available are TCL, Hisense, Oscar, Sony, Toshiba, LG, Skyworth, Panasonic plus a few others. I want to know whether any of these would be worth using as a monitor It seems that if you want 120hz refresh, it'55 inch and above, below that 60. I have to say I was thinking 50 inch would be the biggest I would use, so clearly that limits the refresh rate. It seems that is independent of price, not sure if that is a local thing or if there is a wider reason for it. I am aware that for games like first person shooters and race sims the monitor response time is a factor that means that they can be laggy but I think that for flight sims it isn't such a big deal? So are these TV's good for use as a dedicated monitor in this usage? Les
×
×
  • Create New...