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 |

How to edit ships tonnage?
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
Dowly



Joined: 07 Apr 2005
Posts: 1146
Location: Suomi Finland PERKELE!

PostPosted: Wed Apr 19, 2006 7:35 am    Post subject: How to edit ships tonnage? Reply with quote

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

Thanks! Thumbs Up


Last edited by Dowly on Wed Apr 19, 2006 1:15 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
GOZO



Joined: 18 Aug 2004
Posts: 66
Location: Linkoping, Sweden

PostPosted: Wed Apr 19, 2006 7:47 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
U2222



Joined: 19 Feb 2006
Posts: 16
Location: High Peak, UK

PostPosted: Wed Apr 19, 2006 7:50 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
GOZO



Joined: 18 Aug 2004
Posts: 66
Location: Linkoping, Sweden

PostPosted: Wed Apr 19, 2006 7:53 am    Post subject: Reply with quote

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

/Per
Back to top
View user's profile Send private message
Dowly



Joined: 07 Apr 2005
Posts: 1146
Location: Suomi Finland PERKELE!

PostPosted: Wed Apr 19, 2006 7:54 am    Post subject: Reply with quote

My install is:

1. GW
2. NYGM
3. Unified campaign
Back to top
View user's profile Send private message Send e-mail
GOZO



Joined: 18 Aug 2004
Posts: 66
Location: Linkoping, Sweden

PostPosted: Wed Apr 19, 2006 8:00 am    Post subject: Reply with quote

Thumbs Up

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

Maybe in the SHIII Commander files? :hmm:

Cheers

/Per Very Happy
Back to top
View user's profile Send private message
Dowly



Joined: 07 Apr 2005
Posts: 1146
Location: Suomi Finland PERKELE!

PostPosted: Wed Apr 19, 2006 11:05 pm    Post subject: Reply with quote

Bumpidy-Bump-Bump-Bump. Very Happy
Back to top
View user's profile Send private message Send e-mail
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Wed Apr 19, 2006 11:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Dowly



Joined: 07 Apr 2005
Posts: 1146
Location: Suomi Finland PERKELE!

PostPosted: Thu Apr 20, 2006 2:16 am    Post subject: Reply with quote

Beery wrote:
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! Smile
Back to top
View user's profile Send private message Send e-mail
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Apr 20, 2006 2:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Thu Apr 20, 2006 6:07 am    Post subject: Reply with quote

Dowly wrote:
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.
Back to top
View user's profile Send private message Visit poster's website
Dowly



Joined: 07 Apr 2005
Posts: 1146
Location: Suomi Finland PERKELE!

PostPosted: Thu Apr 20, 2006 6:40 am    Post subject: Reply with quote

Ok, thanks for clarifying this. Thumbs Up
Back to top
View user's profile Send private message Send e-mail
ref



Joined: 21 Nov 2005
Posts: 252
Location: Mar del Plata, Argentina

PostPosted: Thu Apr 20, 2006 7:14 am    Post subject: Re: How to edit ships tonnage? Reply with quote

Dowly wrote:
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. Smile
Thanks! Thumbs Up


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

Ref
Back to top
View user's profile Send private message Send e-mail
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Thu Apr 20, 2006 7:22 am    Post subject: Reply with quote

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".
Back to top
View user's profile Send private message Visit poster's website
ref



Joined: 21 Nov 2005
Posts: 252
Location: Mar del Plata, Argentina

PostPosted: Thu Apr 20, 2006 8:26 am    Post subject: Reply with quote

JScones wrote:
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
Back to top
View user's profile Send private message Send e-mail
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