Bourrinopathe Posted July 11, 2016 Posted July 11, 2016 (edited) I'm trying to tweak the new 1.5.4 "encyclopedia" UI to make it a little more useful for my needs while editing a mission in the ME. I would have a few questions for the users who would be more familiar with the config files structure and syntax. I always found the encyclopedia was lacking content and I barely used it, struggling with my google-fu instead. So I managed to make it easier to read, but the lack of text formatting is still a problem (readability) (1080p). Current UI: Slight UI modification/content: I used a monospaced font to make it a little easier to compare (and find) the numbers, but I'd like to know if there's a way to modify the text formatting? Also, and I think it might be possible: how to insert a picture frame that would read the picture file from the old .png encyclopedia files? Thanks! (I have fond memories of the Jane's sims encyclopedia - that might be a factor in my desire to modify the encyclopedia ;) ) Edited July 11, 2016 by Bourrinopathe /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
SVKSniper Posted July 13, 2016 Posted July 13, 2016 Bourrinopathe go to this txt file: \DCS World OpenBeta\MissionEditor\data\scripts\Enc\ReadMe.txt ;) Support my work
Bourrinopathe Posted July 13, 2016 Author Posted July 13, 2016 Thanks for dropping by. That readme was one of the first thing I checked, but it only contains the encyclopedia entries format. At least, I managed to change the font typeface and size used to display the entries but if it's limited to UTF-8, I guess the text won't support any formatting. I was hoping for a trick with the .luas or something (a CSS-like hidden function)… Adding a secondary field or window might be possible by altering the DCS World OpenBeta\MissionEditor\modules\me_encyclopedia.lua and me_encyclopedia.dlg, but that would require some lua coding and I'm not familiar with the lua script. ;) /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
SVKSniper Posted July 13, 2016 Posted July 13, 2016 (edited) ReadMe is how to insert PNG file....i think fonts is not possibility change(or use only fonts from DCS folder but i dont know where define fonts for ENC)...but i never experiment with font.... UPDATE: now i check dlg file.....in line 1377 define font from this folder \DCS World OpenBeta\dxgui\skins\fonts....change font from this folder example: DejaVuLGCSerif-BoldItalic Edited July 13, 2016 by SVKSniper Support my work
Bourrinopathe Posted July 13, 2016 Author Posted July 13, 2016 Yes the .png is for the old encyclopedia version with pictures only. They're only used for the missing models. Afaik they're only used for that, but it might be possible to use that reference to insert them in a sub-window… The fonts have to be in a specific folder (\dxgui). You don't have to declare them in a specific file, you just use the names in the reference file (.dlg) (I used the InputMono font family in my screenshots). /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
SVKSniper Posted July 13, 2016 Posted July 13, 2016 Now i dont know if understand you but in my vehicle.txt you can define two options...first you see 3d model in ENC and second you see only pic. PNG...This is what you need or not?? Support my work
Bourrinopathe Posted July 14, 2016 Author Posted July 14, 2016 I'd like to use the picture and the 3D model: ;) /// ВКБ: GF Pro MkII+MCG Pro/GF MkII+SCG L/Black Mamba MkIII/Gladiator/T-Rudder MkII | X-55 Rhino throttle/Saitek Throttle Quadrant | OpenTrack+UTC /// ZULU +4 /// /// "THE T3ASE": i9 9900K | 64 GB DDR4 | RTX 2080ti OC | 2 TB NVMe SSDs, 1 TB SATA SSD, 12 TB HDDs | Gigabyte DESIGNARE mobo ///
Gliptal Posted July 21, 2016 Posted July 21, 2016 Excellent idea, I also find the Encyclopedia to be somewhat lacking.
spaceraver Posted July 29, 2016 Posted July 29, 2016 Love the banana for scale.. :P Anything with a Rotary Wing is fun and challenging. Use SRS radio. Saitek X55 Modding System Specs Mixed Metals: i7 4790K@4.6, 32GB Kingston HyperX ram@2400Mhz, Gigabyte GA-Z97MX Gaming 5, ASUS Vega 64, 3xSamsung SSD drives, FSP Aurum 1000W PSU, Custom watercooling with EK blocks, Vive, Virpil MT 50, X55 throttle.
Recommended Posts