![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Nub
![]() Join Date: Jun 2005
Posts: 4
Downloads: 0
Uploads: 0
|
![]()
Hi, I'm wondering if it is possible to modify a submarine's top speed, and if so how? I've searched the forums and couldn't find anything, but if I've missed a thread with this in it I'd appreciate a link
![]() |
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 260
Uploads: 0
|
![]()
Yes you can, go to DATA - SUBMARINE - folder then open the sub files you want to edit (Make a back up first recommended) then open the CFG file for the sub then edit like this:
[Unit] ClassName=SSTypeIXB HumanPlayable=YES Interior=data/Interior/NSS_Uboat9/NSS_Uboat9 UnitType=200 MaxSpeed=19.3 ;18.2 MaxSpeedSubmerged=8.4 ;7.3 Length=76.9 Width=6 RenownAwarded=140 NOTE; I always put the original settings behind a semicolon in case I want to revert back.
__________________
![]() ![]() Silent and Violent |
![]() |
![]() |
![]() |
#3 |
Nub
![]() Join Date: Jun 2005
Posts: 4
Downloads: 0
Uploads: 0
|
![]()
Thanks for the reply! I tried that, and it doesn't seem to make any difference. It could just be me doing something wrong. What I've done is this:
[Unit] ClassName=SSTypeIIA HumanPlayable=YES Interior=data/Interior/NSS_Uboat2/NSS_Uboat2 UnitType=200 MaxSpeed=39.0 MaxSpeedSubmerged=21 Length=40.9 Width=4.1 RenownAwarded=110 Not that I want to actually go that fast, but I wanted to be able to see the difference. I can still only move at 13 knots. Can you see any mistakes I've made? Thanks again! |
![]() |
![]() |
![]() |
#4 |
Grey Wolf
![]() Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 260
Uploads: 0
|
![]()
My fault I forgot a bit more further down the cfg, very sorry:
[EngineProperties] AllStop=0.00 AheadSlow=0.50 ;0.40 AheadOneThird=0.67 ;0.57 AheadStandard=0.90 ;0.80 AheadFull=1.00 ;0.94 AheadFlank=1.05 ;1.00 BackSlow=-0.27 ;-0.26 BackStandard=-0.50 ;-0.40 BackFull=-0.63 ;-0.53 BackEmergency=-0.76 ;-0.66
__________________
![]() ![]() Silent and Violent |
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Incorrect, the only way to make a sub go faster underwater is to in fact edit the subs SIM file, The stated above CFG files lines
[Unit] ClassName=SSTypeIXB HumanPlayable=YES Interior=data/Interior/NSS_Uboat9/NSS_Uboat9 UnitType=200 MaxSpeed=19.3 ;18.2 MaxSpeedSubmerged=8.4 ;7.3 Length=76.9 Width=6 RenownAwarded=140 are the lines displayed in the museum as the info blurp on the ship/sub that u are currently viewing at that time. |
![]() |
![]() |
#6 |
Grey Wolf
![]() Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 260
Uploads: 0
|
![]()
Hmm... perhaps my speed reading is showing wrong since I did it.
__________________
![]() ![]() Silent and Violent |
![]() |
![]() |
![]() |
#7 |
Nub
![]() Join Date: Jun 2005
Posts: 4
Downloads: 0
Uploads: 0
|
![]()
Well, I edited the rest of the config file and it doesn't seem to make a difference. When I press 5 to go flank, the signal stays on slow but the sub goes at 13; when I click on the dial at flank, the sub stays at 13.
With editing the sim file, is Notepad a suitable program? I opened the IIA's .sim file and got the below: ¤ mq è 2 cmihalache Created/Modified using Kashmir ÿÿÿÿ! HebÁ˜ ܉õÂé¨@, cmdr_AIHumanSub < HebÁ˜ ܉ ( $ cmdr_AIHumanSub cmdr_AIMerchant ÿÿÿÿ è–MóŽ»–Œ% {¨È obj_Turret £ è–MóŽ»– ‹ obj_Turret ) Debug show_restr restr_dist HC Train Barrel M Traverse min max ´C speed A anm_train anm_human N Elevation min ´Â max ´B speed A anm_barel anm_human • Fire D trav_min HC trav_max C elev_min ´Â elev_max ´BD trav_min C trav_max HC elev_min ðA elev_max ´B ÿÿÿÿ >Óíé= ܉õÂé¨@, unit_Submarine ¼ >Óíé= ܉ ¨ ¤ unit_Submarine unit_Ship obj_Hydro " Debug params GC SD mass gc_height 33ó? fr_ratio ? put_on_water M Surfaced displacement ~C draught 33s@ drag LR š™™> UD ÍÌÌ=N Submerged displacement €—C draught Í̬@ drag LR ? UD š™>˜ Propulsion C Propellers NSS_Uboat2A_PROPELLER L NSS_Uboat2A_PROPELLER R max_speed PA max_force eng_power /D eng_rpm ðCN Rudders # Objects NSS_Uboat2A_RUDER drag ÍÌL= prop_fact ÍÌL=X Front_diveplane % Objects NSS_Uboat2A_PLANE F drag ÍÌÌ< prop_fact W Rear_diveplane % Objects NSS_Uboat2A_PLANE B drag ÍÌÌ< prop_fact ÍÌL=A E_propulsion max_speed ÍÌÜ@ eng_power ´C eng_rpm ‘CZ Ranges % Surfaced miles @ƒD knots @A& Submerged miles B knots €@" Ballast ManBT_flood_speed €»E ÿÿÿÿ# &8ªËeA܉õÂé¨@, wpn_SubTorpedoSys ½ &8ªËeA܉ © ¥ wpn_SubTorpedoSys auto_open eject_time š™™? eject_effect Œü^S+a Tubes X door NSS_Uboat2A_IDoor_anim02 " ext_door NSS_Uboat2A_EDoor_anim02 torpedo X door NSS_Uboat2A_IDoor_anim01 " ext_door NSS_Uboat2A_EDoor_anim01 torpedo Y door NSS_Uboat2A_IDoor_anim03 # ext_door NSS_Uboat2A_EDoor_anim 03 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Ó@ I'm not sure if it's meant to look like that, but it's a clean install patched to 1.4b so it shouldn't be corrupted. What part of it should I change? It might be obvious, but if so I'm missing it ![]() |
![]() |
![]() |
![]() |
#8 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
sim, zon files are edited with a HEX editor, and even then it still looks like gobbly gook
![]() So dont stress that ur SIM file looks like the above in Notepad, its the wrong program. |
![]() |
![]() |
#9 |
Nub
![]() Join Date: Jun 2005
Posts: 4
Downloads: 0
Uploads: 0
|
![]()
Thanks to both of you for your help. I have a hex editor now, but it's still puzzling me as to what part of the file I should change
![]() |
![]() |
![]() |
![]() |
#10 |
Sea Lord
![]() Join Date: Jun 2005
Location: Lux, betw. G, B and F
Posts: 1,898
Downloads: 66
Uploads: 0
|
![]()
DIFFERENT
i jhust edit the basic cfg file... about tree quartes down the list. there is a BOOST setting for the supercchargers/engine upgrade thinngs but IIRC that uses a LOT more fuel, but since i play at 47% realism... ![]()
__________________
In conclusion: SH3 is the shizzle, yo. -Frau Kaleun Another negative about using your deck gun is that you are definately DETECTED, which has long term effects on your relationship with aircraft. -snestorm |
![]() |
![]() |
![]() |
#11 |
GWX Project Director
|
![]()
...As long as you are having fun!
... to quote "Tim the Toolman", "HO HO HO... MORE POWER!" |
![]() |
![]() |
![]() |
#12 |
Bilge Rat
![]() Join Date: May 2005
Posts: 1
Downloads: 0
Uploads: 0
|
![]()
I had a look at altering acceleration a while ago and you can also affect top speed.
Look at this thread; http://www.subsim.com/phpBB/viewtopi...169&highlight= Later, Grayarea |
![]() |
![]() |
![]() |
#13 |
Swabbie
![]() Join Date: Jan 2002
Posts: 6
Downloads: 0
Uploads: 0
|
![]()
ive been tweaking the speed of my subs using the engine upgrade boost setting in the cfg file with no problems but the xxi doesnt make use a super/turbo charging sooo. it seems that i will have to edit the .sim file to make changes to the actual uboat speeds, no problem except hex editing and i dot get along very well. i have made some attempts, knowing what the default max speed is ive opened the .sim file and found what i believe to be the max speed entry but i cant seem to find that actual setting/figure needing to be changed. max_speed blank blank blank what am i trying to do here... any help would be nice, perhaps someone knows of a nice little hex editor or setting that will make editing such files as easy as editing a .cfg
|
![]() |
![]() |
![]() |
#14 |
Mate
![]() Join Date: Jul 2005
Posts: 55
Downloads: 1
Uploads: 0
|
![]()
Hi,
If you want to play around with your speed you can use the excellent tools created by Timetraveller (Sh3 Inspector). Or if you prefer learning how it work, you have to know that the speed is a floating point value converted to Hexadecimal. There you can find a nice program that help you doing the conversion from Hexa to Floating point, or vice-versa. http://www.61131.com/bits/FPconvert.zip After that you have to find the text "max_speed" in your ".sim" file for the sub you want to mod. Then look at the hex value after the word. For exemple the VII-C sub is supposed to reach 17.2 knots surfaced and 7.6 knots under water. If you put the 17.2 knots in the Floating point translator you have something looking like "999A" "4189" in the bottom "Hex Words 32 bit float". There we look at the 4189 value, it's the big part of it. (4189 translated into floating point value = 17.125 ) Now you take a look in your file just after the max_speed and you can spot the value "8841" . That's the value you are seeking for (4188 translate into 17.0) You have to look and try a little but every time the speed value is stored in the file right after the "max_speed" text. If you get lower you find another "max_speed" usualy after a "E_propulsion" text. That's the speed under water. If we take the VII-C case, you find the value "3333" "40F3" There the 40F3 is the part we are interested in. As it translate into "7.59375" in floating point unit. Now you only have to do some trying, but don't overdo it. Higher speed don't come without a cost. When you get higher speed, you have more troubles stabilizing your sub or you can have "surprises" when diving (like overshooting the diving depth you have asked for, or crashing to the bottom because of too high speed). In hope it helps. Stavinsky |
![]() |
![]() |
![]() |
#15 | |
Weps
![]() Join Date: Apr 2005
Location: Australia
Posts: 366
Downloads: 17
Uploads: 0
|
![]() Quote:
I wonder If I can fly a type IX over a battleship ![]() |
|
![]() |
![]() |
![]() |
|
|