CHSubZero Posted December 19, 2014 Posted December 19, 2014 I've tried my best but haven't succeded so far. Can someone help me with this? :helpsmilie: I'd like to make kind of information texts in the top left corner of the display with the speed and altitude of my aircraft/helicopter. Aviation Livery - Explore Military Aircraft Liveries My Mods: DCS User Files
CHSubZero Posted December 20, 2014 Author Posted December 20, 2014 Things I found out so far: At DCS World\Config\MonitorSetup I can define my monitor setup. But how can I code it to write the variables altBar, altRad & engine? _ = function(p) return p; end; name = _('1 Screen + InfoDisplay'); Description = 'One monitor configuration + InfoDisplay' Viewports = { Center = { x = 0; y = 0; width = screen.width; height = screen.height; viewDx = 0; viewDy = 0; aspect = screen.aspect; } } local altBar = LoGetAltitudeAboveSeaLevel() local altRad = LoGetAltitudeAboveGroundLevel() local engine = LoGetEngineInfo() --engine.fuel_internal MyInfoDisplay = { x = 0; y = 0; --width = screen.width / 2; --height = screen.height; } UIMainView = Viewports.Center Aviation Livery - Explore Military Aircraft Liveries My Mods: DCS User Files
Recommended Posts