SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (http://www.subsim.com/radioroom//index.php)
-   SHIII Mods Workshop (http://www.subsim.com/radioroom//forumdisplay.php?f=195)
-   -   [TEC] Emblem facing (http://www.subsim.com/radioroom//showthread.php?t=233440)

J0313 09-17-2017 04:33 PM

Emblem facing
 
How do you get the turm emblems to face the same direction? This is a NYGM 3.6F setup.

gap 09-19-2017 04:07 AM

I have never played NYGM, but I suppose there is no easy way to do what you described.
Before I tell you how to tweak game files to achieve that, how familiar are you with SHIII modding and (basic) 3D editing?

J0313 09-19-2017 06:24 PM

I'm have just a basic familiarity with S3D. But I am able to follow instructions well, I think. I would be thankful for any idea you have gap.

gap 09-20-2017 06:31 AM

Quote:

Originally Posted by J0313 (Post 2513707)
I'm have just a basic familiarity with S3D. But I am able to follow instructions well, I think. I would be thankful for any idea you have gap.

Okay, I can't go into details because as I said I have not NYGM files close at hands, but the following instructions should be generic enough that they can apply to any mod/u-boat:

1. Look in game files for the conning tower fitted on the submarine you are currently commanding. It should be placed in the data\Objects folder.

2. Open the corresponding dat file in S3D, select its main node in the project tree (or any other node), and click on 'Model preview'.

3. At this point you should see a white silhouette of the conning tower you have chosen. For better visibility, I suggest you to zoom in on it, click on the 'Enable diffuse map' button (i.e. the first light bulb in the model preview menu) in order to see a shadowed/textured version of it. Before you go on to the next point I suggest you to have a close look at the conning tower (by dragging the mouse with the middle/right MB you can rotate/pan your view) for making sure that that's actually the turm you want to edit. Note that on the sides of the turm there should be two black squares: those are the faces were emblems get mapped.

4. If your visual check is positive, you should expand the main node (you do it by clicking on the little triangle to the left of the node name), expand again the following child node, and select the 3D model under it. That should be the external turm mesh that you need to tweak. Click on 'Export' and you will be prompted to choose a save location; once you confirm, the next step will be choosing export settings. Usually I let all the options unchecked in 'Geometry' settings except for 'Reverse face winding', Float precision 12, all Material options checked, save to OBJ file:

https://i.imgur.com/qGydrtx.png

5. Now you need a 3D editor. My tool of election for most tasks is Wings3D: it is not the most powerful software of its type, but it is easy to use, it is free, and in most cases is more than we need. You can download the last version of it from this link

6. Once you have installed and run the program, go to 'File' => 'Import' => 'Wawefront (obj)...' and select the file you had previously exported.

7. Once the model is loaded, you should see it in the Geometry window, and a list of all the materials it uses in the Outliner window. Right click on one of the materials and choose 'Select' from the following menu, to select all faces that use that material (by default selected items are highlighted in red). You should do that for all the materials, until you find the one which applies to the emblem area.

8. Once you find the right material, and the polygons where emblems are mapped in game are selected, turn to top or front view (Y or Z key on your keyboard) and unselect the polygons of one side (to do that, press Ctrl on the keyboard while you drag the mouse with the LMB pressed)

9. If everything is okay, rotate the virtual camera around the conning tower to make sure that only the emblem area of one its sides is selected. You do it by pressing the middle mouse button and moving the mouse up/down left/right.

10. next step: right click anywhere on the geometry window (outside the 3D object) and select 'UV Mapping'. When you do that, an 'AutoUV' window will pop up with the projection of the "emblem faces" selected and highlighted in red; click with the RMB anywhere on that window and select 'Flip' => 'Horizontal'

11. When you are done, close the 'AutoUV' window, and export back the model to obj file: menu 'File' => 'Export' => 'Wawefront (obj)...'

12. Go back to S3d and import back the tweaked model. Best import options...

https://i.imgur.com/9C2bef7.png

That's it! Don't forget to save before you exit the editor (keeping a back-up copy of the original file would also be a good idea). You might still need to flip your favorite emblem using Photoshop or any photo editing program you are used to, but emblems on both sides of your conning tower should already be facing the same direction. Let us know if it works :salute:

J0313 09-20-2017 06:32 PM

I will give this a shot gap, thanks.

gap 09-20-2017 07:29 PM

Quote:

Originally Posted by J0313 (Post 2513956)
I will give this a shot gap, thanks.

My pleasure, you will say thanks when you have your emblem fixed :up:

J0313 09-23-2017 07:21 AM

It worked gap. Thank you teaching me that.

gap 09-23-2017 12:17 PM

Quote:

Originally Posted by J0313 (Post 2514531)
It worked gap. Thank you teaching me that.

Glad to help :yeah:

Quote:

Originally Posted by J0313 (Post 2513707)
I'm have just a basic familiarity with S3D. But I am able to follow instructions wel...

You didn't lie :03:

Aquelarrefox 10-23-2017 07:24 AM

Hi, if you have the fix for hi resolution sub for nygm place upload it.


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

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 1997- 2017 Subsim