CapnCoke did not update the mod “F-15E MPCDs and Grayscale FLIR v1.4” following the last update.
with 2.9.2.49629 the A/G Radar Page does not work anymore
Razbam added a new line at 194 in materials.lua and a new function at 737 in MFDG_definitions.lua
From comments SkipperSMG of January 21th
"Its quite easy to fix yourself. I just took the new updated stock file and compared it to the modded file here. One just has to make a few changes by copying the edited elements into the new file. Took me 10 min. What he did was find out which elements to edit. The actual modifications made are very simple.
You have to open the unmodified file supplied in the root folder and copy the lines to the modded file."
In details :
- add this to materials.lua at line 194: textures["rbm_video_test"] = {LockOn_Options.script_path.."Resources/Indicators/rbm_video_test.tga", materials["WHITE"]}
- add this to MFDG_definitions.lua at the bottom:
function create_textured_element(name, left, right, bottom, top, controllers, texname, additive_alpha)
local Elem = CreateElement "ceTexPoly"
Elem.name = name
Elem.vertices = { {left, top}, { right, top}, { right, bottom}, {left, bottom} }
Elem.indices = {0,1,2 ; 0,2,3}
Elem.tex_coords = {{0,1}, {1,1}, {1,0}, {0,0}}
Elem.init_pos = {0,0,0}
Elem.material = texname
Elem.controllers = controllers
Elem.use_mipfilter = true
Elem.h_clip_relation = h_clip_relations.COMPARE
Elem.level = current_clipped_level()
Elem.additive_alpha = additive_alpha
Elem.collimated = false
Elem.parent_element = default_parent()
Add(Elem)
return Elem
end
For those that don't manage lua file, I have attached mine that works well.
tiengo
3rd wing French virtual squadron
F-15E Grayscale MPCD v1.4.zip