SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-15-13, 10:54 PM   #1
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 112
Uploads: 1
Default

Found the problem with rear turrets. Several rear turrets that don't fire, don't have their barrels assigned correctly. Either the name is wrong like in the case of the Sunderland gr2 file, or the name is right, but the barrel bone is not linked to the turret and is instead stuck on the airplane body.. Humph... Not sure which which other planes are broken but I managed to fix the Sunderland and the heavy bomber. One downside is the actual barrel model seems to rotate inversely to the virtual turret and so the barrels of a rear turret are pointing at 0 degrees, I.e. back into the fuselage if the turret is shooting bullets at 180 degrees after it has overflown a sub or something... You cant really see this though when playing, but it is a bit yucky, but better than not firing at all or firing its forward turret by mistake... I have a feeling that a couple of stock planes that do have working turrets also have this problem.
Jace11 is offline   Reply With Quote
Old 05-16-13, 01:52 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jace11 View Post
Found the problem with rear turrets. Several rear turrets that don't fire, don't have their barrels assigned correctly. Either the name is wrong like in the case of the Sunderland gr2 file, or the name is right, but the barrel bone is not linked to the turret and is instead stuck on the airplane body.. Humph... Not sure which which other planes are broken but I managed to fix the Sunderland and the heavy bomber.
I think I see what you mean: in the case of the Sunderland, the barrel name specified in gun controllers (sim file), was the one used in the GR2 model for the fixed turret, rather than barrel name itself. Is this correct?

Brilliant finding

Quote:
Originally Posted by Jace11 View Post
One downside is the actual barrel model seems to rotate inversely to the virtual turret and so the barrels of a rear turret are pointing at 0 degrees, I.e. back into the fuselage if the turret is shooting bullets at 180 degrees after it has overflown a sub or something... You cant really see this though when playing, but it is a bit yucky, but better than not firing at all or firing its forward turret by mistake... I have a feeling that a couple of stock planes that do have working turrets also have this problem.
In other words, rear turrets are flipped by 180 deg... isn't it?

I see three possible solutions: either try inverting min and max traverse settings in rear turret controllers (e.g: 185/175 instead of 175/185), or rotate rear turret's bone (for doing it you need to change their flag to 3); if neither of the above methods works, rotate turret's bone (or barrel's bone ) as before, and change traverse settings from 175/185 to -5/5.

I am almost sure that one of the above tweaks will make the trick. Fingers crossed
gap is offline   Reply With Quote
Old 05-17-13, 01:43 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

I have figured out why only the float plane accepted multiple skins settings via cfg file. Any plane can be set similarly; the trick is renaming the main material of both full resolution and LOD GR2 models, from 'skin' to 'cfg#TXRskin'. This is easily done through GR2 Editor. No need to clone the model, nor to create a proxy unit. I was going to do it with your version of the Liberator, but it seems corrupted (no version of GR2 editor seems to open it). I have nonetheless made a testing mod which makes your new textures available in game:

http://www.mediafire.com/?tzrhxcgw0oa1tdy

Included in the mod are three single missions for testing different scenarios. They show some limitations of the game, relative to the handling of multiple textures by the same GR2 model:

- if many proxies of the same model are mixed together, only one texture is shown, no matter if they are set to use different skins.

- multiple texture definitions applied to the same roster entry are ignored, even if they have different date settings. Only the first texture definition is applied in single mission, no matter its date. I only hope that in campaign things are different.

gap is offline   Reply With Quote
Old 05-17-13, 01:56 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

PS: talking about aircraft skins, you might be interested in the following online resources:

roundels of the world:
http://en.wikipedia.org/wiki/Military_aircraft_insignia

RAF roundels:
http://en.wikipedia.org/wiki/Royal_Air_Force_roundels

USAF roundels:
http://en.wikipedia.org/wiki/Military_aircraft_insignia

Historical aviation color schemes by nationality:
http://www.jpsmodell.de/dc/luft_e.htm

Camouflage profiles:
http://wp.scn.ru/

WWII Camouflages:
http://www.fritzthefox.com/camo_guide.html
gap is offline   Reply With Quote
Old 05-19-13, 10:37 AM   #5
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 112
Uploads: 1
Default

Thanks for your help, ill have a look at it and see if I can get it working. The 1 skin at a time thing is pretty lame but I guess we have to live with it.

Not sure what is up with the liberator.GR2, maybe I used an older GR2 editor when I changed it and its not reading it...? not sure.
Jace11 is offline   Reply With Quote
Old 05-19-13, 11:00 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jace11 View Post
Thanks for your help, ill have a look at it and see if I can get it working. The 1 skin at a time thing is pretty lame but I guess we have to live with it.
yes, it is lame, but as you say, we can live with it. After all how many mixed squadrons (i.e. RAF and USN) of the same plane do we have in sampaign? I think no one.

I am currently drawing a list of all the Air Forces using the planes we have in game. It would be cool having one sking for each of them. It would be also nice if each Armed Force had more than one skin for the same plane (to reflect different camouflages/markings used at various stages of the war), but as I wrote, date settings are not applied in single mission, and I am not even sure that they are in campaign. The only workaround that I can think of, would be creating many unit definitions of the same aircraft with different availability dates and giving each of them its own texture, but it would require Trevally to update OHII for them to be correctly used in campaign.

Quote:
Originally Posted by Jace11 View Post
Not sure what is up with the liberator.GR2, maybe I used an older GR2 editor when I changed it and its not reading it...? not sure.
I used v 1.1.374.1. (latest version). It reads the stock GR2 file, but not your modifications of it. Tried again with v 1.1.272.1, and it opens your file; nonetheless, I suggest you to get the latest copy of GR2 editor, and to make your changes using it
gap is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.