| View previous topic :: View next topic |
| Author |
Message |
Dowly
Joined: 07 Apr 2005 Posts: 1146 Location: Suomi Finland PERKELE!
|
Posted: Wed Apr 19, 2006 7:35 am Post subject: 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! 
Last edited by Dowly on Wed Apr 19, 2006 1:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
GOZO
Joined: 18 Aug 2004 Posts: 66 Location: Linkoping, Sweden
|
Posted: Wed Apr 19, 2006 7:47 am Post subject: |
|
|
| Quote: | | I want to make it like that it´s e.g. 9000 tons for T3, not 9683,3262 tons as it is |
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 |
|
 |
U2222
Joined: 19 Feb 2006 Posts: 16 Location: High Peak, UK
|
Posted: Wed Apr 19, 2006 7:50 am Post subject: |
|
|
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 |
|
 |
GOZO
Joined: 18 Aug 2004 Posts: 66 Location: Linkoping, Sweden
|
Posted: Wed Apr 19, 2006 7:53 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Dowly
Joined: 07 Apr 2005 Posts: 1146 Location: Suomi Finland PERKELE!
|
Posted: Wed Apr 19, 2006 7:54 am Post subject: |
|
|
My install is:
1. GW
2. NYGM
3. Unified campaign |
|
| Back to top |
|
 |
GOZO
Joined: 18 Aug 2004 Posts: 66 Location: Linkoping, Sweden
|
Posted: Wed Apr 19, 2006 8:00 am Post subject: |
|
|
Still I do not know how to fix the tonnage thing. Sorry kelun.
Maybe in the SHIII Commander files? :hmm:
Cheers
/Per  |
|
| Back to top |
|
 |
Dowly
Joined: 07 Apr 2005 Posts: 1146 Location: Suomi Finland PERKELE!
|
Posted: Wed Apr 19, 2006 11:05 pm Post subject: |
|
|
Bumpidy-Bump-Bump-Bump.  |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Wed Apr 19, 2006 11:52 pm Post subject: |
|
|
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 |
|
 |
Dowly
Joined: 07 Apr 2005 Posts: 1146 Location: Suomi Finland PERKELE!
|
Posted: Thu Apr 20, 2006 2:16 am Post subject: |
|
|
| 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!  |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Apr 20, 2006 2:22 am Post subject: |
|
|
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 |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Thu Apr 20, 2006 6:07 am Post subject: |
|
|
| 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 |
|
 |
Dowly
Joined: 07 Apr 2005 Posts: 1146 Location: Suomi Finland PERKELE!
|
Posted: Thu Apr 20, 2006 6:40 am Post subject: |
|
|
Ok, thanks for clarifying this.  |
|
| Back to top |
|
 |
ref
Joined: 21 Nov 2005 Posts: 252 Location: Mar del Plata, Argentina
|
Posted: Thu Apr 20, 2006 7:14 am Post subject: Re: How to edit ships tonnage? |
|
|
| 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.
Thanks!  |
Perhaps if you ask nicely JSCones can round the tonnage variation in his next version of SH3Commander ....
Ref |
|
| Back to top |
|
 |
JScones
Joined: 21 Apr 2005 Posts: 1129 Location: Australia
|
Posted: Thu Apr 20, 2006 7:22 am Post subject: |
|
|
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 |
|
 |
ref
Joined: 21 Nov 2005 Posts: 252 Location: Mar del Plata, Argentina
|
Posted: Thu Apr 20, 2006 8:26 am Post subject: |
|
|
| 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!
Ref |
|
| Back to top |
|
 |
|