Jump to content

Recommended Posts

Posted

@ouky1991Hi, can I ask you for help? There are more of us who are having problems with the mod. Are you planning to update it or is it already dead? thanks.

 

Posted
20 hours ago, unmar said:

@ouky1991Hi, can I ask you for help? There are more of us who are having problems with the mod. Are you planning to update it or is it already dead? thanks.

 

Hi I haven't checked last update of DCS, but it worked normally before. I'll have a look

 

  • Thanks 1
Posted (edited)

Today I tried deleting user data, uninstalling and reinstalling the module (F-18), but the mod still doesn't work well. Reshade has no effect on this either. I can't think of anything else I could try.

Edited by unmar
Posted
On 4/23/2025 at 7:04 PM, unmar said:

Today I tried deleting user data, uninstalling and reinstalling the module (F-18), but the mod still doesn't work well. Reshade has no effect on this either. I can't think of anything else I could try.

Sorry man, still didn't find time to update, What exactly isn't working?

Posted (edited)

The text on the Hornet HUD is yellow and on the Viper HUD it is white (pictures are up). The RGB color code is set correctly. I am using the latest version downloaded from DCS user-files.

 

Can you please uplout your personal material.lua?

this is default settings for Hornet:

MDG_materials[MDG_SELF_IDS.HUD]     = {2, 255, 30, 70}
--MDG_materials[MDG_SELF_IDS.HUD]     = {5, 255, 76, 400}
-- {94, 202, 0, 255} -- MDI original
-- {57, 224, 32, 255} -- MDI test
-- {69, 224, 45, 255} -- MDI test 2
--MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 255} -- MDI original
MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 350} -- MDI original
MDG_materials[MDG_SELF_IDS.RMDI]     = MDG_materials[MDG_SELF_IDS.LMDI]
MDG_materials[MDG_SELF_IDS.HI]         = {25, 255, 40, 999} -- MDI original
 

But text is yellow for hornet...

Edited by unmar
Posted
2 hours ago, unmar said:

The text on the Hornet HUD is yellow and on the Viper HUD it is white (pictures are up). The RGB color code is set correctly. I am using the latest version downloaded from DCS user-files.

 

Can you please uplout your personal material.lua?

this is default settings for Hornet:

MDG_materials[MDG_SELF_IDS.HUD]     = {2, 255, 30, 70}
--MDG_materials[MDG_SELF_IDS.HUD]     = {5, 255, 76, 400}
-- {94, 202, 0, 255} -- MDI original
-- {57, 224, 32, 255} -- MDI test
-- {69, 224, 45, 255} -- MDI test 2
--MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 255} -- MDI original
MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 350} -- MDI original
MDG_materials[MDG_SELF_IDS.RMDI]     = MDG_materials[MDG_SELF_IDS.LMDI]
MDG_materials[MDG_SELF_IDS.HI]         = {25, 255, 40, 999} -- MDI original
 

But text is yellow for hornet...

OK updated the game. Nothing in the materials was changed. so it should still work, my .lua file is the same as above. Are you using any other mod that changes colors of symbology parhaps?

2 hours ago, unmar said:

The text on the Hornet HUD is yellow and on the Viper HUD it is white (pictures are up). The RGB color code is set correctly. I am using the latest version downloaded from DCS user-files.

 

Can you please uplout your personal material.lua?

this is default settings for Hornet:

MDG_materials[MDG_SELF_IDS.HUD]     = {2, 255, 30, 70}
--MDG_materials[MDG_SELF_IDS.HUD]     = {5, 255, 76, 400}
-- {94, 202, 0, 255} -- MDI original
-- {57, 224, 32, 255} -- MDI test
-- {69, 224, 45, 255} -- MDI test 2
--MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 255} -- MDI original
MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 350} -- MDI original
MDG_materials[MDG_SELF_IDS.RMDI]     = MDG_materials[MDG_SELF_IDS.LMDI]
MDG_materials[MDG_SELF_IDS.HI]         = {25, 255, 40, 999} -- MDI original
 

But text is yellow for hornet...

If you still see the same problem try lovering some of the numbers to something like this:

 

