SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-19-06, 07:35 AM   #1
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default How to edit ships tonnage?

How to edit tonnage I get from a ship? I want to make it like that it´s e.g. 9000 tons for T3, not 9683,3262 tons as it is now.

Thanks!
Dowly is offline   Reply With Quote
Old 04-19-06, 07:47 AM   #2
GOZO
Commander
 
Join Date: Aug 2004
Location: Linkoping, Sweden
Posts: 479
Downloads: 176
Uploads: 0
Default

Quote:
I want to make it like that it´s e.g. 9000 tons for T3, not 9683,3262 tons as it is
:rotfl: :rotfl: :rotfl:

Thaught the sub could read the "bar-code" on the ship through the scope??? :hmm:

By the way since you are online....- if using both GW and NYGMtonnage mod, wich one shoud be installed first or is it "egal"?

/Per
__________________


SHIV:TMo 2.5, RSRD, SCAF OLC, Ralle's modpack
SHIV: WDAD, Med Campaign
SHIII: GWX3 GOLD, OLCII Gold, ACM-reloaded interface mod, SHIIIcmndr 3.2, Full Realism/DiD
SHIII: LSH3 2015
Cold Waters with all bells and whistles
Finally SHV but still unmodded and still a noob....
GOZO is offline   Reply With Quote
Old 04-19-06, 07:50 AM   #3
U2222
Sparky
 
Join Date: Feb 2006
Location: High Peak, UK
Posts: 156
Downloads: 43
Uploads: 0
Default

By the way since you are online....- if using both GW and NYGMtonnage mod, wich one shoud be installed first or is it "egal"?

/Per[/quote]

The blurb says GW first, then NTGM
U2222 is offline   Reply With Quote
Old 04-19-06, 07:53 AM   #4
GOZO
Commander
 
Join Date: Aug 2004
Location: Linkoping, Sweden
Posts: 479
Downloads: 176
Uploads: 0
Default

Thanks! Thought I put in in since I had to reinstall the whooole thing yesterday due to.... someone fiddling with my comp when out.

/Per
__________________


SHIV:TMo 2.5, RSRD, SCAF OLC, Ralle's modpack
SHIV: WDAD, Med Campaign
SHIII: GWX3 GOLD, OLCII Gold, ACM-reloaded interface mod, SHIIIcmndr 3.2, Full Realism/DiD
SHIII: LSH3 2015
Cold Waters with all bells and whistles
Finally SHV but still unmodded and still a noob....
GOZO is offline   Reply With Quote
Old 04-19-06, 07:54 AM   #5
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

My install is:

1. GW
2. NYGM
3. Unified campaign
Dowly is offline   Reply With Quote
Old 04-19-06, 08:00 AM   #6
GOZO
Commander
 
Join Date: Aug 2004
Location: Linkoping, Sweden
Posts: 479
Downloads: 176
Uploads: 0
Default



Still I do not know how to fix the tonnage thing. Sorry kelun.

Maybe in the SHIII Commander files? :hmm:

Cheers

/Per
__________________


SHIV:TMo 2.5, RSRD, SCAF OLC, Ralle's modpack
SHIV: WDAD, Med Campaign
SHIII: GWX3 GOLD, OLCII Gold, ACM-reloaded interface mod, SHIIIcmndr 3.2, Full Realism/DiD
SHIII: LSH3 2015
Cold Waters with all bells and whistles
Finally SHV but still unmodded and still a noob....
GOZO is offline   Reply With Quote
Old 04-19-06, 11:05 PM   #7
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

Bumpidy-Bump-Bump-Bump.
Dowly is offline   Reply With Quote
Old 04-19-06, 11:52 PM   #8
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

The ship tonnages are located in the *.log and *.cfg files in each ship folder in the SilentHunterIII\data\Sea folder. They're listed in plain English in both files and you can use any text editor to edit them.

If you use SH3 Commander the process is different, as the data are kept in a single file called Ship displacements.cfg in the SH3 Commander\Cfg folder. Here you'll find the displacements which can be edited as desired, as well as the following:

[SETTINGS]
Precision=10

[DEFAULTS]
Upper=1.15
Lower=0.75
YearlyAdjust=1.02

To prevent the displacements from varying, change these values to read:

[SETTINGS]
Precision=1

[DEFAULTS]
Upper=1.00
Lower=1.00
YearlyAdjust=1.00

