Special Aircraft Service

Please login or register.

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

Author Topic: Assign different triggers for early P-40 .30 and .50?  (Read 1018 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6051
Assign different triggers for early P-40 .30 and .50?
« on: February 25, 2020, 03:02:36 PM »

I have a topic on this in the Superschool...

If I didn't have nuttin' but trouble trying to get my hands on and install Eclipse, I wouldn't have to endure the vicissitudes of the crude and limited Jode compiler/decompiler. And I would have had this request done myself in minutes. It's so simple, but while Jode compiles my code seemingly fine, andq no in-game errors are generated at all, I get no joy. It's as though the game utterly ignores my classfile.

So I must come hat in hand, begging for someone to spend perhaps a half hour to take on the little task of assigning a different trigger for the .50s on the P-40B/C, Hawk 81-A and the Tomahawks.

This has already been done, for example, for the RKKA P-40 mod's Tomahawk (available here at SAS.)

As I understand it, the real planes had switches for selection of the desired guns. While there was just the one trigger on the stick, and hence no quick way to fire different guns via two triggers as we do in the game, at least this affords the ability to fire those guns deemed effective for the task.

My instinct is to assign trigger 0 for the wing-mounted .30s and 1 for the nose-mounted .50s. As the aforementioned RKKA mod does.

Thanks much in advance to any kind soul who might see this as a welcome diversion from the drudgery of building a whole plane from scratch. ;) And I'm sure other desk jockeys would appreciate this, too.

Cheers!
Glenn
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9544
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Assign different triggers for early P-40 .30 and .50?
« Reply #1 on: February 25, 2020, 05:07:50 PM »

It seems to me you're referring to "stock" planes.
In this case I suppose there is a 99% chance that in order to modify the triggers you have to do so by modifying the "cod" files of the aircraft concerned.
Nothing to do with Java.
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6051
Re: Assign different triggers for early P-40 .30 and .50?
« Reply #2 on: February 25, 2020, 08:31:36 PM »

Gabriel,
You know, I was partly suspecting the role of the cod file here. But the RKKA P-40 mod does not include a cod file, yet it successfully set different triggers for its new Tomahawk. Clearly, I don't understand the finer points of the game's architecture. ;)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

SAS~Storebror

  • Editor
  • member
  • Online Online
  • Posts: 23959
  • Taking a timeout
    • STFU
Re: Assign different triggers for early P-40 .30 and .50?
« Reply #3 on: February 25, 2020, 10:47:54 PM »

I have a topic on this in the Superschool...
'Nuff being said.
Locked.
Logged
Don't split your mentality without thinking twice.
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 24 queries.