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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-04-12, 01:41 PM   #1
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Castorp24 View Post

But as you can see, I couldn't figure out how to make that flag get some stars and stripes (I'd like to release a RN version, too).

[IMG] Uploaded with ImageShack.us[/IMG]
Just above the ship image, click on "Linked 3D Model". A box will show that has the 'Material ID" and "Name". Under "Name" should be "American.tga", under the Material ID should be the ID for the node that is called "American.tga" (near the top of you list on the left.)

If that info is not there, just click on the "Add" button and it should show a list of the available materials. The materials/textures are those nodes with the four colored circles in front of them. When you click 'Add' it shoud show the two that say "<empty>" and the one the says 'American.tga', and there may be others if there are some not showing in your image. Select the one that says 'American.tga" and it should give you the flag.

You also commented you would like a RN version, I don't know why you want one for a Registered Nurse..... (kidding of course)

Here is a little trick you may or may not know, depends on if you read about S3D. What you need to do is get the material for the Flag from library/flag.dat. There are two materials:
1. British.tga
2. British_M2.tga
If you open the node and look at the child node embedded image you will see one is white, one is red. I know for some countries one is commercial ships, one is military. i do not know if that is correct for the British.

Now for the little 'trick'. You need to copy and paste it into the ship.dat file. If you use 'copy' you only get one line, there are three nodes to the material.
1. Material
2. Embedded Image
3. Label
To get all three use the keyboard, hold Shift+Ctrl and press C. That will copy all three lines. Come back to the ship.dat and Paste. Then open the "Linked 3D Model" and delete the American.tga and 'add' the British.tga. Done, new flag.

Then if you want to, you can go to the Roster and change American to British, and then change it in the ship.upc file (Nationality=) It is not a big deal except the US did not enter the war until Pearl Harbor was attacked, but that is when the game starts unless you use a MOD that changes that to an earlier date when British ships would be hostile to Germany but the US ship would not be.

Hope that helps.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.


Last edited by peabody; 01-04-12 at 02:07 PM.
peabody is offline   Reply With Quote
Old 01-04-12, 01:51 PM   #2
Castorp24
Loader
 
Join Date: Apr 2005
Location: Spain
Posts: 83
Downloads: 278
Uploads: 0
Default

That was fast , thank you so much
__________________
Castorp U-34 / 24 Flotilla
Castorp24 is offline   Reply With Quote
Old 01-04-12, 02:09 PM   #3
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Castorp24 View Post
That was fast , thank you so much
You answered before I finished . I edited it to include the instructions to do a British flag. Also I worded it bad, there are two British flags, you only need one material, not both. Which ever flag you are going to use.
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 01-04-12, 02:10 PM   #4
cdp44
Electrician's Mate
 
Join Date: Aug 2008
Location: Czech republic
Posts: 135
Downloads: 118
Uploads: 0
Default

And to show textures, switch those 4 bulb-like buttons above 3D view window.

Cdp44
cdp44 is offline   Reply With Quote
Old 01-04-12, 03:31 PM   #5
Castorp24
Loader
 
Join Date: Apr 2005
Location: Spain
Posts: 83
Downloads: 278
Uploads: 0
Default

__________________
Castorp U-34 / 24 Flotilla
Castorp24 is offline   Reply With Quote
Old 01-05-12, 01:28 PM   #6
Castorp24
Loader
 
Join Date: Apr 2005
Location: Spain
Posts: 83
Downloads: 278
Uploads: 0
Default

Quote:
Originally Posted by peabody View Post
You also commented you would like a RN version, I don't know why you want one for a Registered Nurse..... (kidding of course)
[IMG] Uploaded with ImageShack.us[/IMG]
__________________
Castorp U-34 / 24 Flotilla
Castorp24 is offline   Reply With Quote
Old 01-05-12, 02:17 PM   #7
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 01-06-12, 03:57 PM   #8
Castorp24
Loader
 
Join Date: Apr 2005
Location: Spain
Posts: 83
Downloads: 278
Uploads: 0
Default

Great, the ship has a proper flag.

Now, I think I have bookmarked some instructions somewhere here in the forum about making it career playable, so I'll leave that be for the moment. What I can't figure out is how to make this rear gun work.

[IMG] Uploaded with ImageShack.us[/IMG]

I don't even know what kind of gun it is. I read from wikipedia that these corvettes had sometimes a "pom-pom" gun (funny name, btw). I guess the reason it doesn't work (AI or player manned) is that cdp44's tug didn't have this kind of weapon on it.

Could someone point me in the right way? Thanks for your patience, guys...
__________________
Castorp U-34 / 24 Flotilla
Castorp24 is offline   Reply With Quote
Old 01-06-12, 05:00 PM   #9
cdp44
Electrician's Mate
 
Join Date: Aug 2008
Location: Czech republic
Posts: 135
Downloads: 118
Uploads: 0
Default

That is 40mm Bofors AA and I´m certain that my tug has at least one of those. As to make it work, the guns are defined in two files, *.sim (obj_turret records, you have to find the right one, or create new one) and *.dat (placement on ship´s model).
The node in *.dat file is a parent node for the record in *.sim file (for example A01), you copy its id and paste it into parent id in apropriate entry in *. sim file.
Just look at my Armed Tug, I put labels there to make identifing easier.

Cdp44

Edit: Just checked, the tug has even two of those. Oh and nice nurse by the way.

Last edited by cdp44; 01-06-12 at 05:26 PM.
cdp44 is offline   Reply With Quote
Old 01-06-12, 05:46 PM   #10
Castorp24
Loader
 
Join Date: Apr 2005
Location: Spain
Posts: 83
Downloads: 278
Uploads: 0
Default

My mistake, sorry Given the size of it, I had assumed from the beginning it "had to be" a deck gun, not an AA one, and because of that, when I tried the artillery against some merchants and DDs and saw that only the front turret was firing, I also assumed that it "didn't work". But anyway, now I now where to look at in order to tweak with weapons. Thanks again, cdp44 I'll try to find some aircraft and double-check that it works in the corvette.
__________________
Castorp U-34 / 24 Flotilla
Castorp24 is offline   Reply With Quote
Old 01-06-12, 05:58 PM   #11
cdp44
Electrician's Mate
 
Join Date: Aug 2008
Location: Czech republic
Posts: 135
Downloads: 118
Uploads: 0
Default

Obj_Turret in ships sim file is only for tweaking the traverse and elevation of the gun on the ship, for example you can use it to limit the turning of the turret so it won´t be able to shoot straight forward in the case of this one, since there is an obstacle.
To edit the gun itself, you need to find the gun in guns_radars files (there are three of them, dat, sim and zon). In case of my ships it is guns_radars_05. In this sim file you can edit shell speeds, ammo count, range, rate of fire and so on.

Cdp44

Last edited by cdp44; 08-06-13 at 09:28 AM.
cdp44 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 02:28 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.