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

Reply
 
Thread Tools Display Modes
Old 12-11-10, 04:07 PM   #1
rascal101
Grey Wolf
 
Join Date: Jun 2006
Posts: 769
Downloads: 200
Uploads: 0
Default

HI Mr TDW
Have decided to experiment with changeing Watch Rotation and fiddle with fatigue as you suggest - am flying a bit blind as I dont know exactly what I am doing- the idea is to play and test till I find something that works

So my first attempt has been to change SHIPWATCHROTATION from 180 to 125 and see what happens - if you can offer any more information that would be great

Is it possible to set these so the game AI gets better in stages as you play - so in 1939 the Escort AI is fairly soft, and then as the game years progress the AI gets better and better - Any ideas any one

Regards
Rascal

Quote:
Originally Posted by TheDarkWraith View Post
there are two possible ways you could do this. One is to cut the time they can search for you and/or the other way is increase fatigue over time. These values can be found in \data\Scripts\AI\init.aix

To cut time they can search for you play with these values (below are all in seconds):
# Hunter-Killer group spiral search time upon lost contact
HK_SPIRAL_MIN_SEARCH_TIME = 180.0; # used as min value of a Random function
HK_SPIRAL_MAX_SEARCH_TIME = 420.0; # used as max value of a Random function
# Hunter-Killer group wait time inbetween spiral searches
INVESTIGATE_FOLLOW_WAYPOINTS_TIME = 990.0; # 15 mins (90 to account for CONTACT_LOST_BEGIN_SEARCH_TIME)
# for escorts that are guarding convoy but attacking a contact, this is the time they can keep attacking when contact is lost
PLASTER_GUARD_CONVOY_DC_WAYPOINTS = 360.0;
# this is the time that if a unit is a director and the contact lost time >
# MAX_CONTACT_LOST_DC_TIME it waits until contact lost time is this value before
# heading back to convoy and following it's waypoints (not part of HK group)
DIRECTOR_SEARCH_TIME = 900.0; # 15 mins
CONVOY_ESCORT_SPIRAL_TIME = 600.0;

to play with fatigue adjust these values:
############### watch rotation and fatigue #####################
SHIPWATCHROTATION = 180; # in minutes (there are 4 tiers of fatigue) this is a base time
SHIPFATIGUEMIN = 0.5; # min time of current tier (ShipWatchRotation / 4) when next tier starts
SHIPFATIGUEMAX = 1.5; # max time of current tier (ShipWatchRotation / 4) when next tier starts
SHIPFATIGUESENSORREDUCTIONCRUISEMIN = 0.015; # min sensor reduction amount for each tier in cruise
SHIPFATIGUESENSORREDUCTIONCRUISEMAX = 0.03; # max sensor reduction amount for each tier in cruise
SHIPFATIGUESENSORREDUCTIONALERTMIN = 0.025; # min sensor reduction amount for each tier in alert
SHIPFATIGUESENSORREDUCTIONALERTMAX = 0.05; # max sensor reduction amount for each tier in alert
SHIPFATIGUESENSORREDUCTIONDAMAGEDMIN = 0.035; # min sensor reduction amount for each tier in damaged
SHIPFATIGUESENSORREDUCTIONDAMAGEDMAX = 0.07; # max sensor reduction amount for each tier in damaged
SHIPFATIGUESENSORREDUCTIONDAMAGEDALERTMIN = 0.045; # min sensor reduction amount for each tier in damaged
SHIPFATIGUESENSORREDUCTIONDAMAGEDALERTMAX = 0.09; # max sensor reduction amount for each tier in damaged

I personally would play with the fatigue numbers. I would increase all of them 0.025 at a time and test until I got what I was looking for. The fatigue numbers above reduce the sensor effectiveness of the ship's sensors by the amount shown on each tier change of fatigue. If you want them to enter fatigue faster then adjust SHIPWATCHROTATION to a small number.
rascal101 is offline   Reply With Quote
Old 12-14-10, 08:47 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by rascal101 View Post
So my first attempt has been to change SHIPWATCHROTATION from 180 to 125 and see what happens - if you can offer any more information that would be great

Is it possible to set these so the game AI gets better in stages as you play - so in 1939 the Escort AI is fairly soft, and then as the game years progress the AI gets better and better - Any ideas any one