There will still be some very minor variations, as SH3 has hard-coded a few tons of variation for every ship in the game.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-20-06, 02:16 AM   #9
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

Quote:
Originally Posted by Beery
The ship tonnages are located in the *.log and *.cfg files in each ship folder in the SilentHunterIII\data\Sea folder. They're listed in plain English in both files and you can use any text editor to edit them.

If you use SH3 Commander the process is different, as the data are kept in a single file called Ship displacements.cfg in the SH3 Commander\Cfg folder. Here you'll find the displacements which can be edited as desired, as well as the following:

[SETTINGS]
Precision=10

[DEFAULTS]
Upper=1.15
Lower=0.75
YearlyAdjust=1.02

To prevent the displacements from varying, change these values to read:

[SETTINGS]
Precision=1

[DEFAULTS]
Upper=1.00
Lower=1.00
YearlyAdjust=1.00

There will still be some very minor variations, as SH3 has hard-coded a few tons of variation for every ship in the game.
So the ships tonnages are hardcoded, but I can edit how much they vary? For example, I cant change the T3´ tonnage, but i can make it vary?

I think I got it now. Thanks!
Dowly is offline   Reply With Quote
Old 04-20-06, 02:22 AM   #10
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

And if you are running NYGM's Tonnage War mod you need to set the RenownAwardedEqualsRandomTonnage value in SH3Cmdr's "Ship displacements.cfg" file to 1. That will ensure that the renown awarded equals the tonnage sunk.

Again, SH3 variation is inevitable.
JScones is offline   Reply With Quote
Old 04-20-06, 06:07 AM   #11
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Dowly
So the ships tonnages are hardcoded, but I can edit how much they vary? For example, I cant change the T3´ tonnage, but i can make it vary?
You CAN change the tonnage for each ship - you can make it whatever you want. Also, you can make it vary wildly if you use SH3 Commander, or, you can prevent SH3 Commander from varying the tonnage. So if you set a C3 (for example) to 2,400 tons and if you set the variation in SH3 Commander's Ship displacements file to "Upper=2" and "Lower=0.5" you'll get C3s that vary between 1200 tons and 4800 tons. If, on the other hand, you set the variation to "Upper=1" and "Lower=1" you'll get C3s that do not vary.

However, what's hard-coded is a slight variation: each time a sunk ship's tonnage is generated for a career score, a few tons are always added or subtracted from the score, so for a C3 that is registered as 6270 tons (as it is in SH3 Commander), the actual tonnage scored will always be between about 6265 and 6275 tons, even if you make SH3 Commander have no tonnage variation.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-20-06, 06:40 AM   #12
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,052
Downloads: 32
Uploads: 0


Default

Ok, thanks for clarifying this.
Dowly is offline   Reply With Quote
Old 04-20-06, 07:14 AM   #13
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default Re: How to edit ships tonnage?

Quote:
Originally Posted by Dowly
How to edit tonnage I get from a ship? I want to make it like that it´s e.g. 9000 tons for T3, not 9683,3262 tons as it is now.
Thanks!
Perhaps if you ask nicely JSCones can round the tonnage variation in his next version of SH3Commander ....

Ref
__________________
ref is offline   Reply With Quote
Old 04-20-06, 07:22 AM   #14
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Can already be done - simply adjust the DispPrecision setting in "Ship displacements.cfg".

Set DispPrecision = 1 to turn 1234 into 1234
Set DispPrecision = 10 to turn 1234 into 1230
Set DispPrecision = 100 to turn 1234 into 1200
Set DispPrecision = 1000 to turn 1234 into 1000

Again, even with the DispPrecision set to 1000 the end result will most likely be 1001 or 999 due to SH3's inbuilt "randomisation".
JScones is offline   Reply With Quote
Old 04-20-06, 08:26 AM   #15
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by JScones
Can already be done - simply adjust the DispPrecision setting in "Ship displacements.cfg".

Set DispPrecision = 1 to turn 1234 into 1234
Set DispPrecision = 10 to turn 1234 into 1230
Set DispPrecision = 100 to turn 1234 into 1200
Set DispPrecision = 1000 to turn 1234 into 1000

Again, even with the DispPrecision set to 1000 the end result will most likely be 1001 or 999 due to SH3's inbuilt "randomisation".
Damn, give us some chance to criticize, now I know why you aren't working for microsoft! :rotfl: :rotfl: :rotfl:

Ref
__________________
ref is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.