Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Editing Sub Speeds?
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Koks



Joined: 22 Nov 2002
Posts: 15

PostPosted: Thu Apr 07, 2005 10:57 pm    Post subject: Editing Sub Speeds? Reply with quote

heya!
Has anyone found out how to edit the submarines speeds?

the .cfg files in the data/submarine folder have no effect in the game (the editor allows you to alter the top speed when placing subs to the values defined in the cfg files).
i found out through another post that the speeds are stored in the .sim files.
i tried using a hex editor but it didnt work out...

anyone had any luck?
Back to top
View user's profile Send private message
Drebbel



Joined: 10 Jan 2002
Posts: 6153
Location: Almost at periscope death !

PostPosted: Fri Apr 08, 2005 8:44 am    Post subject: Reply with quote

Are the current speeds incorrect ? Or you just want to change them for fun ?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
rogerbo



Joined: 31 Mar 2005
Posts: 245
Location: Swiss Navy

PostPosted: Fri Apr 08, 2005 9:49 am    Post subject: Reply with quote

What you could do in the Basic.cfg modify the upgrades like the
Kompressor and the Turbo, just change the last value from 1.1 (1.2) to a higher number like 2.
After that when you add this Upgrade to your Sub you can do on a VII about 30Kts. however you also should change the corresponding cfg. in the submarine folders. reduce the low speed factors to 0.15, 0.37, and so on or you do at slow ahead still 10Kts. One other thing is that you should use the Unlimited Fuel as this mode does Burn fuel like hell Thumbs Up

THis is the easy mod for Speed. ( I tryd it and did speed up my IX to 35Kts at flank ) but this is only fun for Long distance travel, for geting to an attack position and for the attack run it's useless.
Also this mod is not working submerged whe you run on EL.
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Fri Apr 08, 2005 3:10 pm    Post subject: Reply with quote

You can download a hex editor such as Hex Workshop v 4.2 that supports float points and edit the (sub type).sim file in the folder to the particular sub you are trying to edit the speed to. For instance, Go to the /data/submarine/NSS_Uboat7c folder and use the hex editor to edit the speed parameter in that file. There will be two values for speed in that file. One is for Surface speed and the other is submerged speed. Just click on the float point and add as much speed as you want. I was just fooling around with it and got my sub to do over 200 knots submerged Laughing . You can also go into the library folder and edit the torpedo.sim file with a hex editor and make your torps go super fast as well. Rock
Back to top
View user's profile Send private message
Koks



Joined: 22 Nov 2002
Posts: 15

PostPosted: Fri Apr 08, 2005 6:52 pm    Post subject: Reply with quote

thanks for your advice!

i tried it with the float thing..
i still have kinda troubles with this..

you dont happen to have a small guide for this somewhere?
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Fri Apr 08, 2005 10:47 pm    Post subject: Reply with quote

Using Hex Workshop Version 4.2
CREATE A BACKUP OF ALL YOUR SUBMARINE FILES/FOLDERS FIRST BEFORE DOING ANYTHING JUST IN CASE YOU MESS UP!!!
Follow these instructions to the 'T'



1. Open(run) Hex Workshop version 4.2

2. Click on the 'File' Tab in upper lefthand corner.

