SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   How to edit ships tonnage? (https://www.subsim.com/radioroom/showthread.php?t=92266)

Dowly 04-19-06 07:35 AM

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! :up:

GOZO 04-19-06 07:47 AM

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

U2222 04-19-06 07:50 AM

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

GOZO 04-19-06 07:53 AM

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

/Per

Dowly 04-19-06 07:54 AM

My install is:

1. GW
2. NYGM
3. Unified campaign

GOZO 04-19-06 08:00 AM

:up:

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

Maybe in the SHIII Commander files? :hmm:

Cheers

/Per :D

Dowly 04-19-06 11:05 PM

Bumpidy-Bump-Bump-Bump. :D

Beery 04-19-06 11:52 PM

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.

Dowly 04-20-06 02:16 AM

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! :)

JScones 04-20-06 02:22 AM

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.

Beery 04-20-06 06:07 AM

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.

Dowly 04-20-06 06:40 AM

Ok, thanks for clarifying this. :up:

ref 04-20-06 07:14 AM

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! :up:

Perhaps if you ask nicely JSCones can round the tonnage variation in his next version of SH3Commander .... :yep:

Ref

JScones 04-20-06 07:22 AM

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".

ref 04-20-06 08:26 AM

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


All times are GMT -5. The time now is 01:33 AM.

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.