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

Reply
 
Thread Tools Display Modes
Old 05-15-10, 05:56 AM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default [IDEA]: Reducing searchlights

Removing the searchlights from merchants, tankers and big battleships seems to be a great step into more realism. Schechter_Pfennig already did this in his mod:

http://www.subsim.com/radioroom/showthread.php?t=169499
http://www.subsim.com/radioroom/showthread.php?t=169424

But now merchants + tankers NEVER have searchlights. What I want is a little bit of uncertainty - to be surprised if a merchant unexpectedly activates his searchlights. A probability of, let's say, 1% for a merchant to have and use his searchlight (maybe Bernard on board?) and 99% to stay dark.

So I had the idea to randomly change the availability of the searchlights using SH3-Commander, but as LGN1 (who also had that idea before me) reported, this causes CTDs when changing equipment during a patrol.

So the only possibility seems to be to restrict the availability time period to a very short time. For a propability of 1% a ship's searchlights must be available for about 2 or 3 weeks (this is 1% of the duration of the war.)

So for every ship and even every different searchlight of a ship I plan to restrict the availability time to a randomly chosen time period of 2-3 weeks.

The problem: This is static. A certain ship type e.g. will always use his front searchlight in May 1940 and his rear light in August 1943. Not nice. But I bet: A player who does not know this, will not discover it because of the multiplicity of different ships. You surely need to play more than 10 complete careers to discover the regularity.

It's a lot of work to make these changes.

What do you think: Is it worth the effort or should one be happy with the removed searchlights??

Constructive comments welcome....

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 05-15-10 at 06:42 AM.
h.sie is offline   Reply With Quote
Old 05-15-10, 06:07 AM   #2
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 190,500
Downloads: 63
Uploads: 13


Default

A lot of work...your right, but worth the effort if the community are positive/supportive towards the idea.

It is always another game option to consider
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 05-15-10, 06:42 AM   #3
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi h.sie,

nice idea. However, I guess it's much simpler to just have a small program that automatically chooses a random subset of Schechter_Pfennig's mod files. Then you can run the program before each patrol and activate the mod. I think this has a very similar effect and is much simpler. What do you think?

Concerning the CTD: Changing the eqp file does not always lead to a CTD, but it can (my test was to save the game when a ship was close and then change the eqp file. Since you can never exclude the possibility that there is a ship close by when you save, I think one should not touch the eqp files).

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 05-15-10, 07:01 AM   #4
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi LGN1.

Thanks for your comment. I thought of that option, too, but then in one patrol one or more certain ship types always have searchlights, the other ships not. It's too obvious in my opinion.

And I don't like to change my mod configuration after each patrol.

I am thinking about to write a Java program which automatically randomizes the availability date.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 05-15-10 at 07:15 AM.
h.sie is offline   Reply With Quote
Old 05-15-10, 07:50 AM   #5
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi h.sie,

I guess your method will also have the problem of predictability because the chances that the interval ends during one's patrol is rather small (My feeling is that an interval of only 2-3 weeks (a chance of 1%) during the whole war is too small (several intervals would be very nice))

Maybe it's a good idea to see which ships you mainly encounter at sea. I guess not more than 10 different (without the Merchant Fleet Mod) So with 2-3 weeks intervals chances are very small that you will ever see a searchlight

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 05-15-10, 08:07 AM   #6
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default

This problem has always perplexed me. I would suspect that the searchlight problem would (in real life) not exist in 39 and perhaps 40, but would be almost universal after. From 1943 on I would be surprised if it ever happened.
As far as being blinded by the light, I suspect that this is 100% accurate.
If you are on the bridge of a ship and have become light adapted, and are hit with a search light, I suspect you wouldn't be able to see anything for quite some time. This is an individual thing, but it takes me about half an hour to become light adapted.
(before image-light amplification, we had to be light adapted to use the fluoroscopy machine so many older physicians are familiar with this problem.)

h.sie, could not the searchlight mod be randomized via SH3CMDR? I haven't looked into this.
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 05-15-10, 10:09 AM   #7
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
So I had the idea to randomly change the availability of the searchlights using SH3-Commander, but as LGN1 (who also had that idea before me) reported, this causes CTDs when changing equipment during a patrol.

