Mirage 2000D cockpit fix
-
Update: this will make the buttons behave as stated in the manual(which is currently…wrong)
Hello guys, it’s Yuri again. For guys that just want the fix, put the file into Data/Art/ckpart/1950 for stock KTO and <theatre folder=“”>/Art/ckpart/1950 for any other theatre.
Download link: https://1drv.ms/u/s!Au64lQ02PI53h0GkwaKuV4ta6uQhHere’s the story:
Oirien, Woody from UOAF and me was flying Lorik’s Balkan Campaign this afternoon in the Mirage2000D. And we all couldn’t find any way to change the countermeasure programs of the plane. So after the flight, i took a look at the manual and test it. Turns out, the coordinates for those buttons and a few others in the pit was completely wrong, and thus no one could click them. I made a band-aid fix for it by using the coordinates for the text on the display, taken from LODEditor(notice the location of my mouse on the screen)But then, my OCD triggered, it’s awkward when i click on the screen to change the cmds programs and modes, while handoff and everything else is pressed on the buttons at the edges of the display. Problem is, LODEditor is a really poor tool when it comes to getting coordinates from your cursor, if your view isn’t aligned to either a x, y or z plane, it won’t give you cursor coordinates. And whoever created this pit didn’t make it easy for me either. The plate for those buttons, despite looking flat in the game(and probably is flat irl too), actually has a very strange curvy shape and the “buttons” are just textures painted on top of it. This means LODEditor had pretty much 0 way to get a good coordinate on where the buttons on the texture are. Half an our of guesstimating the coordinates later, no real progress, the plate just curves in such a strange way and also seems to be slanted, the coordinates is just everywhere, you get your z and y correct, but the moment you change the view to a… top down to get the x, nope, it’s curves in another way.
Then, an idea came. I do have the coordinates for the vertices of the polygons creating that plate, why not just model it in 3dsmax, apply texture on it and get the coordinates that way. An hour of modelling and crashing 3dsmax(yes, this thing curves in such a weird way even 3dsmax doesn’t want to render it). After the modelling is done, next comes squeezing the UV of the model so it matches with the original model UV, bake the texture in and it’s pretty much smooth sailing.
Luckily, the top and bottom plate of the display is just a flat polygon, so getting the coordinates for the buttons can be done pretty easily with LODEditor. The VH/VAH switch had outdated callback “OTWToggleScale”, so i changed it to the proper SimHUDScalesUp and SimHUDScalesDown for left and right click respectively.
TL;DR: Today i modeled a piece of the cockpit with 3dsmax from vertices data extracted with LODEditor just to properly fix 2 buttons in the mirage-2000D pit.</theatre>
-
In fact, choice of the ECM program in M2000D pit should not be done with MFD related button but with the rotary of the right console
It may look like that:
(sorry, I do not have any more a vanilla 4.33 installation, so do not pay specific attention to pit texture)Concerning the VH/VAH switch you are 100% right…
-
This post is deleted! -
Oh my, then it seemed like most of my work was going backwards RIP my effort, but then they haven’t updated the manual at all!
-
Oh my, then it seemed like most of my work was going backwards RIP my effort, but then they haven’t updated the manual at all!
That’s when you must understand why I’m hiding under my sofa every time you mention modding something I should feel concerned about.
-
That’s when you must understand why I’m hiding under my sofa every time you mention modding something I should feel concerned about.
I blame the manual. Since shouldn’t the manual be where “working as intended” is defined, and RTFM is the way of the simmer?
-
I blame the manual. Since shouldn’t the manual be where “working as intended” is defined, and RTFM is the way of the simmer?
The simmer is always right ,who’s flying the damn virtual plane anyway, the manual or the simmer
-
Well, i followed standard procedure, if i can’t find a button, RTFM if a manual exists, and the manual failed me
-
Well, i followed standard procedure, if i can’t find a button, RTFM if a manual exists, and the manual failed me
Fun times, I should be flying , just to be put on a suicide mission and get court martialed when I make it back.
-
Oh my, then it seemed like most of my work was going backwards RIP my effort, but then they haven’t updated the manual at all!
cheer up, and keep modding.
-