adding a ship in A1

Talk about anything related to old versions of Armada.
1, 2
posted on September 10th, 2011, 1:13 am
SPARTAN078 wrote:i've renamed the sod to rdracon. i've renamed the textures to rdracon as well. it should work now but it doesn't


No it shouldn't and won't. As Amateur said, the textures are in the sod, applied to the model and coded in the sod. You'll need to hex edit the model to change the texture names. I know nothing about how to do that.
But there is a program that many use and it's called: XVI32
It allows you to open the sod and change the name of the textures, very good if you're doing texture changes to say make a Federation ship into a Terran Empire one but still want to use the Federation version. But you have to be careful as you can screw the sod file up if done wrong. I would like always back-up before you proceed.
posted on October 6th, 2011, 12:48 am
These guys are essentially right but be warned. Hex editing SOD files incorrectly can seriously screw them up. I've done my fair share of hex editing and the edit MUST contain the same amount of letters as the original that was written when the SOD was converted. You might be better of reverse converting the model and then rehardpointing it and reexporting it with the new TGA filename you want.
posted on October 6th, 2011, 12:56 am
Last edited by Megadroid on October 6th, 2011, 1:01 am, edited 1 time in total.
Major A Payne wrote:I've done my fair share of hex editing and the edit MUST contain the same amount of letters as the original that was written when the SOD was converted.


True, if you don't change the length marker before the string.

The string "hardpoints" would look like this in the hex view:

Code: Select all
68 61 72 64 70 6F 69 6E 74 73


But if you look before that, you'll see that the whole construct is:

Code: Select all
0A 00 68 61 72 64 70 6F 69 6E 74 73


The "0A 00" is 10 in hex, which is the length of the string. All strings in the SOD format have this marker as they use this rather than null terminating them.

If you wanted to change "hardpoints" to "hardpoints_test" you would change it to this:

Code: Select all
0F 00 68 61 72 64 70 6F 69 6E 74 73 5F 74 65 73 74


0F 00 being 15, the length of the new string.

But yes, using a tool would be better.
posted on October 6th, 2011, 1:02 am
LOL Megadroid. I was trying to use the simplified method.

Be calling you "Mr Startrek Einstein" (sp??) soon  :D
1, 2
Reply

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 3 guests