Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 23 24 25 [26] 27 28 29 ... 38   Go Down

Author Topic: SAS Engine MOD 2.8.20 western & JC's Merge Effect (Beta) Full-pack 25/Jul/2020  (Read 168214 times)

0 Members and 7 Guests are viewing this topic.

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

Hi western, a question.

Your ###fuelReceiver type are compatible with Kc-97 or Kb-29P?

I think reworking on both KC-97 and KB-29P is needed.
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

Clone KA-6 code should be ok?
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

Clone KA-6 code should be ok?
KA-6D is drogue system refueling;
KC-97 and KB-29P you are aiming maybe flying boom system refueling.

They have common part and uncommon part.
KC-10 (non published) "Boom" code on SVN / my branch will be helpful.
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

does it also need a different code for the receiving aircraft?

Because I can not get attached to the Kc-10
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

does it also need a different code for the receiving aircraft?

Yes.

"KC-10 (Transport)" has the function receiving fuel from "KC-10 (Boom)".
Its source is placed in the same SVN folder.

But KC-10s are in very early developing stage and its Transport variant might not have refuel receptacle door open / close function with decision code not to attach the boom when the receptacle door doesn't open.
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

does it also need a different code for the receiving aircraft?

Yes.

"KC-10 (Transport)" has the function receiving fuel from "KC-10 (Boom)".
Its source is placed in the same SVN folder.

But KC-10s are in very early developing stage and its Transport variant might not have refuel receptacle door open / close function with decision code not to attach the boom when the receptacle door doesn't open.

this code is needed or can I ignore?

Code: [Select]
public void msgShot(Shot shot)
    {
        setShot(shot);
        if(shot.chunkName.startsWith("WingLIn") && World.Rnd().nextFloat(0.0F, 1.0F) < 0.1F)
            FM.AS.hitTank(shot.initiator, 0, 1);
        if(shot.chunkName.startsWith("WingRIn") && World.Rnd().nextFloat(0.0F, 1.0F) < 0.1F)
            FM.AS.hitTank(shot.initiator, 1, 1);
        if(shot.chunkName.startsWith("Engine1") && World.Rnd().nextFloat(0.0F, 1.0F) < 0.1F)
            FM.AS.hitEngine(shot.initiator, 0, 1);
        if(shot.chunkName.startsWith("Engine2") && World.Rnd().nextFloat(0.0F, 1.0F) < 0.1F)
            FM.AS.hitEngine(shot.initiator, 1, 1);
        if(shot.chunkName.startsWith("Engine3") && World.Rnd().nextFloat(0.0F, 1.0F) < 0.1F)
            FM.AS.hitEngine(shot.initiator, 2, 1);
        if(FM.AS.astateEngineStates[0] > 2 && FM.AS.astateEngineStates[1] > 2 && FM.AS.astateEngineStates[2] > 2)
            FM.setCapableOfBMP(false, shot.initiator);
        super.msgShot(shot);
    }

Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

msgShot() method is for calculating damage level in shot by enemies.
Not related to refueling , but needed or not is due to each aircrafts' 3d him node names and their collision names / structure styles , and how to simulate / reflect shot damages. Basic msgShot() codes are written in generic Aircraft.class maybe.
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

What hook i had to add in fuelReceiver plane?

Can't find "_Probe <BASE>" in Kc-10 transport
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

What hook i had to add in fuelReceiver plane?

Can't find "_Probe <BASE>" in Kc-10 transport

"_Receptacle" in Nose_D0.MSH  ;)
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

Hi western

Is possible to add "case12" in EjectionSeats.class

a thing like this, and you need also 3d i image

Quote
case 12: // '\014'
            setMesh("3DO/Plane/B52Belly/hier.him");
            drawing(true);
            break;
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog

Hi western

Is possible to add "case12" in EjectionSeats.class

a thing like this, and you need also 3d i image

Quote
case 12: // '\014'
            setMesh("3DO/Plane/B52Belly/hier.him");
            drawing(true);
            break;

No more needed such EjectionSeat.class editing.

Use expanded method
EjectionSeat(String seatMesh, String[] effStrings, float[] effSize, float[] effProcessTime, Loc loc, Vector3d vector3d, Aircraft aircraft, boolean ext);

All of EjectionSeat parameters can be set freely in calling it with msh string / effect string / etc. values from the version on Jan./2016.
Logged

4S_Vega

  • Modder
  • member
  • Offline Offline
  • Posts: 3748

mmmhhh

Maybe is needed a proper 3d, because the seat had to exit downward from the belly, and with seats that we have now come out with the head down.
Logged
Pages: 1 ... 23 24 25 [26] 27 28 29 ... 38   Go Up
 

Page created in 0.032 seconds with 25 queries.