3. Click on 'Open' and (Go to YOUR SHIII/DATA/SUBMARINE/NSS_Uboat7c folder. NOTE: It doesn't have to be this Sub Type folder but I'm using it for this guide. You could choose to edit the NSS_Uboat2A instead if you wish.

4. Inside the SHIII/DATA/SUBMARINE/NSS_Uboat7c folder, you will see a bunch of different file types. The one you want is called NSS_Uboat7c.SIM - CLICK ON IT. This will open the file up in Hex Workshop version 4.2

5. Now you see a screen showing you the contents of the file. On the left hand side of the screen is the HEX parameters and on the right hand side you have 'gibberish' that the HEX parameters make up. Some of this 'gibberish' is useful though. On the right hand side, scroll down until you see somewhere in all that 'gibberish' something that reads 'max_speed'.

6. Once you have located the 'max_speed' on the right hand side, CLICK the mouse cursor between the 'periods' that come after the 'max_speed . .'
The first period is a spacer, and the second one is the parameter you want to edit.

7. On the bottom left hand side of the HEX Workshop Verion 4.2 screen you will see a box that contains all the different types of bit points. The one you are concerned about is the 'FLOAT' bit point. It should say something like 'bit Float' and have a number next to it. If you are editing the SHIII/DATA/SUBMARINE/NSS_Uboat7c .sim file it will read like this 'bit Float 17.'

8. Click on that number. This just highlighted all the hex parameters that make up that number.

9. At the top of the screen you will see a toolbar. Click on the 'F' button to select it if it isn't already selected. This is the float point editor.

10. IF you want to ADD speed to this sub you are editing, CLICK on the '+' button on the toolbar. This will bring up a 'pop-up' screen that states at the top 'ADD OPERATION'.

11. On the 'pop-up' screen, CLICK ON the 'Decimal' radio button. The Hex radio button is on the right and the decimal one is on the left. Just make sure you click on decimal.

12. On the top drop down menu on the 'pop-up' screen that reads 'Treat Data As' go down to '32 Bit Float' and CLICK on that.

13. Don't do anything in the middle box as it is not needed.

14. Under the' Value' box you will see a number in it that doesn't make sense. Just highlight all of it and press delete to erase that value. Now enter in the value that you want you sub to travel at. BUT, remember that 'bit Float 17.' Remember, that whatever you add will be ontop of that '17'. So for instance. If I want my sub to travel at 40 knots add would just add 23 in the value box. Once you are done adding in your number, CLICK ON 'OK'.

15. Notice now that the 'bit Float 17' has changed. It should be 17+ whatever value you entered. So if you added 23 in the value box you would now see 'bit Float 40.' there.


16. You are now done with editing the surface speed of your sub. If you wish to edit your submerged speed just go down on the right hand side of the HEX Workshop Version 4.2 screen until you see another 'max_speed' in all the 'gibberish'. This is the submerged speed parameters. Just follow the steps above again for editing this one.

17. Once you are done with all your editing go to the top left hand side of the screen to 'FILE' and go down to 'SAVE AS' and click on the SHIII/DATA/SUBMARINE/NSS_Uboat7c .sim file if that was the file you just edited. This will bring up a confirm screen that you just have to click 'YES' on. The file will now be saved with the edits you just made.

18. Go into the SHIII/DATA/SUBMARINE/NSS_Uboat7c.CFG file add change the max speed(s) in that file that the sub can now travel at. Save that file and you are done.

19. Play the sim and use the Sub Type that you just edited as your sub and test to see if it worked. Hope it did and I hope you enjoy your sim.
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Fri Apr 08, 2005 11:01 pm    Post subject: Reply with quote

..mq................2...........cmihalache.Created/Modified using

Kashmir.....................!.....l.. Jr......@ ,.cmdr_AIHumanSub.........<.....l..

Jr........

(...$...cmdr_AIHumanSub.....cmdr_AIMerchant..............R........%.k....o

bj_Turret..............R......................obj_Turret.)...Debug.....show_rest

r......restr_dist...HC....Train......Barrel..M...Traverse.....min...HC....max...
C....speed....A....anm_train......anm_human..N...Elevation.....min.........max....B....speed...

A....anm_barel......anm_human......Fire......... .....!.".mo......@,.unit_Submarine...............!.".mo................unit_Submarine.

(...unit_Ship.....obj_Hydro."...Debug.....params......GC......SD......mas

s.........gc_height....@....fr_ratio....?....put_on_water..M...Surfaced.....

displacement...>D....draught....@....drag.....LR....>....UD....=N...Sub

merged.....displacement..XD....draught....@....drag.....LR...L>....UD.

...>....Propulsion.C...Propellers.....NSS_Uboat7c_propeller_L.....NSS_

Uboat7c_propeller_R.....max_speed

....A....max_force.........eng_power...HE....eng_rpm....Ce...Rudder

s.:...Objects.....NSS_Uboat7c_rudder_L.....NSS_Uboat7c_rudder_R...

..drag...L=....prop_fact...L=X...Front_diveplane.%...Objects.....NSS_


Uboat7c_plane_F..........drag....<....prop_fact.....W...Rear_diveplane.

%...Objects.....NSS_Uboat7c_plane_B..........drag....<....prop_fact...L

=A...E_propulsion.....max_speed.33

.....eng_power...;D....eng_rpm....CZ...Ranges.%...Surfaced.....

miles.. .E....knots...A&...Submerged.....miles....B....knots...."...Ball

ast.....ManBT_flood_speed...F........#....Lv...mo......,.wpn_SubTor

pedoSys..............Lv...mo........z...v...wpn_SubTorpedoSys.....auto_o

pen......eject_time....?....eject_effect...^S+..a....Tubes.^...!...door.NS

S_Uboat7c_Door02_FRU_anim.%...ext_door.NSS_Uboat7c_Door01_

FRU_anim.....torpedo.....^...!...door.NSS_Uboat7c_Door02_FLU_ani

m.%...ext_door.NSS_Uboat7c_Door01_FLU_anim.....torpedo.....^...!

...door.NSS_Uboat7c_Door02_FRD_anim.%...ext_door.NSS_Uboat7c

_Door01_FRD_anim.....torpedo.....^...!...door.NSS_Uboat7c_Door02

_FLD_anim.%...ext_door.NSS_Uboat7c_Door01_FLD_anim.....torped

o.....Z.......door.NSS_Uboat7c_Door02_B_anim.#...ext_door.NSS_Ub

oat7c_Door01_B_anim.....torpedo.....;...Rooms.....Fore.....Storage....

...........................................................................................................

..............................................load_time....?

r...Aft.X...Storage................................................................................

.....load_time....?....External.s...Fore.X...Storage................................

.....................................................xfer_time.33.r...Aft.X...Storage...

..................................................................................xfer_time.33..

...........


Last edited by SubSerpent on Fri Apr 08, 2005 11:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Fri Apr 08, 2005 11:10 pm    Post subject: Reply with quote

In the gibberish above I bolded the Max speeds that you need to edit in HEX workshop version 4.2


max_speed. .



and


max_speed.33.



The top one is the Suface speed and the bottom one is the submerged speed. Just click in between the two periods that come after the max_speed in the first to get the bit float point number and click between the period and the first 3 in max_speed.33. to get its bit float number. I hope you'll understand, I know it can be complicated at first.
Back to top
View user's profile Send private message
scumdog



Joined: 13 Jul 2003
Posts: 68

PostPosted: Sat Apr 09, 2005 1:51 am    Post subject: Reply with quote

Ive noticed that increasing the maximum speed also proportionally increases the amount of fuel consumed. If I double the maximum speed to about 30 knots the fuel will also burn twice as fast , even if I travel and normal or slow speeds.

So if you want these changes to practically apply to the campaign (for someone like me who wouldnt mind a faster surface top speed because I dont have 12 minutes to spend watching by sub travel across the atlantic, even on 512x tc) you need to adjust the amount of fuel onboard to compensate. Something which I havent been able to nail down yet.

Has anybody been able to locate the whereabouts of the fuel supply data so that we can have faster subs in the campaign?
Back to top
View user's profile Send private message
Koks



Joined: 22 Nov 2002
Posts: 15

PostPosted: Sat Apr 09, 2005 10:11 am    Post subject: Reply with quote

thanks a lot serpent!
great guide!

i am sure i can manage to edit this now :)
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Sat Apr 09, 2005 10:56 am    Post subject: Reply with quote

Sure, no prob! Wink Let me know how it goes!!
Back to top
View user's profile Send private message
SubSerpent



Joined: 01 Apr 2005
Posts: 560
Location: Approaching Critical Depth!

PostPosted: Sat Apr 09, 2005 11:03 am    Post subject: Reply with quote

scumdog wrote:
Ive noticed that increasing the maximum speed also proportionally increases the amount of fuel consumed. If I double the maximum speed to about 30 knots the fuel will also burn twice as fast , even if I travel and normal or slow speeds.

So if you want these changes to practically apply to the campaign (for someone like me who wouldnt mind a faster surface top speed because I dont have 12 minutes to spend watching by sub travel across the atlantic, even on 512x tc) you need to adjust the amount of fuel onboard to compensate. Something which I havent been able to nail down yet.

Has anybody been able to locate the whereabouts of the fuel supply data so that we can have faster subs in the campaign?



This may be true, I haven't actually tested it. However, I have still managed to get pretty far though using newer class subs that contained more fuel onboard such as VIIB,VIIC,and IXB on up! The key is to not 'Flank' the whole time and if this is how you wish to play the game you can always turn on 'Unlimited Fuel' in the difficulty settings...You are already cheating in a way by making your sub faster than what it was capable of doing in real life! Wink
Back to top
View user's profile Send private message
scumdog



Joined: 13 Jul 2003
Posts: 68

PostPosted: Sat Apr 09, 2005 6:04 pm    Post subject: Reply with quote

Quote:
The key is to not 'Flank' the whole time and if this is how you wish to play the game you can always turn on 'Unlimited Fuel' in the difficulty settings...



As I said the fuel consumpion rate is increased even if I stay at low speeds. It doesnt matter if Im at flank speed or 2 knots the fuel still burns twice as fast..

And yes speeding up subs is 'cheating' but my only intention in doing so is to make the campaign a little more practical for me to play. By increasing the surface top speed so I can get around a little faster really does not effect the prime mechanism of the game- the silent hunt, which is played out while submerged.
An unlimited fuel supply is a little too extreme and would only take away the fun challenge of fuel management..
Back to top
View user's profile Send private message
scumdog



Joined: 13 Jul 2003
Posts: 68

PostPosted: Sun Apr 10, 2005 6:52 pm    Post subject: Reply with quote

Nobody has found the parameters for fuel supply yet I guess?
Back to top
View user's profile Send private message
Koks



Joined: 22 Nov 2002
Posts: 15

PostPosted: Sun Apr 10, 2005 9:52 pm    Post subject: Reply with quote

speed works perfectly now :) thanks again for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group