Special Aircraft Service

Please login or register.

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

Author Topic: Shock Ansorber or Strut Effects?  (Read 1967 times)

0 Members and 1 Guest are viewing this topic.

Marat

  • member
  • Offline Offline
  • Posts: 297
Shock Ansorber or Strut Effects?
« on: April 16, 2019, 01:12:29 PM »

Dear friends,

Is there any mod for shock absorber or strut effect for Il-2 1946 like in Il-2 Battle for Stalingrad? I watched video of Battle for Stalingrad and found those effects very realistic when the planes taxi and take off/land. is it possible to have the same in Il-2 1946? Is it available, or is it possible to create the same? Unfortunatelly I am just an amateur and have no idea whether this can be realized. Please any advice?
Logged

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: Shock Ansorber or Strut Effects?
« Reply #1 on: April 16, 2019, 01:44:15 PM »

The rebound effect of landing gear exists in some Mods under IL-2 (including in 409).
But to have it on ALL planes you would have to redo the 3D of the landing gears and the code....
So you have a right to hope!  ;)
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Marat

  • member
  • Offline Offline
  • Posts: 297
Re: Shock Ansorber or Strut Effects?
« Reply #2 on: April 16, 2019, 02:22:59 PM »

I see! probably someday it will be available  :D
Logged

SAS~GJE52

  • Editor
  • member
  • Offline Offline
  • Posts: 5179
  • Orchard Studios
Re: Shock Ansorber or Strut Effects?
« Reply #3 on: April 16, 2019, 03:25:19 PM »








Logged
Do not criticise a man until you have walked a mile in his shoes...  Then you can call him what you like, as you have his shoes ... and he is a mile away......

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: Shock Ansorber or Strut Effects?
« Reply #4 on: April 17, 2019, 02:43:16 AM »

 :D
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Marat

  • member
  • Offline Offline
  • Posts: 297
Re: Shock Ansorber or Strut Effects?
« Reply #5 on: April 17, 2019, 05:40:05 AM »

But what means "Hell" in this case&  :)
Logged

Unca-Fester

  • Graduate of the Dirk Gently School of mucking about.
  • Modder
  • member
  • Offline Offline
  • Posts: 197
Re: Shock Ansorber or Strut Effects?
« Reply #6 on: April 17, 2019, 06:38:41 AM »

I love coding for animation of little details like this, but mostly in .xml.  Ill assume there's Java and other complexities involved.

Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23958
  • Taking a timeout
    • STFU
Re: Shock Ansorber or Strut Effects?
« Reply #7 on: April 17, 2019, 08:42:47 AM »

It's only modifying each and every plane's 3D and Java, that's all that is required.
Really easy thing if you've got no other life to live.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Marat

  • member
  • Offline Offline
  • Posts: 297
Re: Shock Ansorber or Strut Effects?
« Reply #8 on: April 17, 2019, 08:47:31 AM »

Oh! Now I got it!  :) That was bad idea  :D
Logged

Dreamk

  • Modder
  • member
  • Offline Offline
  • Posts: 2020
Re: Shock Ansorber or Strut Effects?
« Reply #9 on: April 17, 2019, 11:00:55 AM »

It's not a bad idea at all - just time consuming - but it would be more than welcome, above all, for a number of fixed gear airplanes that included this characteristic behavior.
The coding needed was introduced with the Hs123:
Code: [Select]
public void moveWheelSink()
{
if(FM.Gears.onGround())
suspension = suspension + 0.008F;
else
suspension = suspension - 0.008F;
if(suspension < 0.0F)
{
suspension = 0.0F;
if(!FM.isPlayers())
FM.Gears.bTailwheelLocked = true;
}
if(suspension > 0.1F)
suspension = 0.1F;
Aircraft.xyz[0] = 0.0F;
Aircraft.ypr[0] = 0.0F;
Aircraft.ypr[1] = 0.0F;
Aircraft.ypr[2] = 0.0F;
Aircraft.xyz[2] = 0.0F;
float f = Aircraft.cvt(FM.getSpeed(), 0.0F, 25F, 0.0F, 1.0F);
suspL = FM.Gears.gWheelSinking[0] * f + suspension;
Aircraft.xyz[2] = Aircraft.cvt(suspL, 0.0F, 0.24F, 0.0F, 0.24F);
hierMesh().chunkSetLocate("GearL2_D0", Aircraft.xyz, Aircraft.ypr);
suspR = FM.Gears.gWheelSinking[1] * f + suspension;
Aircraft.xyz[2] = Aircraft.cvt(suspR, 0.0F, 0.24F, 0.0F, 0.24F);
hierMesh().chunkSetLocate("GearR2_D0", Aircraft.xyz, Aircraft.ypr);
}

and of course you need to modify the gear meshes accordingly.
Logged

Marat

  • member
  • Offline Offline
  • Posts: 297
Re: Shock Ansorber or Strut Effects?
« Reply #10 on: April 17, 2019, 12:18:20 PM »

To be honest, the idea is great of course. But there's a big "But". I have no idea what is the code, mesh, class etc. As I am just a user and the only thing I can do in this great simulator is creating missions  :)
And one more thing of course is expecting of great mods made by genious proffesionals for us just users. I just thought that probably this kind mod existed and I probablu just missed it. But if it takes so much time to redo all info for one plane only, I' am afraid that would be an overwhelming task for modders, if I am not mistaken of course
Logged

SAS~GJE52

  • Editor
  • member
  • Offline Offline
  • Posts: 5179
  • Orchard Studios
Re: Shock Ansorber or Strut Effects?
« Reply #11 on: April 17, 2019, 03:16:33 PM »


Quote
the idea is great of course. But there's a big "But"   


... do you mean like ..... this ...?




Logged
Do not criticise a man until you have walked a mile in his shoes...  Then you can call him what you like, as you have his shoes ... and he is a mile away......
Pages: [1] 2   Go Up
 

Page created in 0.029 seconds with 26 queries.