MDG_materials[MDG_SELF_IDS.HUD]     = {2, 255, 15, 70}
--MDG_materials[MDG_SELF_IDS.HUD]     = {5, 255, 76, 400}
-- {94, 202, 0, 255} -- MDI original
-- {57, 224, 32, 255} -- MDI test
-- {69, 224, 45, 255} -- MDI test 2
--MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 255} -- MDI original
MDG_materials[MDG_SELF_IDS.LMDI]     = {94, 202, 0, 350} -- MDI original
MDG_materials[MDG_SELF_IDS.RMDI]     = MDG_materials[MDG_SELF_IDS.LMDI]
MDG_materials[MDG_SELF_IDS.HI]         = {5, 255, 30, 999} -- MDI original

  • Thanks 1
Posted
1 hour ago, ouky1991 said:

 Are you using any other mod that changes colors of symbology parhaps?

 

This is what I thought too. I've turned off all mods and to no avail. The important thing for me is to know that the mod is working. So the problem must be with my DCS installation.

Edit: I used the data you provided and it's much better.

 

Thank you

Posted
1 hour ago, Mainstay said:

I have a problem with the mod for the F-16 HUD as well instead of the normal colors i get two colors in the hud with latest patch.

same as this

F-16.jpg

There were always two colors, but the difference should be barely noticeable. It's possible they've changed the way it's rendered on the glass. You can fix it by lowering the first and third number in the material lua to something like this

materials["HUD"]                        = {2, 255, 15, 70}
materials["FONT_DED"]                    = {121, 255, 19, 255}    -- {251, 220, 0, 255}
materials["FONT_PFLD"]                    = {121, 255, 19, 255}    -- {251, 220, 0, 255}
materials["MASK_MATERIAL_PURPLE"]        = {255, 0, 255, 30}

materials["MFD_BACKGROUND"]                = {0, 0, 0, 255}
materials["MFD_FONT_BKGND_WHITE"]        = {255, 255, 255, 255}

materials["LMFD_MATERIAL"]                = {255, 255, 255, 255}            -- Default color for all MFDs
materials["RMFD_MATERIAL"]                = materials["LMFD_MATERIAL"]    -- Default color for all MFDs
materials["MFD_BLACK"]                    = {0, 0, 0, 255}

materials["TGP_STBY_BLACK"]                = {0, 0, 0, 255}
materials["TGP_STBY_DGRAY"]                = {5, 5, 5, 255}

local HUD_mat = materials["HUD"]
materials["HUD_GREEN_FOV"]                = {HUD_mat[0], HUD_mat[1], HUD_mat[2], 100} -- used for FOV lens render

materials["UHF_RADIO"]                    = {179, 198, 85, 255}
materials["UHF_RADIO_CHANNEL_MAP"]        = {0, 0, 0, 250}

materials["EHSI_BACKGROUND"]            = {0, 0, 0, 255}
materials["EHSI_BLACK"]                    = {0, 0, 0, 255}
materials["EHSI_WHITE"]                    = {255, 255, 255, 255}
materials["EHSI_GRAY"]                    = {200, 200, 200, 255}
materials["EHSI_RED"]                    = {255,   0,   0, 255}
materials["EHSI_BLUE"]                    = { 23, 140, 255, 255}
materials["EHSI_YELLOW"]                = {255, 255, 100, 255}
materials["EHSI_GOLD"]                    = {255, 250, 173, 255}
materials["RWR_STROKE"]                    = {0, 255, 0, 230}
materials["CMDS_GREEN"]                    = {5, 255, 25, 999}
-- HMD
materials["HMD_SYMBOLOGY_MATERIAL"]        = {2, 255, 20, 255}

  • Like 1
Posted
8 minutes ago, ouky1991 said:

OK. They've definitely changed something about how the HUD renders, I'll rework this in the future

Okay thnx ill hold for now till you release new version

g8PjVMw.png

Posted

New version added to the first page, tried to make it as close to the previous one as possible. 

Currently there's a small problem with F-16's HMD, when zoomed out to maximum, the cross at the center disappears. The HMD symbology is tied to the HUD symbology and for some reason can't be edited the same way as F-18's HMD. Workaround is to increase "stroke_fuzziness" in StrokesDefs.lua from 0.32 to something over 0.4 (vanilla value is 0.6)

  • Like 1
  • Thanks 1
  • 1 month later...
Posted (edited)
В 18.05.2025 в 00:44, ouky1991 сказал:

New version added to the first page, tried to make it as close to the previous one as possible. 

