Jump to content

gunterlund21

Members
  • Posts

    1012
  • Joined

  • Last visited

Posts posted by gunterlund21

  1. Hi guys.

    Thanks for continuing this DCS cornerstone that Helios is.

    I built up a new rig and for the occasion installed your new version of Helios (was running the latest Gadroc version before on my older rig).

    So I copied my profiles and reset the monitors then added the interface. Yes, I also added the line to the export.lua and copied the Helios directory with the exports into the scripts directory.

    The profiles are working great (using capt zeen ones) BUT all the switches register twice when I press them on my touch screen so it makes the profiles unusable. Any suggestion why?

    Thanks.

     

    Bad what line are you talking about above?

  2. Ian;2133064']To export additional gauges, you need to do some minor edits to their Lua files.

     

    Let's use the RWR as an example. Open Mods/aircraft/A-10C/Cockpit/Scripts/AN_ALR69V/indicator/AN_ALR69V_init.lua and append the following lines to the end of the file:

    dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
    try_find_assigned_viewport("ED_A10C_RWR")
    

     

    ("ED_A10C_RWR" is a unique name for the viewport, which you can pick arbitrarily as long as its a valid Lua variable name.)

     

    You can then export the RWR like this in MonitorSetup.lua:

    ED_A10C_RWR =
    {
    	x = 599;
    	y = 1360;
    	width = 179;
    	height = 179;
    }
    

     

    I use this approach to export the clock and the RWR.

     

    In general, under Cockpit/Scripts there is a subfolder for each device. Inside that is an indicator subfolder which includes one Lua file that ends with _init -- that is the one you want to edit.

     

    Edit (2015-01-19): add code to the end of the file instead of the beginning (required for some indicators, others do not care)

     

     

    FSF is this still valid?

  3. I think currently not. Though 8 missiles of what type? It takes a lot of hits, preferably below the waterline to actually sink a large modern ship, especially a warship. Disabling it, or at least hamper its effective fighting capabilities is a different story... think taking out the bridge, radar, weapon systems.

     

    Anti ship missiles from patrol boats

×
×
  • Create New...