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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-14-07, 04:56 PM   #1
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default [REL] Further randomized tonnage (and reduced options)

EDIT Here's a beta if anyone wants to try it out
NOT HOSTED ANYMORE

xxxxxxxxxxxxxxxx

Is anyone interested in a random/reduced tonnage mod for merchants?

I threw together a mod that randomizes tonnage by 5% or 10% of the default value for all the merchants. I also have a few options that randomize and *reduce* tonnage.

For example

KSQ=Coastal Composite Freighter
(default tonnage 1850-1860)

option 1 - randomized lower value begins 10% lower than default and top value capped at default upper limit.
1665-1860 tons

option 2 - randomized lower value begins 5% lower than default value. Upper value can reach to 5% higher than default value.
1757-1942 tons

option 3 - randomized by 10% of lower default value, upper limit 10% higher.
1665-2035 tons

option 4 randomized and reduced
1053-1256 tons

option 5 -randomized and severely reduced (the biger ships such as 18000 ton passenger liner still are 18000 and large tankers still are around 10k)
542-681 tons

The work is all done basically, I haven't really tested it in game other than to see that the recog manual does show the new tonnage correctly and I did sink one ship that produced a tonnage in the desired range...so this would be considered a beta.

I would just need to upload it if there is any interest. Here's all the ships and the various tonnage options (the mod has 5 different options to choose from).

SHIP TONNAGE
============

KSQ=Coastal Composite Freighter (default 1850-1860)
C10% 1665-1860
THO% 1053-1256
THOH 542-681

005% 1757-1942
010% 1665-2035

KSS=Small Split Freighter (default 2427-2437)
C10% 2184-2437
THO% 2046-2219
THOH 1053-1256

005% 2395-2548
010% 2184-2670

KMSSBiyo=Medium Old Split Freighter (default 5425-5505)
C10% 4882-5505
THO% 4739-5396
THOH 3802-4496

005% 5153-5696
010% 4882-5968

KMSSKinposan=Medium Modern Split Freighter (default 3262-3282)
C10% 2936-3282
THO% 2820-3132
THOH 2738-2854

005% 3099-3425
010% 2936-3588

KMCSHeito=Medium Modern Composite Freighter (default 4466-4488)
C10% 4019-4488
THO% 3802-3830
THOH 3527-3830

005% 4242-4689
010% 4019-4913

KMCSAkita=Medium Old Composite Freighter (default 3936-4086)
C10% 3542-4086
THO% 3127-3183
THOH 2898-3183

005% 3739-4133
010% 3542-4330

KLSSHakusika=Large Old Split Freighter (default 8150-8400)
C10% 7335-8400
THO% 7251-7500
THOH 6755-7500

005% 7742-8557
010% 7335-8965

KLCSNagara=Large Modern Composite Freighter (default 7145-7235)
C10% 6430-7235
THO% 6200-6484
THOH 5875-6484

005% 6787-7502
010% 6430-7860

KMCSZinbu=Medium European Composite Freighter (default 5186-5436)
C10% 4667-5436
THO% 4823-5396
THOH 4823-5396

005% 4926-5445
010% 4667-5705

KSCSTaihosan=Small Modern Composite Freighter (default 1850-1860)
C10% 1665-1860
THO% 1735-2046
THOH 542-681

005% 1757-1942
010% 1665-2035

KSSSKasagisan=Small Old Split Freighter (default 2427-2437)
C10% 2184-2437
THO% 2046-2219
THOH 1053-1256

005% 2305-2548
010% 2184-2670

PLConteVerde=Huge European Liner (default 18765)
C10% 16888-18765
THO% 17537-18765
THOH 17537-18765

005% 17826-19703
010% 16888-20642

PLKiturin=Modern Passenger Liner (default 6783-6983)
C10% 6105-6983
THO% 5633-6484
THOH 5633-6484

005% 6444-7122
010% 6105-7461

PLHorai=Large Old Passenger Carrier (default 9192-9692)
C10% 8273-9692
THO% 9181-9256
THOH 9181-9256

005% 8732-9651
010% 8273-10111

PSTyohei=Small Passenger Carrier (default 1718-1768)
C10% 1546-1768
THO% 1718-1768
THOH 1546-1768

005% 1632-1804
010% 1546-1890

OTMS=T3 Tanker (default 11335-11340)
C10% 10201-11340
THO% 9181-11117
THOH 9181-11117

005% 10768-11902
010% 10201-12469

OSHaruna=Small Old Tanker (default 1549-1649)
C10% 1394-1649
THO% 1549-1649
THOH 889-1236

005% 1471-1626
010% 1394-1704

OMBuzyun=Medium Old Tanker (default 4804-5104)
C10% 4324-5104
THO% 4000-4804
THOH 4000-4804

005% 4564-5044
010% 4324-5284

OLNippon=Large Modern Tanker (default 10000-10005)
C10% 9000-10005
THO% 9849-10005
THOH 9849-10005

005% 9500-10500
010% 9000-11000

TR=Troop Transport (default 7900-7905)
C10% 7110-7905
THO% 6886-7251
THOH 6886-7251

005% 7505-8295
010% 7110-8690

Last edited by tedhealy; 04-10-08 at 08:02 PM.
tedhealy is offline   Reply With Quote
Old 06-14-07, 06:21 PM   #2
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

I'm a little unclear on what this does. I assume it changes the tonnage globally for the same ship, right? So every ship of a class that used to be 1713 tons might now be 1697 or something?
tater is offline   Reply With Quote
Old 06-14-07, 07:09 PM   #3
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default

Yeah, the tonnage is changed for each ship. In each ship's config file, there is an option for displacement and displacementVariation. DisplacementVariation is a number that is added to the displacemnt when you sink a ship, in adddition displacementVariation is random between 0 and the number you provide.

So if you have a ship's displacement as 500, and a displacementVariation of 100, when you sink that ship type you'll get credit for a ship of anywhere from 500 to 600 tons.

The default game has a DVariation that is usually 5 or 10. Every ship of that type you sink will be roughly the same tonnage, this mod would increase the variation by 5 or 10% of the default original tonnage. So you could see a wider variety of tonnages sunk within a single ship type.

I also provided 2 example options that reduced and randomized tonnage.

I just listed each ship type and the 5 options that would be in the mod for new ship tonnage possibilites (with default for comparison).

c10% is the capped 10% option
THO is the tedhealy option where tonnage is reduced
THOH is the tedhealy hard option where tonnage is cut quite a bit
005% is the 5% variation from default
010% is the 10% variation from default

Example. You go with 010% option. You sink a large modern tanker (nippon). In the default game that ship will net you anywhere from 10,000 to 10,005 tons. With the 010% option, that ship could you net you anywhere from 9,000 to 11,000 tons. It should be a different random value from that range everytime you sink a ship of that type.
tedhealy is offline   Reply With Quote
Old 06-14-07, 07:11 PM   #4
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Oh! That is cool. I assumed it would just change the actual tonnage, and not change each ship sunk. So you sink 10 of the same ship, and get 10 different tonnages. That's pretty cool.
tater is offline   Reply With Quote
Old 06-14-07, 07:30 PM   #5
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default

If anyone wants to try it out,


NOT HOSTED ANYMORE

If you apply it over tater's new campaign layers, JSGME will say one file conflicts, but I've looked at the file and they are identical other than the new tonnage for the ship, so it should work fine.

Last edited by tedhealy; 04-10-08 at 08:02 PM.
tedhealy is offline   Reply With Quote
Old 06-14-07, 08:02 PM   #6
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Probably the roster on the large tanker.

My change was to up the max speed to 19 (as it should be).
tater 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 03:26 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.