h.sie
^ yellow ^
Hmmmm I guess you mean mid patrol saves ?
As SH3commander only adds in changes when it loads
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 05-15-10, 10:24 AM   #8
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi BBW, yes I mean mid patrol saves. If you save a patrol, then apply changes to the .eqp files and then load the patrol again with modified .eqp files, then the changed equipment can lead to CTD. I think this is what LGN1 said, and it sounds logical.

@irish: because of this SH3-Cmdr's random funcion cannot be used, I fear, because it loads every time the game is started...

greetings,
h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 05-15-10, 12:02 PM   #9
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi LGN1,

serveral random intervals of availability could be done by expanding one single entry for a searchlight, e.g.:

[Equipment 30]
NodeName=L01
LinkName=REF_small
StartDate=19380101
EndDate=19451231

into a number of short intervals with random chosen times like e.g.:

[Equipment 30]
NodeName=L01
LinkName=NULL
StartDate=19380101
EndDate=19390101

[Equipment 31]
NodeName=L01
LinkName=REF_small
StartDate=19390102
EndDate=19390119

[Equipment 32]
NodeName=L01
LinkName=NULL
StartDate=19390120
EndDate=19400101

[Equipment 33]
NodeName=L01
LinkName=REF_small
StartDate=19400102
EndDate=19400115

and so on.

But this is risky because of possible typing errors and thus must be done by a program. And I don't know if it's worth the effort. So far, I also don't know what's the max. possible number of [Equipment] entries.

Greetings, h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 05-15-10, 12:25 PM   #10
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

Quote:
Originally Posted by h.sie View Post
@irish: because of this SH3-Cmdr's random funcion cannot be used, I fear, because it loads every time the game is started...
Does it load if you reload a mid-patrol game without using Commander?
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve is offline   Reply With Quote
Old 05-15-10, 12:50 PM   #11
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

no it doesn't, but then you cannot use the sh3-commander mid-patrol.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 05-15-10, 12:59 PM   #12
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

@LGN1: good idea to only manipulate the most frequently available ships..
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 05-15-10, 09:17 PM   #13
schlechter pfennig
Commander
 
Join Date: Mar 2010
Posts: 462
Downloads: 53
Uploads: 7
Default

If you can get this to work it sounds like it'd be pretty nifty.
schlechter pfennig is offline   Reply With Quote
Old 05-16-10, 02:19 AM   #14
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Quote:
Originally Posted by schlechter pfennig View Post
If you can get this to work it sounds like it'd be pretty nifty.
maybe - but maybe not. perhaps the regularity is too obvious.

I'd like to hear some critical, pessimistic voices - they would prevent me from a lot of work.
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 05-16-10 at 03:42 AM.
h.sie is offline   Reply With Quote
Old 05-16-10, 03:24 AM   #15
Wreford-Brown
Sea Lord
 
Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,750
Downloads: 51
Uploads: 26
Default

It is possible to use SH3 Commander to randomise at the start of a patrol and not during a mid-patrol savegame. This should prevent any mid-patrol CTDs.

From randomised events.cfg:
There are two types of randomisation available:
1. A simple randomisation where a random value is selected from a set range.
2. A "ChooseFrom" randomisation where one set of values are chosen from any number of sets:
Set RndMidPat to 1 if you want randomisation to occur mid-patrol, 0 if not

It's also possible to set the randomisation to occur in any given date range, so you could have a 90% chance of the merchants using searchlights in 1939/40 reducing to a 5% chance in 1944/45:

Include ApplyToPeriod=<Start date as YYYYMMDD>|<End date as YYYYMMDD> as the first entry in the section to set the date range for settings to apply.

If you create a series of subsets (and randomise them as well?), you should be able to get a true randomisation of searchlights across years and ship types.

Let me think about this one
__________________

All my mods are available at MediaFire:
SH3 Mods
Other modders SH3 mods
SH4 Mods
...you can't please all of the people all of the time...
Wreford-Brown is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 06:25 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.