Special Aircraft Service

Please login or register.

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

Author Topic: HMS Hermes SkiJump carrier hooks fix  (Read 5017 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
HMS Hermes SkiJump carrier hooks fix
« on: February 26, 2022, 10:09:12 PM »



This little mod fixes the hooks, as defined in Hull2.msh. The _Left and _Right hooks were reversed, which for my reworked wake creation math in bigShipsGeneric.class caused the wake to be well displaced to the right of the ship.

I've also made these two hooks and the _Centre hook exactly align, as they were slightly offset both longitudinally and vertically. And I moved all three farther aft by just over 30m, to the point where the hull width about gets to its widest aft of the bow. Furthermore, the L and R hooks were moved outward a further 1.5m.


Get it here:

https://www.mediafire.com/file/hn7s7cxzjlalpci/HMSHermesSJ_hooks_fix.7z/file

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

cbradbury

  • member
  • Offline Offline
  • Posts: 1037
Re: HMS Hemes SkiJump carrier hooks fix
« Reply #1 on: February 27, 2022, 02:42:56 AM »

Hi Glenn,

when I apply the fix (via jgsme) the Hermes no longer shows up in FMB or the mission. For now I have reverted back to your 1.3 pack, at least for JTW, which I was pretty happy with anyway, tbh.

Yours,

Clive
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: HMS Hemes SkiJump carrier hooks fix
« Reply #2 on: February 27, 2022, 03:25:25 AM »

I didn't install this tub in my BAT 4.0, WAW-only game, supposing that it has incompatible features in its classes. And so I didn't test my changes. The only things altered are a few hooks in that one mesh containing them. What Java error or errors are being generated?
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

cbradbury

  • member
  • Offline Offline
  • Posts: 1037
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #3 on: February 27, 2022, 03:40:26 AM »

Code: [Select]
INTERNAL ERROR: MeshObj: Can't load mesh 3do/Ships/HMSHermesSJ/Hull2.msh
[2022-02-27 11:37:45.803 UTC +1] dT:    0 WARNING: object '3do/Ships/HMSHermesSJ/Hier.him' of class 'HIM' not loaded
[2022-02-27 11:37:45.803 UTC +1] dT:    0 INTERNAL ERROR: HierMeshObj: Can't load HIM 3do/Ships/HMSHermesSJ/Hier.him
[2022-02-27 11:37:45.803 UTC +1] dT:    0 INTERNAL ERROR: HierMeshObj: Can't load HIM 3do/Ships/HMSHermesSJ/Hier.him
[2022-02-27 11:37:45.803 UTC +1] dT:    0
[2022-02-27 11:37:45.803 UTC +1] dT:    0 java.lang.RuntimeException: INTERNAL ERROR: HierMeshObj: Can't load HIM 3do/Ships/HMSHermesSJ/Hier.him
[2022-02-27 11:37:45.803 UTC +1] dT:    0
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #4 on: February 27, 2022, 03:46:38 AM »

How about giving this a try. In my first stab at it I also did change the transformation matrix for several hooks which were (strangely, to me) disproportionate, via a reduced scaling on one axis. In the following I restore the full, original hook data, changing ONLY the reversed sign of the X values for the _Left and _Right hooks.

Copy and paste the following replacement into Hull2.msh:

Code: [Select]
[HookLoc]
0 -0.564388 0   1 -2.88668E-007 0   0 0 1   5.5 -130.747 0  //L B U
0 1 0   -1 0 0   0 0 1   7.47992 102 0.5
0.564388 0 0   0 1 0   0 0 1   11 -42.3417 -13.5721  //_Left (REVERSED!)
0.564388 0 0   0 1 0   0 0 1   -1.96695E-005 0 3
0.564388 0 0   0 1 0   0 0 1   -2.38419E-005 -97.8373 -13.5688  //_Nose
0.564388 0 0   0 1 0   0 0 1   -11 -42.3417 -13.5721  //_Right (REVERSED!)
0 0.240477 0.510592   0 0.904683 -0.426085 -1   -4.35188E-007 0 -16.492 -5.131 13.89
0 0.240477 0.510592   0 0.904683 -0.426085 -1   -4.35188E-007 0 -16.492 -3.294 14.049
0 -0.564388 0   1 -2.88668E-007 0   0 0 1   -2.14456E-005 -42.7716 -13.9915  //_Centre
0 0.564388 0   -1 0 0   0 0 1   -2.06196E-005 108.011 -13.5091  //_Prop

//0 -0.564388 0   1 0 0   0 0 1   5.5 -130.747 0.0  //_RWY_TO
//0 1 0   -1 0 0   0 0 1   7.47992 102 0.5  //_RWY_LDG
//0 1 0   -1 0 0   0 0 1   11 -42.3417 -13.5721  //_Left
//1 0 0   0 1 0   0 0 1   0.0 0.0 3.0  //_Light01
//0 1 0   -1 0 0   0 0 1   0.0 -97.8373 -13.5688  //_Nose
//0 1 0   -1 0 0   0 0 1   -11 -42.3417 -13.5721  //_Right
//0 0.240477 0.510592   0 0.904683 -0.426085   -1 0 0   -16.492 -5.131 13.89  //Vapor1
//0 0.240477 0.510592   0 0.904683 -0.426085   -1 0 0   -16.492 -3.294 14.049  //Vapor
//0 1 0   -1 0 0   0 0 1   0.0 -42.3417 -13.5721  //_Centre
//0 1 0   -1 0 0   0 0 1   0.0 108.011 -13.5091  //_Prop
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

cbradbury

  • member
  • Offline Offline
  • Posts: 1037
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #5 on: February 27, 2022, 04:19:09 AM »

No difference. No sign of the ship in FMB.
Logged

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9529
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #6 on: February 27, 2022, 05:04:24 AM »

In Hull2.msh : You see

[LOD1_FaceGroups]
189 249
0 0 189 0 249 0
-1 0 0 0 0 0

Try change to :

[LOD1_FaceGroups]
189 249
0 0 189 0 249 0
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

cbradbury

  • member
  • Offline Offline
  • Posts: 1037
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #7 on: February 27, 2022, 05:40:37 AM »

Thanks for the input, Gabriel. Nearly there.

Removing that line enables the Hermes in the game. Interestingly, using Glenn's amended code the wake is still offset to one side. However use the original in his fix, the wake is now aligned with the bow, but too far forward. What do I need to change to move it aft?
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #8 on: February 27, 2022, 05:53:34 AM »

Fix properly done! Re-download from the top post.

Gabriel beat me to it! I found the same problem in 14 meshes in that download I used. In order to get the ship to show up I had to fix them all. Once I could check things out in the game, I could then make the proper hook fixes. This included re-orienting some of them.

I also moved the _Centre, _Left and _Right hooks a bit farther aft.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #9 on: February 27, 2022, 06:04:19 AM »

This was a few hours of effort over a ship I may never use... What labours I'll undertake to keep you peeps happy!   ;D
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

cbradbury

  • member
  • Offline Offline
  • Posts: 1037
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #10 on: February 27, 2022, 06:26:49 AM »

This was a few hours of effort over a ship I may never use... What labours I'll undertake to keep you peeps happy!   ;D

Your work is appreciated, Glenn, I assure you.

However still a couple of problems with the latest fix, I'm afraid. Hermes still doesn't show. Remove the line Gabriel suggested and it appears, but the 'rectangular' wake is still too far forward from the bow (it is in line, though).
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6013
Re: HMS Hermes SkiJump carrier hooks fix
« Reply #11 on: February 27, 2022, 06:44:39 AM »

Strange, because in my BAT 4.0 WAW install the wakes behave properly, as my screenie in the top post shows.  Just to be sure you have the right set of hooks, here they are:

Code: [Select]
0 -0.564388 0   1 0 0   0 0 1   5.5 -130.747 0.0  //_RWY_TO
0 1 0   -1 0 0   0 0 1   7.47992 102 0.5  //_RWY_LDG
1 0 0   0 1 0   0 0 1   12.5 -8.0 -13.5721  //_Left
1 0 0   0 1 0   0 0 1   0.0 0.0 3.0  //_Light01
0 -1 0   1 0 0   0 0 1   0.0 -97.8373 -13.5688  //_Nose
-1 0 0   0 -1 0   0 0 1   -12.5 -8.0 -13.5721  //_Right
0 0.240477 0.510592   0 0.904683 -0.426085   -1 0 0   -16.492 -5.131 13.89  //Vapor1
0 0.240477 0.510592   0 0.904683 -0.426085   -1 0 0   -16.492 -3.294 14.049  //Vapor
0 1 0   -1 0 0   0 0 1   0.0 -8.0 -13.5721  //_Centre
0 1 0   -1 0 0   0 0 1   0.0 108.011 -13.5091  //_Prop
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)
Pages: [1] 2 3 4   Go Up
 

Page created in 0.047 seconds with 26 queries.