Currently there's a small problem with F-16's HMD, when zoomed out to maximum, the cross at the center disappears. The HMD symbology is tied to the HUD symbology and for some reason can't be edited the same way as F-18's HMD. Workaround is to increase "stroke_fuzziness" in StrokesDefs.lua from 0.32 to something over 0.4 (vanilla value is 0.6)

Hello!
I installed the mod according to the instructions (JSGME). There are changes, but completely for the worse. Did something break again?

Спойлер

Screen_250623_225046.png

 

Edited by 29S
Posted

I’ve got both mods for the F-16 and FA-18. I did some tweaking in the Lua files and I load them using a mod manager. Yes, I’m using the green and yellow and green and white colors. 
I like them.

I also, incorporated the F-16 yellow MFD colors in to the F-16 hud mod.

If anyone is interested in them, I can upload the files in user files on the main DCS page. 
I take no credit for the mods, I only tweeked them to my liking.

Hope this helps.

F-4E, F-5E-3, F-14, F-15E, F-16C, FA18-C, F-86, A-10C, Spitfire, AJS-37, KA50, MiG-19, L-39, P-51, Flaming Cliffs, All maps, WWII Assets, Combined Arms, Super Carrier.

  • 4 weeks later...
Posted

No, I don’t know how to make the adjustments IC compliant. Would be nice seeing it’s only a tiny visual tweak inside the cockpit.

Perhaps someone with better computer skills knows how.

F-4E, F-5E-3, F-14, F-15E, F-16C, FA18-C, F-86, A-10C, Spitfire, AJS-37, KA50, MiG-19, L-39, P-51, Flaming Cliffs, All maps, WWII Assets, Combined Arms, Super Carrier.

Posted

I just installed the Viper mod with the latest version (2.9.18.12722), and it appears to break the new ATP rendering (e.g., text labels are not drawn).

Thanks!

Posted (edited)

Hey Pilots,

Thanks to Ouky for the mod. 

My HUD colors are a bit different as I have set them to my liking.

I played around with the LUA files, comparing the new vanilla Materials.lua file to my modified one and copied/paste'd a few new lines of code from the new Vanilla file and put them into the modified file and..... Wallah!

What I can do, is upload the modifed file under the main DSC webpage under user files but it may take a little time for it to get through the vetting process.

I will update a link when its available. In the mean time if you want to play around with the file, it is located here:

Windows/Program Files/Eagle Dynamics/DCS World/Mods/aircraft/F-16C/Cockpit/Scripts/materials.

One picture shows the TGP and the other shows the ATP.

 

Hope this helps.

 

 

F-16 TGP.jpg

F-16 ATP.jpg

 

--dofile(LockOn_Options.common_script_path.."Fonts/symbols_locale.lua")
--dofile(LockOn_Options.common_script_path.."Fonts/fonts_cmn.lua")

-- variables used in stroke font description as well as in MDG stroke symbology
dbg_drawStrokesAsWire = false

dofile(LockOn_Options.script_path.."fonts.lua")

-------MATERIALS-------
-- Only green colors are described here. Red and yellow will be set via dedicated controllers

materials = {}

materials["INDICATION_COMMON_RED"]        = {255, 0, 0, 255}
materials["INDICATION_COMMON_WHITE"]    = {255, 255, 255, 255}
materials["INDICATION_COMMON_GREEN"]    = {0, 255, 0, 255}
materials["INDICATION_COMMON_LBLUE"]    = {0, 200, 255, 255}
materials["INDICATION_COMMON_AMBER"]    = {255,161,45,255}
materials["INDICATION_COMMON_YELLOW"]    = {255, 255, 0, 255}
materials["MASK_MATERIAL"]                = {255, 0, 255, 50}

materials["DBG_RED"]                    = {255, 0, 0, 100}
materials["DBG_GREEN"]                    = {0, 255, 0, 100}

materials["HUD"]                        = {255, 255, 0, 500}        --Default brighter green
materials["FONT_DED"]                    = {0, 206, 209, 255}    -- {251, 220, 0, 255}
materials["FONT_PFLD"]                    = {121, 255, 19, 255}    -- {251, 220, 0, 255}
materials["MASK_MATERIAL_PURPLE"]        = {255, 0, 255, 30}

materials["MFD_BACKGROUND"]                = {0, 0, 0, 255}
materials["MFD_FONT_BKGND_WHITE"]        = {255, 255, 255, 255}