Regards
Rascal
the devs didn't provide any way to get the current date thus there's no way to change AI behavior based on date. It's very limited what one can do with the ship AI (the sub AI is even worse and the airplane AI is pitiful).

Here's how the fatigue works:

the fatigue system has 4 levels. When a ship first spawns in game it's at fatigue level 1, a new watch crew has taken over and has no fatigue. All the sensors for that ship are at 100% capability (that's capability not sensor effectivess - two different things. A sensor can have a sensor effectiveness of 0.75 but be at 100% capability. As capability degrades it reduces the sensor effectiveness). A base tier time is defined as base ship watch rotation time +- ( 0.25 * base watch rotation ). Each level of fatigue uses this base tier time * random( SHIPFATIGUEMIN, SHIPFATIGUEMAX ) to get a random amount of time for each level of fatigue.
When a new fatigue level is started the ship's sensors are reduced by a random amount between SHIPFATIGUESENSORREDUCTIONxMIN and SHIPFATIGUESENSORREDUCTIONxMAX. After all 4 fatigue levels are done a fresh watch crew takes over and the ship's sensors are put back to 100% effectiveness and the cycle repeats.
TheDarkWraith is offline   Reply With Quote
Old 01-04-11, 08:09 AM   #3
Itkovian
Helmsman
 
Join Date: Feb 2010
Posts: 106
Downloads: 15
Uploads: 0
Default

A few questions:

- For the mod to work, should I return to port and sail out again?

- Having just installed the mod and loading an ongoing patrol, my conning tower seems to have sprouted a new antennae (a circular one, not sure what it is - radar? radar detector?). Is that part of the mod, or a bug?

- Does your mod change behavior when ships take damage? Due to conflict I had to remove the Damage Assessment mod (which causes ships to slow down after taking hits), and wonder if yours does something else to make damaged ships behave more realistically (I see in your notes that it does cause speed to decrease, at the very least).

Thank you.

Itkovian
Itkovian is offline   Reply With Quote
Old 01-04-11, 09:33 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Itkovian View Post
A few questions:

- For the mod to work, should I return to port and sail out again?

- Having just installed the mod and loading an ongoing patrol, my conning tower seems to have sprouted a new antennae (a circular one, not sure what it is - radar? radar detector?). Is that part of the mod, or a bug?

- Does your mod change behavior when ships take damage? Due to conflict I had to remove the Damage Assessment mod (which causes ships to slow down after taking hits), and wonder if yours does something else to make damaged ships behave more realistically (I see in your notes that it does cause speed to decrease, at the very least).

Thank you.

Itkovian
I would always install/remove mods in port.
The new antenna is the radio DF loop. It is part of the mod. You will also notice another antenna when you submerge. That is the radio antenna.
The mod changes all aspects of AI behavior.
TheDarkWraith is offline   Reply With Quote
Old 01-04-11, 11:31 AM   #5
Itkovian
Helmsman
 
Join Date: Feb 2010
Posts: 106
Downloads: 15
Uploads: 0
Default

Hum, is it too late for me now that the mod is already installed? Or would just going back to port and leaving again "reset" things so all is well?

As for the DF loop, is that a historical mod? As in something our subs were missing that real Type VIIs had? Does it have gameplay impacts, or is it a cosmetic change for realism?

Thank you.

Itkovian
Itkovian is offline   Reply With Quote
Old 01-04-11, 11:41 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Itkovian View Post
Hum, is it too late for me now that the mod is already installed? Or would just going back to port and leaving again "reset" things so all is well?

As for the DF loop, is that a historical mod? As in something our subs were missing that real Type VIIs had? Does it have gameplay impacts, or is it a cosmetic change for realism?

Thank you.

Itkovian
I wouldn't make any changes till you're back in port again.
DF was installed on subs. I attached a DF sensor to it so it has purpose
TheDarkWraith is offline   Reply With Quote
Old 01-04-11, 11:50 AM   #7
Itkovian
Helmsman
 
Join Date: Feb 2010
Posts: 106
Downloads: 15
Uploads: 0
Default

