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 05-08-10, 02:57 PM   #1
mb5oaks
Swabbie
 
Join Date: Jul 2008
Posts: 7
Downloads: 46
Uploads: 0
Default Editing Problems

Hi, i'm new to editing in SH4 but i'm kinda familiar with editing in other games. I'm use to just editing most things in notepad but when i open a .zon file or .sim file all i get is half english an half...it seems unreadable.

example:

reload��"���Range�
���range��<F
���angle���4B���ammo_storage�$���AP����shell�̖ Gp'
���amount��}��$���HE����shell�̖ɫZ
���amount��}��$���AA����shell���������
���amount��}��$���SS����shell���������
���amount��}�����Fire����effect�j;k

I'm trying to edit ammo storage, sub speed, weapons power, ext.

I downloaded silent3editor but all i get is half bits of stuff and never teh real meat of what i want.

My game works fine so i know its not a bad file.

please help
mb5oaks is offline   Reply With Quote
Old 05-08-10, 03:07 PM   #2
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

I'm trying to edit ammo storage,

in the submarine directory, in submarine.upc under "bunker" edit with notepad


sub speed,

same directory, submarine.sim file, open with s3d

weapons power, ext.

in the library directory : weaponname.zon file, edit with s3d

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 05-08-10, 03:16 PM   #3
mb5oaks
Swabbie
 
Join Date: Jul 2008
Posts: 7
Downloads: 46
Uploads: 0
Default

thanks for responding but with notepad i keep getting half english and half junk "fa$%#@---"

for example:
type:

depth: ff?


the other prob i'm having is with sd3, it seems i'm missing certain elements of information. I look at it wtih notepad and even through the half junk elements, i can see ceratin fields and elements i can tweek that i can't find or see with sd3.
mb5oaks is offline   Reply With Quote
Old 05-08-10, 03:26 PM   #4
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

you have to open s3d by double clicking on the icon !!! it's a sh4 editor and very powerful, other than that all the .upc files are in simple text, so you can edit them with notepad.

k
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 05-08-10, 04:11 PM   #5
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by mb5oaks View Post
thanks for responding but with notepad i keep getting half english and half junk "fa$%#@---"

for example:
type:

depth: ff?


the other prob i'm having is with sd3, it seems i'm missing certain elements of information. I look at it wtih notepad and even through the half junk elements, i can see ceratin fields and elements i can tweek that i can't find or see with sd3.
You need to look for them using S3D as Keltos stated. It is not one big list of items, they are grouped. Any group that can be opened will have a + sign next to it.

Let's do the Max Speed.
1. Open S3D
2. File/open Subname.sim
3. Find Unit_Submarine
4. click + sign
5. Select the entry that opens (it is the controller and is also named Unit_Submarine)
6. On the right side, Click + beside "Unit_Ship"
7. Click + beside the Propulsion
8. Select max_speed=
9. At the bottom of the page is a "Value" box, change value and hit enter
10. Save. Close.

There is also a max submerged speed that is inside the "E_Propulsion" (Electric Propulsion)

You can look around at all the items in here, but work from a backup file, do not overwrite the original or sooner or later you will be reinstalling the game.

Now with Notepad you need to open the Subname.cfg file and set the "MaxSpeed" to match what you set with S3D.

.dat, .sim, .zon, .val, .dsd, .cam open with S3D.

.cfg, .upc, .upcge, .eqp, open with Notepad.

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; 05-08-10 at 04:21 PM.
peabody is offline   Reply With Quote
Old 05-08-10, 04:23 PM   #6
mb5oaks
Swabbie
 
Join Date: Jul 2008
Posts: 7
Downloads: 46
Uploads: 0
Default

Thanks peabody!! that greatly helps!! i imagine it's basicly the same thing for weapons(shell damage, firing rate, torp speed/damage).
mb5oaks is offline   Reply With Quote
Old 05-08-10, 04:58 PM   #7
Karle94
The Old Man
 
Join Date: Mar 2009
Location: Norseland
Posts: 1,355
Downloads: 253
Uploads: 0
Default

Quote:
Originally Posted by mb5oaks View Post
Thanks peabody!! that greatly helps!! i imagine it's basicly the same thing for weapons(shell damage, firing rate, torp speed/damage).
That`s correct.
Karle94 is offline   Reply With Quote
Old 05-08-10, 06:42 PM   #8
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by mb5oaks View Post
Thanks peabody!! that greatly helps!! i imagine it's basicly the same thing for weapons(shell damage, firing rate, torp speed/damage).
Since things you change can affect other things in the game, I would suggest working on backup files and set your change up as a MOD.

If you don't know, you set up a MOD by making a folder, then inside that make a data folder, then inside that make folders until you get to the file you want to change. Exactly the same way they are set up in the game. Then you can use JSGME to enable your mod and if it causes problems you can disable the MOD and work on it without affecting the original files.

Example to change the maxspeed:

Modname (folder)
Data (folder)
Submarine(folder)
NSS_Gato (folder)
NSS_Gato.sim (file you are changing...copy it from the game and edit it)

When you enable it, it will only change the NSS_Gato.sim file in the game and replace it with your edited one. Then test it to see if it works.
You can put several MODs in the same "Modname" folder as long as you keep the folder structure the same as the game is. In other words you are telling JSGME what files to change and where to find them.

Hope that makes sense.

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
Reply


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:11 PM.


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