Log in

View Full Version : Torpedo Modifications


Axeman
08-23-05, 02:13 AM
:hmm: How you make heads or tails out of the torpedo.zon file after it's loaded into hex editor?

clive bradbury
08-23-05, 09:57 AM
Find the text string of the value you want to examine. Click between the two full stops immediately to the right. Look under the '32 bit float' section of the editor and there you will see the allocated value e.g. torp speed, which will be in knots.

You can then use the editor to change the values if you wish.

Axeman
08-23-05, 01:20 PM
Find the text string of the value you want to examine. Click between the two full stops immediately to the right. Look under the '32 bit float' section of the editor and there you will see the allocated value e.g. torp speed, which will be in knots.

You can then use the editor to change the values if you wish.

Thank you Clive.

I had gotten to looking for the text string when I hit the brick wall. I see multiple copies of the exact same string. I don't know which one to modify or what the multiples are for...

Any more assistance would be truly appreciated.

clive bradbury
08-23-05, 02:51 PM
Ok, here goes. This is actually swabbie's guide to Hex workshop 4.2, which seems to have disappeared from the forum, so thanks go to him, really. The example comes from NSS_Uboat7c.sim file, but the same applies to all.

1. Look for the text string on the right hand side e.g. 'max speed'.

2. Click the mous ecursor between the periods on the right of the text.

3. In the bottom left side of the editor there is a box containing the bit points. Locate the 'float' bit, which will have a number next to it.

4. Click on the number. That will highlight all the hex parameters that make up that number.

5. At the top of the screen on the toolbar ensure that the 'F' button is selected (it should be already).

6. If you want to add speed to the number you are editing, click on the '+' button in the toolbar. This will bring up a pop-up screen called 'add operation'.

7. Click on the 'decimal' radio button.

8. On the drop down menu that reads 'treat data as' go down to '32 bit float' and click on that.

9. Ignore the middle box - it is not needed.

10. Under the 'value' box you will see a number that does not make sense - erase that value. Now enter in the value you want to increase the speed to. However, this figure will be additional to the existing value - so if the speed is '17' and you want to make it 20, put '3' in the box. Click on 'OK'.

11. Now the bit point number should have changed to the figure you want.

12. Go to the menu - 'File' - 'save as' and click on the file you have just edited. This will bring up a confirm screen that you will need to click 'yes' on.

There you go - job done!

Twitch
08-23-05, 07:46 PM
Ok, same question..im on the torpedo.zon file trying to find and change the type of guidence..

but if i type "guidence" and search... its nowhere in there.. and aside form that.. how do i know which torp im looking at? cant find the different types in there anywhere either..


it really sucks having to edit it this way by sifting through this garble of crap..

Twitch
08-23-05, 09:00 PM
Ok, here goes. This is actually swabbie's guide to Hex workshop 4.2, which seems to have disappeared from the forum, so thanks go to him, really. The example comes from NSS_Uboat7c.sim file, but the same applies to all.

1. Look for the text string on the right hand side e.g. 'max speed'.

there are no "strings" at all in the file stating what type of torpedo we are looking at the settings for..

2. Click the mous ecursor between the periods on the right of the text.

which periods? there are between 5 and 15 after the text depending on the text..

3. In the bottom left side of the editor there is a box containing the bit points. Locate the 'float' bit, which will have a number next to it.

its there.. but as with step 2.. clicking after a different period has a completely different value than any other which is the one to change???, AND what if the thing i wish to alter is no a number? but insted a word like "acoustic" or "pattern" etc etc... how do i know what pattern = what?


4. Click on the number. That will highlight all the hex parameters that make up that number.

that actually works, but there is still no way of knowing what item we are altering.. "max damage" for example.. max damage for what?

5. At the top of the screen on the toolbar ensure that the 'F' button is selected (it should be already).

no such button, but i guess thats because im not using the exact editor this "help" was written for.

6. If you want to add speed to the number you are editing, click on the '+' button in the toolbar. This will bring up a pop-up screen called 'add operation'.

a way to alter the speed, but no way to locate it in the first place..

7. Click on the 'decimal' radio button.

no such button.

8. On the drop down menu that reads 'treat data as' go down to '32 bit float' and click on that.
totally lost

9. Ignore the middle box - it is not needed.

????

10. Under the 'value' box you will see a number that does not make sense - erase that value. Now enter in the value you want to increase the speed to. However, this figure will be additional to the existing value - so if the speed is '17' and you want to make it 20, put '3' in the box. Click on 'OK'.

again.. add speed to what? no way of knowing what the item your setting the speed for is.

11. Now the bit point number should have changed to the figure you want.

if i could in fact ever make it this far.. im sure it would.

12. Go to the menu - 'File' - 'save as' and click on the file you have just edited. This will bring up a confirm screen that you will need to click 'yes' on.

it is confirmed that im LOST..

There you go - job done!yes, as my brain has melted and dripped out my ears.

clive bradbury
08-24-05, 05:37 AM
I never said it was easy - much of this type of modding is based on trial and error - change a figure, test in the game to see if you have the right torpedo etc.

Now you know how much work goes into even minor mods - makes you appreciate the work all the modders do, doesn't it?

Axeman
08-28-05, 10:00 PM
I understand what you are referring to now Clive. Hex Editor is definately different than what I have used in the past.

One final question on Hex editor, If you doubleclick the float number in the lower left corner it becomes editable. will this work for a shortcut or is it better to use the + key, select the floating value, etc?

I never realized that it was this much work with modern games. (last mods I hex edited were around the time that the 486 DX was the king of the hill... <G> (Sheez I feel old now...)

I have had mixed results with what I was attempting, but now I think I am close... just have to find ou what I did to get the Crash To Desktops to occurr after I leave Lorient, navigate to channel, and enter the ocean.

Thanks again Clive.

Axeman
08-28-05, 10:08 PM
Please change all references to Hex Editor in my previous message to Hex Workshop 4.2.

Caffene levels are running low... A transfusion is needed I guess.

clive bradbury
08-29-05, 12:55 AM
Axeman, I'm not sure about double-clicking as a shortcut - I've always done it the long way round, so to speak.