SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   Aircraft roster additions (https://www.subsim.com/radioroom/showthread.php?t=241029)

gap 05-21-19 04:57 PM

Quote:

Originally Posted by kapuhy (Post 2610607)
Just tried it - sadly, without luck. Proxy clone exhibits the same behaviour unless it's given its own gr2 files.

Okay, I have finally found the discussion that I was telling you about. I didn't re-read it all (yet), but it might contain the key to your problem:

http://www.subsim.com/radioroom/show...15#post2053415

Quote:

Originally Posted by kapuhy (Post 2610607)
Floating Plane's folder in TWoS contains some rather unusual files compared to other aircraft's folders:

Looks like two planes (dat and gr2) sharing single folder, but I haven't seen the dat version in game, nor any roster entry referencing it.

If memory serves me well those files were inherited from OHII, and they are the remains of an attempt to import a more realistic Catalina model in SH5. IIRC the model used was the one contained in GWX, but after some failed attempts to make it damageable by other units, it was finally discarded.
After many years, I think that problems wasn't insurmontable, but I don't think that retrying to import the same plane again is worth it: I seem to remember that some later supermod for SHIII or SHIV has a better Catalina model, and some even better models are on my HD :yep:

kapuhy 05-21-19 05:23 PM

Quote:

Originally Posted by gap (Post 2610628)
Okay, I have finally found the discussion that I was telling you about. I didn't re-read it all (yet), but it might contain the key to your problem:

http://www.subsim.com/radioroom/show...15#post2053415

I know this thread :-) That's where I've learned how to make main model accept multiple textures. The problem is, LOD file for any gr2 plane in my game, even when I change its main material from "skin" to "cfg#TXRskin", keeps using only default texture.

gap 05-21-19 06:58 PM

Quote:

Originally Posted by kapuhy (Post 2610633)
I know this thread :-) That's where I've learned how to make main model accept multiple textures. The problem is, LOD file for any gr2 plane in my game, even when I change its main material from "skin" to "cfg#TXRskin", keeps using only default texture.

Okay, from the day after tomorrow I won't be at home and probably I won't have time to test anything, but maybe tomorrow I will; I want to see if the same problem happens on my rig and with vanilla game...

kapuhy 05-22-19 03:35 AM

Test mission
 
For Gap or anyone who'd like to help test it: I've put a simple single mission on file sharing website:

https://ufile.io/c5i2m7up

Unpack into "Single Missions" folder. It puts British Catalina right above player's boat, if you go to external camera and look up you should see it.

Speaking of LOD models, I was suprised to find that FloatingPlane_LOD.gr2 is actually.... the same model as FloatingPlane.gr2. At least, its number of vertices is the same and I don't see any visual difference either. And its not just this plane - half the GR2 format planes have LOD models with equal or higher number of vertices than the "detailed" model: US Heavy Bomber, Beaufort, Fulmar, Me 109, Arado, FW200, Savoia, C200 fighter...

Ok, I'm not a game designer or 3D modeler but I don't get what is the point of having a LOD model that is more complicated than regular model?

Oby 06-20-19 02:30 PM

This mod is a great idea. I'd like to contribute a little. Let me present to you one of the less known plane from WWII era, Grumman J2F "Duck". For me the most badass plane ever build. Let's just enjoy the video:



https://www.youtube.com/watch?v=-kX-CwMJ-is


https://i.postimg.cc/SnszWLVF/sh5-20...4-07-59-25.pnghttps://i.postimg.cc/CBjZFcMD/sh5-20...4-08-02-12.pnghttps://i.postimg.cc/qzQ3hDsx/sh5-20...4-08-03-15.pnghttps://i.postimg.cc/VJGnTZ5k/sh5-20...-08-04-559.jpg


Found this forgotten legend somewhere on subsim long time ago. The model creator is Testpilot1978. It was created for SH3 with GWX. I just converted it for SH5 very quick and unpolished.


If there is interest I can provide files for implementing it in this mod.

kapuhy 07-09-19 12:37 PM

Quote:

Originally Posted by Oby (Post 2615044)
This mod is a great idea. I'd like to contribute a little. Let me present to you one of the less known plane from WWII era, Grumman J2F "Duck". For me the most badass plane ever build.

Found this forgotten legend somewhere on subsim long time ago. The model creator is Testpilot1978. It was created for SH3 with GWX. I just converted it for SH5 very quick and unpolished.


If there is interest I can provide files for implementing it in this mod.

Hi Oby!

Sorry for belated reply, I've not been very active on forums recently but I plan to find more time for SH5 modding this month. Lovely plane! Provided Testpilot1798 gives his permission as well, sure, it would be a great addition. And, since quick Wiki check tells me it was also used by Argentinian Navy, it would (after making a second paint scheme) allow to add one more airforce that is not currently represented in game.

Oby 03-16-21 01:24 AM

https://www.subsim.com/radioroom/<a ...-22-36-060.jpg
https://i.postimg.cc/J4dhDNDh/sh5-20...-22-36-060.jpg


I promised this long ago. Sorry for the delay but RL kicked in. Anyway here are the files for Grumman:


https://mega.nz/file/PeowGaBK#NjEKgl...y1OdESS9Xh4x3Y

kapuhy 03-16-21 03:37 AM

Quote:

Originally Posted by Oby (Post 2736595)
I promised this long ago. Sorry for the delay but RL kicked in. Anyway here are the files for Grumman:

