Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Cockpits do not match planes  (Read 555 times)

0 Members and 1 Guest are viewing this topic.

Chikokishi

  • member
  • Offline Offline
  • Posts: 7
Cockpits do not match planes
« on: March 13, 2024, 04:22:39 PM »

I noticed that the U2 has a MB339A cockpit, so i checked the MB339A and it has some WW2 era cockpit.  Then i checked the MB339D and it has an F16 cockpit.

Is this some sort of installation error, or is there a way to fix this?



Logged

FL2070

  • Modder
  • member
  • Offline Offline
  • Posts: 1303
  • FAC #87
Re: Cockpits do not match planes
« Reply #1 on: March 13, 2024, 05:52:15 PM »

There is no installation error. For reasons (that would take too long to fully explain) relating to how cockpits are paired with aircraft in the game's code, it's not possible for an installation error to cause a problem like this.

It is definitely fixable, but doing so requires specialized modding tools and Java programming knowledge.

If nobody else does, I might take a look at it in a few days or weeks. It shouldn't be too time-consuming of a thing to fix.
Logged
On average, the average average averages, averagely, the average average of all averages.

Chikokishi

  • member
  • Offline Offline
  • Posts: 7
Re: Cockpits do not match planes
« Reply #2 on: March 13, 2024, 06:38:08 PM »

Could you explain (super simply, dont try too hard) why the cockpits might be scrambled?

I know very little of Java programming, but id be willing to at least try it myself instead of relying on others.
Logged

FL2070

  • Modder
  • member
  • Offline Offline
  • Posts: 1303
  • FAC #87
Re: Cockpits do not match planes
« Reply #3 on: March 13, 2024, 07:48:01 PM »

Could you explain why the cockpits [...] might be scrambled?

Each aircraft type is defined in terms of a Java class. Within each class for a plane, a cockpit class is referenced. The cockpit class tells the game which 3D model to use for the cockpit.

So, in the simplest terms, the cockpits are scrambled because it was, for whatever reason, deliberately made that way.

I know very little of Java programming, but id be willing to at least try it myself

Basic Java-modding resources can be downloaded here: https://www.sas1946.com/main/index.php/topic,126.0.html

You'll need a BAT classdump for compilation, which you'll need to make yourself, as the most recent BAT classdump is for 4.1.3. The classes from BAT's JTW module can be found in the #JTW3/Classes-BAT folder, which you'll need to combine with the 4.12.2m (BAT's base game version) classdump.

I'd also recommend looking through the SuperSchool (https://www.sas1946.com/main/index.php/board,132.0.html), especially this topic: https://www.sas1946.com/main/index.php/board,132.0.html and this one: https://www.sas1946.com/main/index.php/topic,37848.0.html

At this point, there's little more that I can do for you than wish you good luck... modding is a long, arduous, and very much hair-pulling multi-year journey. It'll get better once you begin to understand how things work, but there's a whole hell and a half of a lot to wrap your head around.
Logged
On average, the average average averages, averagely, the average average of all averages.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6181
Re: Cockpits do not match planes
« Reply #4 on: March 13, 2024, 09:05:10 PM »

'Incorrect' cockpits are mostly the result of the generally larger workload to create a proper cockpit than to make the plane's external model (as seen from outside). And so it's long been common practice to 'steal' an existing cockpit from another plane, hoping to get something that vaguely enough resembles what should really be there.

The drive to make yet more and more and more and more new planes greatly exceeds the enthusiasm for creating cockpits. Indeed, even fixing problems to existing cockpits takes a back seat to adding prototype crates, birds that didn't see combat, and even blueprint dreams that got no farther than the drawing board. And it goes without saying that expending effort on such desiterata as detailed gear struts for existing planes elicits excited heart fluttering out of all proportion to usefulness in terms of playability. Unless one flies all the time using the external/chase plane viewpoint, from which to admire the lines and details of stuff invisible from the cockpit.  ;)

If you're getting the impression that I'm a stronger advocate for fixing cockpits--the 'office' we occupy while flying and fighting--than for external model refinement, I wouldn't necessarily ascribe to you Sherlockian levels of perspicacity. It's pretty obvs! My plane mods lean heavily toward the betterment of the insides.  ;D
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Chikokishi

  • member
  • Offline Offline
  • Posts: 7
Re: Cockpits do not match planes
« Reply #5 on: March 14, 2024, 10:04:20 AM »

And so it's long been common practice to 'steal' an existing cockpit from another plane


I find it funny that the U2 would steal from an MB339, but the MB339 itself has the wrong cockpit haha.

Also, thank you FL20270.  Not saying i can even begin to work on this myself, but at least i will attempt to figure it out. 
Logged

Dimlee

  • member
  • Online Online
  • Posts: 1388
Re: Cockpits do not match planes
« Reply #6 on: March 14, 2024, 01:21:38 PM »

I knew that the U-2 cockpit was "borrowed" and now I know what it was.
I wonder if the creator borrowed something else since the range is much shorter than that of a real U-2.

Still, many thanks to the modders for this bird. Useful for many Cold War missions. Even for some 21st-century missions.
Logged
Pages: [1]   Go Up
 

Page created in 0.046 seconds with 20 queries.