Allright. I think I have a savegame for when I was in port (since I'm just starting Happy Times).

Otherwise, should I just reapply the mods I had before (disable this one), sail back to port, save, then apply this mod and set off?

Also, what does leaving the merchant sensors to 1.0 do? Does it work like non-merchant, in that 1.0 means they can detect you at all times?

Itkovian
Itkovian is offline   Reply With Quote
Old 03-31-11, 06:29 AM   #8
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I would always install/remove mods in port.
The new antenna is the radio DF loop. It is part of the mod. You will also notice another antenna when you submerge. That is the radio antenna.
The mod changes all aspects of AI behavior.

TDW, is this radio antenna (looks like an ice pick) detectable by escorts? At periscope depth it sticks out of the water and if you want to move while at p depth, it produces a wake and a splash. Any way to lower this thing?
Dignan is offline   Reply With Quote
Old 03-31-11, 07:21 AM   #9
oscar19681
Admiral
 
Join Date: Jan 2004
Location: netherlands
Posts: 2,021
Downloads: 131
Uploads: 0
Default

Quote:
Originally Posted by Dignan View Post
TDW, is this radio antenna (looks like an ice pick) detectable by escorts? At periscope depth it sticks out of the water and if you want to move while at p depth, it produces a wake and a splash. Any way to lower this thing?
I think you have to change something in the equipment file. Not sure how to thought but i think its either always down or allways up. I would love to have this thing allways down.
__________________
we live we die but death does not ends it.

Jim Morrison 1943-1971
oscar19681 is offline   Reply With Quote
Old 03-31-11, 07:27 AM   #10
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by oscar19681 View Post
I think you have to change something in the equipment file. Not sure how to thought but i think its either always down or allways up. I would love to have this thing allways down.
It should be possible to put it down because I think it goes down when you surface. At least I don't remember seeing it surfaced.
Dignan is offline   Reply With Quote
Old 03-31-11, 08:05 AM   #11
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by Dignan View Post
TDW, is this radio antenna (looks like an ice pick) detectable by escorts? At periscope depth it sticks out of the water and if you want to move while at p depth, it produces a wake and a splash. Any way to lower this thing?
The height setting for the Rod Antenna is in the UBoot_Sensors.sim
For that matter, all extend heights for Periscopes and Antenna are located there.

Personally, I would like to see the Rod Antenna up out of the Tower about 1 meter and not extend any higher, even when srufaced.
If the Antenna actually effected the communications radio and public radio it would be a different story.
Would be nice to be at periscope depth and have the Public Radio stations working if the Rod Antenna is extended.

Sounds like you are using your Observation Periscope when attacking?
If you go to 15m or more depth, the Rod Antenna Wake and Splash stop.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 03-31-11, 01:27 PM   #12
oscar19681
Admiral
 
Join Date: Jan 2004
Location: netherlands
Posts: 2,021
Downloads: 131
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
The height setting for the Rod Antenna is in the UBoot_Sensors.sim
For that matter, all extend heights for Periscopes and Antenna are located there.

Personally, I would like to see the Rod Antenna up out of the Tower about 1 meter and not extend any higher, even when srufaced.
If the Antenna actually effected the communications radio and public radio it would be a different story.
Would be nice to be at periscope depth and have the Public Radio stations working if the Rod Antenna is extended.

Sounds like you are using your Observation Periscope when attacking?
If you go to 15m or more depth, the Rod Antenna Wake and Splash stop.
where exacly is the u-boat sensor sim located? how do you open it?
__________________
we live we die but death does not ends it.

Jim Morrison 1943-1971
oscar19681 is offline   Reply With Quote
Old 03-31-11, 02:09 PM   #13
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
Sounds like you are using your Observation Periscope when attacking?
If you go to 15m or more depth, the Rod Antenna Wake and Splash stop.
I was actually evading some planes that were in the area so I was taking a peek with the obs scope before surfacing.
Dignan is offline   Reply With Quote
Old 04-02-11, 07:00 PM   #14
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
The height setting for the Rod Antenna is in the UBoot_Sensors.sim
For that matter, all extend heights for Periscopes and Antenna are located there.

Personally, I would like to see the Rod Antenna up out of the Tower about 1 meter and not extend any higher, even when srufaced.
If the Antenna actually effected the communications radio and public radio it would be a different story.
Would be nice to be at periscope depth and have the Public Radio stations working if the Rod Antenna is extended.

Sounds like you are using your Observation Periscope when attacking?
If you go to 15m or more depth, the Rod Antenna Wake and Splash stop.
Beast, can you point me to the exact entry in the uboat.sim file where the radio rod is located? I'd really like to get this thing lowered. I see radar detector, RadarDF Loop but no Radio Rod or Radio Antena in any of the files.
Dignan 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 03:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.