Hi, and thanks :) I'll look at the files in the evening. From your screenshots though it looks like it's all ready and working in SH5 :up:

gap 03-16-21 05:27 AM

Quote:

Originally Posted by Oby (Post 2736595)
I promised this long ago. Sorry for the delay but RL kicked in. Anyway here are the files for Grumman:


https://mega.nz/file/PeowGaBK#NjEKgl...y1OdESS9Xh4x3Y

Such a nice plane, thank you Oby and Testpilot1978 :yeah:

U-190 03-22-21 09:00 PM

Quote:

Originally Posted by kapuhy (Post 2609408)
Hey guys, thanks! :oops:

A small update from this weekend - it's Hurricane season:

Egypt:
https://i.imgur.com/TrYeGpw.jpg
Free French:
https://i.imgur.com/2ZizWBn.jpg
Portugal:
https://i.imgur.com/E9UWMku.jpg
USSR:
https://i.imgur.com/GK7iB35.jpg
Turkey:
https://i.imgur.com/xh9cCmF.jpg
Yugoslavia:
https://i.imgur.com/U01GLHn.jpg



I'd hate for my last thought to be "Hey, these textures are all wro..." :D



It is. In test mission I've created to take aircraft screenshots, I've seen them drop bombs on ships.


-------------------------
I am struggling to find a workaround for a problem - despite switching material name from "skin" to "cfg#TXRskin" as Gap suggested in this post, LOD file seems to ignore other textures. This happens to Catalina model as well (only aircraft I know to use multiple textures in stock game):

https://youtu.be/5jNL97bmiZs

So far only way I found to work is to remove LOD file altogether. Even overwriting it with copy of full resolution GR2 file doesn't work, which suggests the issue is not with GR2 file but the game being configured to ignore additional textures with all LOD files. Another way that would probably work is creating a separate folder with main and LOD GR2 files for every texture version, but I suspect this might be quite taxing for game engine.

I think it's not about the LOD at all. The whole problem lies in the MipMaps DDS texture. I save in MipMaps 8 and this is quite enough to display the texture while reducing the visibility of the model. I have already encountered similar problems when I modified the games of the series in F1 Codemasters.
Here are my latest modding works for this game:
https://www.racedepartment.com/downl...res-mod.38363/
https://www.racedepartment.com/downl...res-mod.38248/
https://www.racedepartment.com/downl...res-mod.38173/

kapuhy 03-23-21 02:55 AM

Quote:

Originally Posted by U-190 (Post 2738123)
I think it's not about the LOD at all. The whole problem lies in the MipMaps DDS texture. I save in MipMaps 8 and this is quite enough to display the texture while reducing the visibility of the model. I have already encountered similar problems when I modified the games of the series in F1 Codemasters.

Hi, thanks! I'm not sure I do quite follow though. The problem I described only happens when:

- aircraft has separate main and LOD models (named, for example, Thisplane.gr2 and Thisplane_LOD.gr2)
- aircraft has two or more textures (for example, it is used by several countries and each country has its own camouflage)

Normally, in GR2 file you can set texture name to cfg#TXRskin which tells the game to check units cfg file in roster folder for which texture to use. If no texture is specified or the above naming convention not used, plane uses default texture.

Except this does not work for LOD gr2 file, so when (like in my example) when a plane that which has American texture by default, but cfg file tells it to use British one, gets far enough away for the game to switch to simplified LOD model - British texture is replaced by American (default).

If there's no separate LOD model (even with the same textures used) the plane uses correct camouflage at every distance.

I don't see how changing texture's mipmaps would help, but if you know of a way I'd be grateful for explaining it because this problem is not only causing trouble with multitextured planes, but also prevents us from making varied, colourful skins for merchant ships. Solving it would be great.

U-190 03-23-21 03:01 AM

Quote:

Originally Posted by kapuhy (Post 2738135)
Hi, thanks! I'm not sure I do quite follow though. The problem I described only happens when:

- aircraft has separate main and LOD models (named, for example, Thisplane.gr2 and Thisplane_LOD.gr2)
- aircraft has two or more textures (for example, it is used by several countries and each country has its own camouflage)

Normally, in GR2 file you can set texture name to cfg#TXRskin which tells the game to check units cfg file in roster folder for which texture to use. If no texture is specified or the above naming convention not used, plane uses default texture.

Except this does not work for LOD gr2 file, so when (like in my example) when a plane that which has American texture by default, but cfg file tells it to use British one, gets far enough away for the game to switch to simplified LOD model - British texture is replaced by American (default).

If there's no separate LOD model (even with the same textures used) the plane uses correct camouflage at every distance.

I don't see how changing texture's mipmaps would help, but if you know of a way I'd be grateful for explaining it because this problem is not only causing trouble with multitextured planes, but also prevents us from making varied, colourful skins for merchant ships. Solving it would be great.

I am currently drawing Messerschmitt BF 109 E and can see for myself exactly what the problem is

kapuhy 03-23-21 03:26 AM

Quote:

Originally Posted by U-190 (Post 2738136)
I am currently drawing Messerschmitt BF 109 E and can see for myself exactly what the problem is

Great :up: Keeping fingers crossed.

U-190 03-23-21 04:00 AM

https://youtu.be/tU8yKD6lyK8

U-190 03-23-21 01:46 PM

https://www.hostpic.org/images/2103240157110091.jpg


All times are GMT -5. The time now is 10:01 PM.

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