PDA

View Full Version : help me ,who can tell me how to edit a val file ?


kys2000
04-05-07, 03:28 AM
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?

Madox58
04-05-07, 05:33 AM
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_Finderrul/;7141393;/fileinfo.html

kys2000
04-05-07, 10:43 AM
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_Finderrul/;7141393;/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 ???

Madox58
04-05-07, 11:20 AM
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.

Madox58
04-05-07, 12:34 PM
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.

Madox58
04-05-07, 07:38 PM
Again! Do A find and replace all!

http://i108.photobucket.com/albums/n12/privateer_2006/SH4/REPLACE_ALL.jpg