Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 9 10 11 [12] 13   Go Down

Author Topic: Barracuda v.1.04 - upd. 13.08.2016  (Read 44466 times)

0 Members and 1 Guest are viewing this topic.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 8285
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #132 on: April 09, 2017, 02:43:39 AM »

Do you watch what happens if you put bombs on this plane (player) and you fold the wings?
No ! Because if you had done so you would have reported the bug!  :-X



Unfortunately I can not modify / compile this version of the code.
So here's what to change:
Barracuda.class

Instead of:

   public void moveWingFold(float f) {
      moveWingFold(hierMesh(), f);
   }

Put :

   public void moveWingFold(float f) {
      moveWingFold(hierMesh(), f);
      if (f < 0.001F) {
         setGunPodsOn(true);
         hideWingWeapons(false);
      } else {
         setGunPodsOn(false);
         FM.CT.WeaponControl[0] = false;
         hideWingWeapons(true);
      }
   }

Logged
If your results are not up to your expectations, tell yourself that as large oak was once an acorn ...

Triad773

  • member
  • Offline Offline
  • Posts: 478
    • Triad's website
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #133 on: May 21, 2017, 11:13:22 AM »

Wow I saw the vid. while I was looking for something else. Lovens these obscure planes. And it's even compat. with my DBW install.

Thanks gents for all your work!
Cheers :D
Logged

milvipes

  • Modder
  • member
  • Offline Offline
  • Posts: 198
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #134 on: March 20, 2019, 10:48:25 AM »

So here's what to change:
Barracuda.class

Instead of:

   public void moveWingFold(float f) {
      moveWingFold(hierMesh(), f);
   }

Put :

   public void moveWingFold(float f) {
      moveWingFold(hierMesh(), f);
      if (f < 0.001F) {
         setGunPodsOn(true);
         hideWingWeapons(false);
      } else {
         setGunPodsOn(false);
         FM.CT.WeaponControl[0] = false;
         hideWingWeapons(true);
      }
   }
Excuse me but where exactly is that class file found? Or is it exclusively a 409 file?
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 4550
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #135 on: March 20, 2019, 11:40:31 AM »

... should be the biggest class :5160C93084104396
Logged

milvipes

  • Modder
  • member
  • Offline Offline
  • Posts: 198
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #136 on: March 21, 2019, 06:02:04 PM »

... should be the biggest class :5160C93084104396
I opened that file, but couldn't find the codes that resemble the ones posted by Epervier.
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 4550
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #137 on: March 22, 2019, 02:44:45 AM »

... which tool did you use to "open" the class ...?

... a text editor ...?

https://www.google.com/search?client=firefox-b-d&q=how+to+edit+a+java+class+file
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 8285
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #138 on: March 22, 2019, 03:55:07 AM »

... should be the biggest class :5160C93084104396
I opened that file, but couldn't find the codes that resemble the ones posted by Epervier.
I had provided this code for the Mod author to make the changes. Or for a person who knows how to make changes in Java code.

I can provide you with the Class for the 409!
See attachments...
Logged
If your results are not up to your expectations, tell yourself that as large oak was once an acorn ...

milvipes

  • Modder
  • member
  • Offline Offline
  • Posts: 198
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #139 on: March 22, 2019, 09:17:03 AM »

I had provided this code for the Mod author to make the changes. Or for a person who knows how to make changes in Java code.

I can provide you with the Class for the 409!
See attachments...
Thanks a bunch, I was using WordPad to open it, but apparently Java code didn't show up correctly.
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 4550
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #140 on: March 22, 2019, 10:24:28 AM »

... well in fact you can't see the java coding with a text editor, you need to decompile the class with a specific tool, edit the code and recompile it ...
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 8285
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #141 on: March 22, 2019, 10:25:53 AM »

... I was using WordPad to open it, but apparently Java code didn't show up correctly.
To open a "hash" file (5160C93084104396) you need a tool to transform it into a "class" file (Jode tool).
To read a "class" file you need a Java editor (Eclipe, ...).
Logged
If your results are not up to your expectations, tell yourself that as large oak was once an acorn ...

milvipes

  • Modder
  • member
  • Offline Offline
  • Posts: 198
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #142 on: March 25, 2019, 01:33:21 PM »

All-British flight deck. Corsair & Avenger can now step aside.

It works flawlessly now.
Logged

sosezi

  • member
  • Offline Offline
  • Posts: 585
  • Bombers ~ Old flying Buckets is my Love!
Re: Barracuda v.1.04 - upd. 13.08.2016
« Reply #143 on: April 04, 2019, 12:25:25 AM »

Any skins Yet?
Logged
Pages: 1 ... 9 10 11 [12] 13   Go Up
 

Page created in 0.059 seconds with 25 queries.