--materials["LMFD_MATERIAL"]            = {255, 255, 255, 255}          -- Default color for all MFDs(White)
materials["LMFD_MATERIAL"]                = {255, 255, 100, 255}            -- Yellow {255, 255, 0, 255}
materials["RMFD_MATERIAL"]                = materials["LMFD_MATERIAL"]    -- Default color for all MFDs
materials["MFD_BLACK"]                    = {0, 0, 0, 255}

materials["TGP_STBY_BLACK"]                = {0, 0, 0, 255}
materials["TGP_STBY_DGRAY"]                = {5, 5, 5, 255}

local HUD_mat = materials["HUD"]
materials["HUD_GREEN_FOV"]                = {HUD_mat[0], HUD_mat[1], HUD_mat[2], 100} -- used for FOV lens render

materials["UHF_RADIO"]                    = {179, 198, 85, 255}
materials["UHF_RADIO_CHANNEL_MAP"]        = {0, 0, 0, 250}

materials["EHSI_BACKGROUND"]            = {0, 0, 0, 255}
materials["EHSI_BLACK"]                    = {0, 0, 0, 255}
materials["EHSI_WHITE"]                    = {255, 255, 255, 255}
materials["EHSI_GRAY"]                    = {200, 200, 200, 255}
materials["EHSI_RED"]                    = {255,   0,   0, 255}
materials["EHSI_BLUE"]                    = { 23, 140, 255, 255}
materials["EHSI_YELLOW"]                = {255, 255, 100, 255}
materials["EHSI_GOLD"]                    = {255, 250, 173, 255}
materials["RWR_STROKE"]                    = {0, 255, 0, 230}
materials["CMDS_GREEN"]                    = {25, 255, 40, 500}
-- HMD
materials["HMD_SYMBOLOGY_MATERIAL"]        = {2, 255, 20, 255}


-------TEXTURES-------
textures = {}

local ResourcesPath = LockOn_Options.script_path.."../IndicationResources/"

textures["ARCADE"]                            = {"arcade.tga",    materials["INDICATION_COMMON_RED"]}            -- Control Indicator
textures["ARCADE_WHITE"]                    = {"arcade.tga",    materials["INDICATION_COMMON_WHITE"]}        -- Control Indicator

textures["INDICATION_RWR"]                    = {ResourcesPath.."RWR/indication_RWR.tga", materials["INDICATION_COMMON_GREEN"]}
textures["INDICATION_RWR_LINE"]                = {"arcade.tga",                            materials["INDICATION_COMMON_GREEN"]}
textures["INDICATION_TGP"]                    = {ResourcesPath.."Displays/tgp_texture.tga",    materials["INDICATION_COMMON_WHITE"]}
textures["INDICATION_TGP_RED"]                = {ResourcesPath.."Displays/tgp_texture.tga",    materials["INDICATION_COMMON_RED"]}

textures["DED_BIG_OFF"]                        = {ResourcesPath.."Displays/ded_font_big.dds",    materials["FONT_DED"]}

-------FONTS----------

fonts = {}

fonts["font_stroke_HUD"]            = {fontdescription["font_stroke_HUD"], 10, materials["CMDS_GREEN"]}

fonts["font_DED"]                    = {fontdescription["font_DED"], 10, materials["FONT_DED"]}
fonts["font_DED_inv"]                = {fontdescription["font_DED_inv"], 10, materials["FONT_DED"]}

fonts["font_PFLD"]                    = {fontdescription["font_PFLD"], 10, materials["FONT_PFLD"]}
fonts["font_PFLD_inv"]                = {fontdescription["font_PFLD_inv"], 10, materials["FONT_PFLD"]}

fonts["font_stroke_LMFD"]            = {fontdescription["font_stroke_MFD"], 10, materials["LMFD_MATERIAL"]}
fonts["font_stroke_RMFD"]            = {fontdescription["font_stroke_MFD"], 10, materials["RMFD_MATERIAL"]}
fonts["font_stroke_MFD_Outlined"]    = {fontdescription["font_stroke_MFD_Outlined"], 10, materials["LMFD_MATERIAL"]}
fonts["font_stroke_MFD_Black"]        = {fontdescription["font_stroke_MFD_Wide"], 10, materials["MFD_BLACK"]}
fonts["font_stroke_MFD_BlackBold"]    = {fontdescription["font_stroke_MFD_Bold"], 10, materials["MFD_BLACK"]}
fonts["font_TGP"]                    = {fontdescription["font_TGP"], 10, materials["EHSI_YELLOW"]}
fonts["font_TGP_narrow"]            = {fontdescription["font_TGP_narrow"], 10, materials["INDICATION_COMMON_WHITE"]}

