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

Reply
 
Thread Tools Display Modes
Old 04-05-07, 03:28 AM   #1
kys2000
Loader
 
Join Date: Oct 2005
Posts: 84
Downloads: 13
Uploads: 0
Default help me ,who can tell me how to edit a val file ?

I am making a MOD named ATTACK JAPAN MOD,
the ship which coming from SH4,but ,the wake and damage texture doesn't work !
who do konwn how to edit a val file?
kys2000 is offline   Reply With Quote
Old 04-05-07, 05:33 AM   #2
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

1st! You have to know how to hex edit.

Now, take a SH3 val file from a ship near to same size of SH4 ship.

You must get the object IDs of the SH4 ship for:
Main object (such as NCC_Shipname)
SiajB
SiajF
SiajF2
Shipwake

Then you open the val file.
locate the parent IDs
of the
SiajB
SiajF
SiajF2
Shipwake
and replace with the SH4 Id's

The main object ID will be for the Damage textures.

The rule I wrote for SH3 analyzer will give you the ID's to replace in a val file.
http://files.filefront.com/ID_Finder.../fileinfo.html

Last edited by Madox58; 04-05-07 at 07:28 AM.
  Reply With Quote
Old 04-05-07, 10:43 AM   #3
kys2000
Loader
 
Join Date: Oct 2005
Posts: 84
Downloads: 13
Uploads: 0
Default

Quote:
Originally Posted by privateer
1st! You have to know how to hex edit.

Now, take a SH3 val file from a ship near to same size of SH4 ship.

You must get the object IDs of the SH4 ship for:
Main object (such as NCC_Shipname)
SiajB
SiajF
SiajF2
Shipwake

Then you open the val file.
locate the parent IDs
of the
SiajB
SiajF
SiajF2
Shipwake
and replace with the SH4 Id's

The main object ID will be for the Damage textures.

The rule I wrote for SH3 analyzer will give you the ID's to replace in a val file.
http://files.filefront.com/ID_Finder.../fileinfo.html

thank you very much

I don't use your rul file to find the ID of ship from SH4 !!!
It can work well on ship of SH3

How to find ID of ship from SH4 ???
kys2000 is offline   Reply With Quote
Old 04-05-07, 11:20 AM   #4
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I'm nearly finished with a rule for that also.
Saw it comeing a mile away.
:rotfl: :rotfl:

Once you have all the id's,
open the val file with a hex editor.
Replace the ID's with the SH4 ship matching ID's
There are many to replace so do a find and replace all
on each ID.
  Reply With Quote
Old 04-05-07, 12:34 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Rules to find all needed ID's sent in E-Mail
I'll post them up for D/L if FileFront decides to let me.
  Reply With Quote
Old 04-05-07, 07:38 PM   #6
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Again! Do A find and replace all!

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