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 03-23-09, 01:49 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 WEBSTER View Post
i need help


im looking at the shells.zon file and the entire tree is anonomous with nothing to show what anything is.


how will i know if im adjusting a 14" gun or a 3.5" gun


im sure this has been answered before somewhere but i didnt have time to read all 50+ pages of posts lol.


is there a plug in or something i forgot to add?
Go to shells .dat find the one you want to work on, copy the ID. Go to the .zon file and Edit/find and it will show you the zon file for that shell.

Quote:
how will i know if im adjusting a 14" gun or a 3.5" gun
If you want to work on a specific gun, you should check the shell it uses in the gun file. I did find one once that used the wrong shell (at least not the same size as the gun. something like a 5 inch gun using a 4 inch shell) but I don't remember which one it was.

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.

peabody is offline   Reply With Quote
Old 03-23-09, 02:37 PM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by peabody View Post
Go to shells .dat find the one you want to work on, copy the ID. Go to the .zon file and Edit/find and it will show you the zon file for that shell.



If you want to work on a specific gun, you should check the shell it uses in the gun file. I did find one once that used the wrong shell (at least not the same size as the gun. something like a 5 inch gun using a 4 inch shell) but I don't remember which one it was.

Peabody

is there a way to add a name to them so i dont have to keep going back to the dat? i know i can add a name but is it "safe" to change the label name? will it still work in the game with a different name?

i would rather spend time attatching names to them all so later it make life easier.

Last edited by Webster; 03-23-09 at 04:46 PM.
  Reply With Quote
Old 03-23-09, 08:12 PM   #3
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

You can attach a label chunk to a controller, the game won't mind generally speaking (unverified). Just remember that using a reserved name might cause issues (again unverified), and as chunks get reused often it's also more work to manage. That said, I still recommend you remove them from 'published' work because it's best to stay as close to original stock chunk-layout as possible, because it will only be more confusing in the long run (to others anyway).

I just use search function, to me it's faster than adding labels to all chunks.

Another tip is to reorder chunks in a zon or sim-file to match the DAT. Sometimes in stock this isn't the case.
skwasjer is offline   Reply With Quote
Old 03-23-09, 08:54 PM   #4
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i want to be sure we are talking about the same thing so let me explain my plan.

in the shells.zon every node has the same name, they are all labeled "AmmoDamageInfo" and they only have different ID numbers to tell them appart.

what i wanted to do was take the name of the coresponding node in the dat and use it to be the new label name.

so in the zon file "2:node - AmmoDamageInfo" has the parent ID 0x765548d9c98196cc

and in the dat file "node 203: 30mm_HE_shell" has its parent ID 0x765548d9c98196cc

so if they share the same parent ID and that means zon "2:node" is for the "30mm HE Shell"

so what i wanted to do was take the zone files "2:node" and give it the exact name i copied fron the dat files "node 203:" and name it like this:

2:node - 30mm_HE_shell

and when i do that the 3:node (child node) automatically becomes

3: !30mm_HE_shell ! - AmmoDamageInfo


i thought it was best if i was going to name things in the zon, it would be best to name them exactly the same way as they were named in the dat file so the game would recognize it. i dont know if my thinking that is correct or not.

hopefully that makes clear my question.


so is this something ok to do or could it cause problems.
  Reply With Quote
Old 03-23-09, 09:17 PM   #5
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Do not change the name of the controller... Perhaps it works, but I rather think it won't and suggest doing as indicated.
Quote:
Originally Posted by skwasjer View Post
You can attach a label chunk to a controller
skwasjer is offline   Reply With Quote
Old 03-23-09, 09:34 PM   #6
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by skwasjer View Post
Do not change the name of the controller... Perhaps it works, but I rather think it won't and suggest doing as indicated.


ok, i will not change anything.

i'll just write it all down somewhere to use as a reference when i need it.
  Reply With Quote
Old 03-24-09, 05:28 AM   #7
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
Default

:rotfl:
In HexEditor you can see your work in details ...

Sorry ... of topic ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 03-24-09, 12:59 PM   #8
jimbob
Ensign
 
Join Date: May 2005
Location: Suomi Finland
Posts: 222
Downloads: 365
Uploads: 6
Default

Quote:
Originally Posted by WEBSTER View Post
ok, i will not change anything.

i'll just write it all down somewhere to use as a reference when i need it.
Tought I did that about a year ago:

[TEC] Shells.dat + Shells.zon Node Numbers in 1.5

Now in download section too.
jimbob is offline   Reply With Quote
Old 03-29-09, 04:03 PM   #9
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,785
Downloads: 28
Uploads: 0
Default

Hey skwasjer,
I want to change some of the in-game fonts but S3D crashes whenever I open an off file. I've tried both editing existing .off files and creating a new one, but whatever I try it just don't work
I've tried it on two different PC's, one XP and one Vista, but all I get is the following message (in Dutch but that shouldn't be a problem to you):
Quote:
Kan bestand of assembly Menu, Version=1.0.0.0, Culture=neutral, PublicKeyToken=17f8ca7d3b368c56 of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
I'm using S3D v0.9.4
I hope you can fix this or tell me how to successfully edit those files if it's not s3d related
DarkFish is offline   Reply With Quote
Old 03-14-10, 06:57 AM   #10
Royale-Adio
Officer
 
Join Date: Jul 2009
Posts: 238
Downloads: 119
Uploads: 5
Default

Hi. I just want to know how to add INTERNAL torpedo reserves on a sub that hasn't got any.

Thanks
__________________
Lurking In The Dark...
Royale-Adio 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 01:36 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.