fonts["font_UHF_RADIO"]                = {fontdescription["font_UHF_RADIO"], 10, materials["UHF_RADIO"]}
fonts["font_UHF_RADIO_CH_MAP"]        = {fontdescription["font_UHF_RADIO"], 10, materials["UHF_RADIO_CHANNEL_MAP"]}

fonts["font_stroke_EHSI"]            = {fontdescription["font_stroke_EHSI"], 10, materials["EHSI_WHITE"]}
fonts["font_stroke_EHSI_BLACK"]        = {fontdescription["font_stroke_EHSI"], 10, materials["EHSI_BLACK"]}

--fonts["font_RWR"]                    = {fontdescription["font_stroke_RWR"], 10, materials["RWR_STROKE"]}
fonts["font_RWR"]                    = {fontdescription["font_RWR"], 10, materials["RWR_STROKE"]}
fonts["font_CMDS"]                    = {fontdescription["font_CMDS"], 10, materials["CMDS_GREEN"]}

-- HMD
fonts["font_HMD"]                    = {fontdescription["font_stroke_HMD"], 10, materials["HMD_SYMBOLOGY_MATERIAL"]}

fonts["font_general_keys"]            = {fontdescription["font_general_loc"], 10, materials["INDICATION_COMMON_RED"]}
fonts["font_hints_kneeboard"]        = {fontdescription["font_general_loc"], 10, {100,0,100,255}}

-- path for stroke symbology
symbologyPaths = {    LockOn_Options.script_path.."../IndicationResources/Displays",
                    LockOn_Options.script_path.."../IndicationResources/RWR",
                    LockOn_Options.script_path.."../IndicationResources/CMDS",
                    LockOn_Options.script_path.."../IndicationResources/HMD",
                    "Fonts/font_TGP_LITENING_AT.tga",
                    "Fonts/FONT_TGP_LITENING_AT_narrow.dds",
}

Edited by Archangel44
Speeling air-or

F-4E, F-5E-3, F-14, F-15E, F-16C, FA18-C, F-86, A-10C, Spitfire, AJS-37, KA50, MiG-19, L-39, P-51, Flaming Cliffs, All maps, WWII Assets, Combined Arms, Super Carrier.

Posted (edited)

How can i make the HUD and the HMD look like this again (two colors of green)?

I actually really liked the color difference. 

And for example make the text in the MFD's Yellow like the picture above from Archangel44 for all screens (normal windows, PODS and Weapons)?

F-16.jpg

 

 

Edited by Mainstay

g8PjVMw.png

Posted

Unless someone chimes in on how to, I’ve uploaded the files to the DCS user downloads but it may take a little bit or a couple of three days.

With mine, I combined what Ouky had done, changed the colors to my liking and combined it with an adjustment from another user who made the yellow MFD outline. If you want to do it yourself, the code above has all the settings I have. Just save a copy of the original in case you mess up.

  • Thanks 1

F-4E, F-5E-3, F-14, F-15E, F-16C, FA18-C, F-86, A-10C, Spitfire, AJS-37, KA50, MiG-19, L-39, P-51, Flaming Cliffs, All maps, WWII Assets, Combined Arms, Super Carrier.

Posted

New version uploaded, fixed HUD for F-16C, it should now work with sniper pod.

 

1 hour ago, Mainstay said:

How can i make the HUD and the HMD look like this again (two colors of green)?

Download the new fixed version, extract the files and before applying the mod, open materials.lua and edit lines 24 (symbology colors) and 54 (font colors) - recommend using notepad++. Pick one of those two lines and change the second number to make the color slightly less green. For example font - from this:

materials["CMDS_GREEN"]                    = {0, 240, 10, 999}

to this: 

materials["CMDS_GREEN"]                    = {0, 220, 10, 999}

You might have to do some trial and error before finding what you want.

 

The yellow MFD mod question has been already discussed here

 

  • Thanks 2
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...