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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-21-07, 04:27 PM   #1
EmeAzul
US Navy LT
 
Join Date: Apr 2004
Location: Bay Area, California
Posts: 120
Downloads: 582
Uploads: 0
Default How are Generic Ships Randomly Picked?

Does anyone know how the simulation randomly picks the generic entry ships spawned in campaigns (GWX 1.03)? For example, if the simulation will be spawning a generic Type 102 British ship, how does it select the ship it will spawn?

With 11 or more Type 102 ships to choose from, there must be a method or order it uses to select the ships. It could be alphabetical based on EnglishNames or alphabetical based on Seafolder name, it could be based on tonnage of the vessel or based on some other dimension like speed, length, width etc. of the available ships.

Obviously, we would want this selection to be totally random to give us ample diversity in the ships we encounter. The reason I ask is that I've encountered a great deal of non-randomless lately and was wondering if I had done something in my setup to cause this. Any help would be much appreciated. Cheers

EmeAzul
EmeAzul is offline   Reply With Quote
Old 08-21-07, 04:38 PM   #2
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

Campaign layers are done in seperate files one for scripted on for random
and one for land bases.

I believe in Random groups (which can exist in both rnd and scr layers)
are picked using just random number generation after a list of eligible
types by date and roster are qualified.

It has been my experience that random number generation often isnt random.
however I havent experienced that in sh3 but that doesnt mean your not right
it just means I havent experienced it.

however to point out , some of what you are experincing maybe actually
scripted not random, if it is Identical everytime (your target convoy)
I would suggest this is likely from scr. (historically important convoy?)
otherwise the actual selection process by the game after the compilation
of eligible units is a bit lost on me Im afraid.

you could verify by recording your location and time ingame and trying
to determine in editor the source (ie. scr or rnd ) thats a tedious process
though
M
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 08-21-07, 04:49 PM   #3
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

There are a lot of named type convoys in GWX 1.03 still
Changed in 1.04

As to randomness
Seems the game does pick a selection of tonnages
Not sure how its done but even then in testing 1.04 I have found you can still get 5\6 ships of the same type in a 25+ ship totally randomised convoy
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 08-21-07, 07:38 PM   #4
EmeAzul
US Navy LT
 
Join Date: Apr 2004
Location: Bay Area, California
Posts: 120
Downloads: 582
Uploads: 0
Default Thank you for your answers

Thanks, guys, for these answers. I'll run a few more tests to figure this out. Cheers EmeAzul
EmeAzul is offline   Reply With Quote
Old 08-21-07, 10:08 PM   #5
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by bigboywooly
There are a lot of named type convoys in GWX 1.03 still
Changed in 1.04

As to randomness
Seems the game does pick a selection of tonnages
Not sure how its done but even then in testing 1.04 I have found you can still get 5\6 ships of the same type in a 25+ ship totally randomised convoy
I wonder, if not unlike the limitation that Ichy allegedly found with random skin selection, if there is an inbuilt limit on the number of units SH3 will choose from of any type at any time?

I mean, something *is* amiss, as evidenced by the selection bias of ships starting with letters higher up the alphabet.
JScones is offline   Reply With Quote
Old 08-22-07, 08:24 AM   #6
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by JScones
Quote:
Originally Posted by bigboywooly
There are a lot of named type convoys in GWX 1.03 still
Changed in 1.04

As to randomness
Seems the game does pick a selection of tonnages
Not sure how its done but even then in testing 1.04 I have found you can still get 5\6 ships of the same type in a 25+ ship totally randomised convoy
I wonder, if not unlike the limitation that Ichy allegedly found with random skin selection, if there is an inbuilt limit on the number of units SH3 will choose from of any type at any time?

I mean, something *is* amiss, as evidenced by the selection bias of ships starting with letters higher up the alphabet.
An interesting observation that.
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 08-22-07, 09:07 AM   #7
gimpy117
Ocean Warrior
 
Join Date: Jul 2007
Location: Kalamazoo, MI
Posts: 3,243
Downloads: 108
Uploads: 0
Default

yeah,

it seems every time i get to spain i find at least 2 of the add-on empire freighters
and now in 1939, up above scapa flow i find a add on pyro ammo ship

also, it seems task fores aren't task forces at all, just convoys, i want bb's to shoot at, what gives
gimpy117 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 12:21 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.