Special Aircraft Service

Please login or register.

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

Author Topic: Gear Damage Mod For B.A.T., Pacific planes collection  (Read 4155 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6090
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #24 on: March 07, 2025, 08:27:04 AM »

In this matter of HUD messages I can mention this...

A while back I noted that among the fuel tank damage states the first two are simple leaks (the next two involve smoke and the last two involve smoke/fire.) Those two fuel leak states have differing rates of fuel loss (and the subsequent 4 damage states incur ever increasing rates of fuel loss/consumption in fire.) But the one and same fuel leak effect is used for both states. I therefore created an additional fuel leak effect, for flight and when on the ground, to visually differentiate netween the fuel quantity pouring out. And I created an additional HUD message which differentiates between the light and heavier leak.
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: 9588
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #25 on: March 07, 2025, 09:14:49 AM »

With NotePad from/for Windows you can view the text contained in Java code (hash files - files with very strange names).
In the middle of the cabalistic symbols in these files you'll find the “normal” texts.
Look for the “gear” text.
If you have a hexadecimal editor (e.g. HEdit) and respect the string length, you can modify the text.
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

GeraltNotRivia

  • member
  • Online Online
  • Posts: 26
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #26 on: March 07, 2025, 09:24:00 AM »

With NotePad from/for Windows you can view the text contained in Java code (hash files - files with very strange names).
In the middle of the cabalistic symbols in these files you'll find the “normal” texts.
Look for the “gear” text.
If you have a hexadecimal editor (e.g. HEdit) and respect the string length, you can modify the text.

Thanks! Nice to know!

If I found what lines java codes in this mod uses to show messages to screen, can I add them to hud_log.properties and change their language?
Like example:

Code: [Select]
FailedHydro                     Hydraulics: Leak
??FailedGear??                  Left Gear:  Hydraulic system Failed
??FailedGear2??                 Right Gear:  Hydraulic system Failed

Or is it just written to code as it is and it's impossible to change without your method?
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9588
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #27 on: March 07, 2025, 09:45:44 AM »

From memory... no.
Because in the code you see a coded sentence, not a variable or constant.
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

GeraltNotRivia

  • member
  • Online Online
  • Posts: 26
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #28 on: March 07, 2025, 09:52:54 AM »

Right!

Time to edit with HexEdit then.

Edit: Done! 8)
Logged
Pages: 1 2 [3]   Go Up
 

Page created in 0.089 seconds with 24 queries.