Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Fatigue Mod in progress with excellent inital results
Goto page 1, 2, 3, 4, 5, 6  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Church SUBSIM



Joined: 19 Feb 2004
Posts: 257

PostPosted: Wed Mar 23, 2005 4:06 pm    Post subject: Fatigue Mod in progress with excellent inital results Reply with quote

I have been working on the fatigue issue with SHIII and while this mod is not complete, it is very much an improvement in fatigue loss rates as it is right now. I had been posting in the main SHIII forum but want it to be here in the mods forum.

My goal with this mod is not to get rid of fatigue, but rather have it more realistic. I am going for a 6 to 8 hour period of time before a crewmember becomes fatigued. Basically 4 shifts a day. Right now for me it’s about 22 shift changes with the stock settings.

I initially started tweaking the individual crew types in regards to their fatigue loss rates but was not having much luck with the results so it became rather obvious that it’s the environment that they are in as well as the crew’s basic modifiers that cause fatigue loss.

For my testing I did the following:

Surface runs were tested with the boat being set to Ahead 1/3 speed and a distance of 111.1KM (6 hrs)
Submerged runs were tested with the boat at periscope depth and the speed set to Ahead 1/3 and a distance of 44.4 KM (6hrs).

With the stock settings crews were becoming fatigued in 1hr 12 min on the surface. I didn’t even bother with the submerged test on stock…I just started tinkering.

I employed several modifications to the Basic.cfg and the last set offered the following results:

=============
SURFACE RUN
=============
Distance: 111.1 KM
Speed: Ahead 1/3 (9-10 knots)
Travel Time: 6 hrs
Weather: Ocean was glass for the test.
Time Compression: 32x

After 6 hrs travel time the following results noted by compartment:
==================================================

Torpedo Rooms (Bow/Stern - Petty and Seaman)
Endurance Bar at 75% (25% fatigue loss)

Sonar & Radio (1 Petty and 1 Seaman)
Endurance Bar at 50% with ! indicator (actually they went 50% with ! at 4 hr 15 min into the cruise.)

Watch Crew (2 Petty and 2 Seaman, 1 Watch Officer)
Endurance Bar at 75% (25% fatigue loss)

Engine Room (Petty and Seaman)
Endurance Bar at 75% (25% fatigue loss)

Command (3 Officers, 2 Seaman, 1 Petty)
Chief Engineer
Endurance Bar at 75% (25% fatigue loss)

Nav Officer
Endurance Bar at 75% (25% fatigue loss)

Wep Officer
Endurance Bar at 75% (25% fatigue loss)

2 Seaman
Endurance Bar at 75% (25% fatigue loss)

1 Petty
Endurance Bar at 75% (25% fatigue loss)

Both Rest areas remained at 100% and when fatigued crew was moved to those areas, the recovered in what looked to be the normal fashion/pace.

===============
SUBMERGED RUN
===============
Distance: 55.6 KM
Speed: Ahead 1/3 (5 knots)
Travel Time: 6 hrs
Weather: Ocean was glass for the test
Time Compression: 32x

After 6 hrs travel time the following results noted by compartment
==================================================

All stations with the exception of the Officers went to 50% endurance at 5 hrs into the cruise.
Officers (CE, NAV, WP, Bow Torp Officer) all went to 50% endurance at 7 hrs 12 min. (exceeded the 6 hr cruise.
The Electric Room crew seemed to loose fatigue a little faster but they all went (!) at the same time, so the variance with these settings is very slight. I did not notice this with the diesel crew on the surface run.

Both Rest areas remained at 100% and when fatigued crew was moved to those areas, the recovered in what looked to be the normal fashion/pace.

==================================================
MODIFIED BASIC CONFIG DATA
==================================================

Here are the modified values of the Basic.cfg plus a few notes....

[FATIGUE_COEF]
;comp 0
RegularFactor00=0.0035
SpecificFactor00=0.005
BadWeather0=0.01
;comp1
RegularFactor10=0.0025
RegularFactor11=0.0025
SpecificFactor10=0.005
SpecificFactor11=0.005
BadWeather1=0.01
;comp2
RegularFactor20=0.0025
RegularFactor21=0.0025
SpecificFactor20=0.005
SpecificFactor21=0.005
BadWeather2=0.01
;comp3
RegularFactor30=0.0025
RegularFactor31=0.0025
SpecificFactor30=0.005
SpecificFactor31=0.005
BadWeather3=0.01
;comp4
RegularFactor40=0.0025
RegularFactor41=0.0025
SpecificFactor40=0.005
SpecificFactor41=0.005
BadWeather4=0.01
;comp5
RegularFactor50=0.0025
RegularFactor51=0.0025
SpecificFactor50=0.005
SpecificFactor51=0.005
BadWeather5=0.01
;comp6
SpecificFactor60=-0
SpecificFactor61=-0
;comp7
SpecificFactor70=-0
SpecificFactor71=-0
;comp8
RegularFactor80=0.0025
RegularFactor81=0.0025
SpecificFactor80=0.005
SpecificFactor81=0.005
BadWeather8=0.01
;comp9
RegularFactor90=0.0025
SpecificFactor90=0.005
BadWeather9=0.01
;comp10
RegularFactor100=0.025
SpecificFactor100=0.005
BadWeather10=0.01
;comp 11
RegularFactor110=0.0025
RegularFactor111=0.0025
SpecificFactor110=0.005
SpecificFactor111=0.005
BadWeather11=0.01


======
NOTES:
======

I am really surprised that the Sonar and Radio operators lose fatigue at such a fast rate when on the surface and not when submerged. Perhaps this was a error in the programming of the compartments in regards to fatigue loss. Values inverted?

The Compartment’s for the VIIB/VIIC boats are as follows:

Comp1 = Radio/Sonar Room
Comp2 = Command Room
Comp3 = Diesel Engine Room
Comp4 = Electric Engine Room
Comp5 = Bow Torpedo Room
Comp6 = Bow Quarters (Rest Area)
Comp7 = Stern Quarters (Rest Area)
Comp8 = Stern Torpedo Room
Comp9 = Deck Gun
Comp10 = Flak Gun
Comp11/0 = Tower Watch


;comp3
RegularFactor30=0.0025 <-- think this is when ship is in cruise w/decent weather
RegularFactor31=0.0025 <-- think this is when ship is in cruise while submerged w/decent weather
SpecificFactor30=0.005 <-- think this is when ship is in contact/engaged while surfaced
SpecificFactor31=0.005 <-- think this is when ship is in contact/engaged while submerged
BadWeather3=0.01 <-- Bad sea state for both submerged and surfaced.

Pretty sure these values stack, so if the ship is submerged and in contact in bad weather it would mean that fatigue for compartment 3 (Diesel Engine Room) would be:
0.005 + 0.01

so a seaman with the base values:

[CREW_0] ;SEAMAN
MoraleMin=0.30
MoraleMax=0.60
MoraleStep=0.05
FatigueMin=0
FatigueMax=0.5
FatigueStep=0.2
CoefMorale=0.4
CoefFatigue=0.2
QualEffect=1
Hp=10
Wounded=-0.02
Dead=-0.05
SunkShips=0.1
TorpedoHit=0.05
Experience=0

would mean 0.005 + 0.01 * 0.2 = 0.003 fatigue for a seaman with a base value of 0.5 (assuming he is 100% at the time of entering combat while submerged.

These tests as I stated were with a virgin crew on their first mission. In previous tests I had used a decorated crew, with greater experience and a CE that had the gold cross. His fatigue loss rate was amazingly slow, so it is obvious that the Medals and Rewards aspects of the sim will need to be adjusted as crews that stay together and perform over a number of patrols do not become immune to fatigue. The crew for the most part lost fatigue at a lower rate than this virgin crew.

This is by no means a completed mod, but it is a excellent starting point for one. Please feel free to take the data here and work with it. I would love to see more sets of eyes on it and come up with a final set of variables that will work…just in time for patch 1.2 when they totally redo the way fatigue is factored ;)

Look forward to your comments and thoughts.


Last edited by Church SUBSIM on Wed Mar 23, 2005 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
sergbuto



Joined: 14 Sep 2002
Posts: 2530
Location: Sweden

PostPosted: Wed Mar 23, 2005 4:13 pm    Post subject: Reply with quote

Thanks for your efforts. Thumbs Up Because one should not rely on that everything will be taken into account in patch 1.2.
Back to top
View user's profile Send private message Send e-mail
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Wed Mar 23, 2005 4:18 pm    Post subject: Reply with quote

Church, great job you are doing there! Thumbs Up

Personally, I would prefer a mod to completely remove the crew fatigue, since I do not like to do the Bosun's job (Shift crew and rotate turns) :shifty: , because I'm supposed to be the Kaleun Smug . Sure it is nice to be able to move sometimes your chief to a compartment and increase efficiency, but overall the idea of continuously nursing the crew is not to my taste :nope:

Anyway...to my point:

Crews in submarines rotated overall in 8 hour shifts (There were also 4 shifts of 6 hours each sometimes, depending on the mission/weather/etc.), following this logic:

8 hours in service

8 hours in bed

8 hours unoccupied (But ready for service when needed)

Then, corrections to that system were done for those jobs that required a frequent shift. For example, the watch crew was usually changed very often, as this is a very stressing & intensive task. Thus, shifts were done with those guys who were in their "unoccupied" time, in regular intervals, from 15 minutes up to 3 hours, depending on sea conditions.

Of course, note that these basic rules were just for ordinary surface cruising!! When at battlestations, 2 full shifts were busy, and remaining shift either did repairs or was used as fast moving ballast, relocated where needed (F.e. all to bow when crash diving) Thumbs Up


I would suggest, both for simplicity's sake and for simulating well the automatic rotation in battlestations, that you aim for 8 hour shifts. :know:

Keep the good work! Thumbs Up
Back to top
View user's profile Send private message Send e-mail
Church SUBSIM



Joined: 19 Feb 2004
Posts: 257

PostPosted: Wed Mar 23, 2005 4:31 pm    Post subject: Reply with quote

Thanks for the kind words ;)

As for removing fatigue, I think you can do that by simply putting all the values related to fatigue at 0, but I am not sure of that. I am sure someone will delv into that and figure it out. Personally, I like the idea of management of the crew and getting to "know" them while doing it.

More later....but right now I have a C2 cargo in the waters north of Scapa that is just 1700 meters away to tend to. ;)
Back to top
View user's profile Send private message
Nitro



Joined: 27 Oct 2003
Posts: 225
Location: Atlantic Canada

PostPosted: Wed Mar 23, 2005 4:38 pm    Post subject: Reply with quote

I figured I'd repost this in the new thread... Someone mentioned simulating torpedo room crew resting when inactive in the other thread, and Hitman touched on something similar with the "unoccupied" crew.

You could partially simulate it by making the RegularFactorXX fatigue co-efficients of the stern torpedo room a negative value, making it a rest area when not engaged with the enemy, and put your guys in there... Sure, they won't fatigue when loading torpedoes and such out of combat, but it's the closest I can see it getting without serious modding to add additional fatigue co-efficients to the game engine itself for loading torpedoes, and the stern torpedo room is smaller and not often manned out of combat anyway.

You could leave the BadWeatherXX co-efficient as it is, since being that far from the center of the boat would make for a rather uncomfortable ride in rough seas, and as mentioned earlier, the BadWeatherXX coef seems to stack on top of the other one, so they wouldn't be recovering as fast.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
MeatWater



Joined: 20 Mar 2005
Posts: 21
Location: north-west Germany

PostPosted: Wed Mar 23, 2005 5:43 pm    Post subject: Reply with quote

Thanks Church for the time and effort Thumbs Up
Back to top
View user's profile Send private message Visit poster's website
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Wed Mar 23, 2005 6:33 pm    Post subject: Reply with quote

Quote:
You could partially simulate it by making the RegularFactorXX fatigue co-efficients of the stern torpedo room a negative value, making it a rest area when not engaged with the enemy, and put your guys in there


That's a very good idea!! Thumbs Up Since the stern torpedo was rarely fired, it sure is as close to realism as possible!
Back to top
View user's profile Send private message Send e-mail
Ordas



Joined: 22 Mar 2005
Posts: 5

PostPosted: Wed Mar 23, 2005 6:36 pm    Post subject: Reply with quote

Removing all fatigue is confirmed: just enter zeros to all parameters under [FATIGUE_COEF] in the basic.cfg file. Don't touch the individual crew type.
Back to top
View user's profile Send private message
U-Bones



Joined: 23 Mar 2005
Posts: 56
Location: Ground Zero

PostPosted: Wed Mar 23, 2005 7:01 pm    Post subject: Reply with quote

Note the original numbers modeling the engine rooms.. Electrics not real demanding while surfaced and vice versa. Don't know how this would factor snorkling, but still something to consider.

The glaring mistake with their fatigue system is that weather is treated the same at all depths, yet being "engaged" is not. Should have been flipped IMO.
Back to top
View user's profile Send private message
Hobnail



Joined: 27 Feb 2005
Posts: 245
Location: Sydney, Australia

PostPosted: Wed Mar 23, 2005 8:04 pm    Post subject: Reply with quote

Yes, at 40m my crew is still getting exhausted by the storm wayyyy above.

Gives a better understanding of why intercepting a convoy in nil viz, storm and rain in the middle of the night seems like running a marathon Confused
Back to top
View user's profile Send private message
Torplexed



Joined: 25 Dec 2001
Posts: 1194
Location: Seattle, WA

PostPosted: Wed Mar 23, 2005 11:20 pm    Post subject: Reply with quote

Glad to see this is getting a good looking at. It's about the only aspect of this sim that I haven't enjoyed. I think it's fantastic having a crew...but Hans shouldn't be slumped comatose over his E-motor after just 90 minutes.

Church Subsim, et al Keep up the good work! Thanks! Thumbs Up
Back to top
View user's profile Send private message
Church SUBSIM



Joined: 19 Feb 2004
Posts: 257

PostPosted: Thu Mar 24, 2005 12:23 am    Post subject: Reply with quote

Ok, this is not correct....

;comp3
RegularFactor30=0.0025 <-- think this is when ship is in cruise w/decent weather
RegularFactor31=0.0025 <-- think this is when ship is in cruise while submerged w/decent weather
SpecificFactor30=0.005 <-- think this is when ship is in contact/engaged while surfaced
SpecificFactor31=0.005 <-- think this is when ship is in contact/engaged while submerged
BadWeather3=0.01 <-- Bad sea state for both submerged and surfaced.

I am in the process of running some tests on comp5 (Bow Torp) to see about getting rest to come back while not in action.

Just did this:

;comp5
RegularFactor50=-0.5
RegularFactor51=-0.5
SpecificFactor50=-0
SpecificFactor51=-0
BadWeather5=0.01

And what happened was strange.

In that compartment I have several fatigued crew. In the Bow Quarters I have rested men.

If I took a fatigued guy from the bow torp room and put him in the quarters, there was no change to his state. I then moved him back to the Bow Torp room and he had 125% Endurance (His endurace bar was full and there was a small black bar that extended past the 100% point. The colors changed to indicate that he had in fact gained a greater Endurance capacity.

I removed him and put him back again, and again, he gained endurance capacity.....

Interesting.....more tests
Back to top
View user's profile Send private message
Nitro



Joined: 27 Oct 2003
Posts: 225
Location: Atlantic Canada

PostPosted: Thu Mar 24, 2005 2:27 am    Post subject: Reply with quote

I had the same thing happen when testing out my stern torpedo room theory. I think setting the coef to -0 makes it a normal rest area, while negative numbers seem to give the crew extra endurance.

I'm going to bed now, 'cause I've got work early tomorrow, but I'll be testing this when I get home tomorrow night.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Church SUBSIM



Joined: 19 Feb 2004
Posts: 257

PostPosted: Thu Mar 24, 2005 2:42 am    Post subject: Reply with quote

Ok, this was interesting....I am looking to make the Bow Torpedo compartment a
resting area while the crew is in "cruise mode" or "not engaged in combat".
Looking only at comp5 I have come up with the following results.

My initial assumptions regarding the meaning of these values was incorrect. This
is what I am finding. Really hoping someone sees the logic in all this.

================================================================

;comp5
RegularFactor50=-0.5 <-- see below
RegularFactor51=0
SpecificFactor50=0
SpecificFactor51=0
BadWeather5=0.01

When surfaced, a fresh crew member moved to the torp room gains a lot of endurance,
in excess of 100% (by the amount of the value) and continues to gain it per tick.

When submerged, a fresh crew member moved to the torp room immediately gains a
lot of endurance (the amount of the value) but then will start to loose it at the normal rate.

================================================================

;comp5
RegularFactor50=0.5 <-- immediate endurance loss of 50% submerged/surfaced
RegularFactor51=0
SpecificFactor50=0
SpecificFactor51=0
BadWeather5=0.01

When surfaced, a fresh crew member moved to the torp room lost 50% endurance
immediately upon entering the torp room.

When submerged, a fresh crew member moved to the torp room lost 50% endurance
immediately upon entering the torp room.

Replacing 0.5 with -0.5 had no effect both on the surface and while submerged.
Crew lost endurance at the normal rate.

================================================================

;comp5
RegularFactor50=0
RegularFactor51=0.5 <-- no change to endurance loss/gain rate both surface/submerged
SpecificFactor50=0
SpecificFactor51=0
BadWeather5=0.01

When surfaced, a fresh crew member moved to the torp room lost endurance at the
normal rate.

When submerged, a fresh crew member moved to the torp room lost endurance at the
normal rate.

Replacing 0.5 with -0.5 had no effect both on the surface and while submerged.
Crew lost endurance at the normal rate.

================================================================

;comp5
RegularFactor50=0
RegularFactor51=0
SpecificFactor50=0.5 < -- Loss/Gain of endurance when surfaced
SpecificFactor51=0
BadWeather5=0.01

When surfaced, a fresh crewmen moved to the Torp room looses 50% endurance in 1 tick or cycle.

When submerged, a fresh crewmen moved to the Torp room looses endurance at the normal rate.

Replacing 0.5 with -0.5 will allow a crew member to gain endurance in excess of
100% while surfaced.

================================================================

;comp5
RegularFactor50=0
RegularFactor51=0
SpecificFactor50=0
SpecificFactor51=0.5 <-- Loss/Gain of endurance when submerged
BadWeather5=0.01

When surfaced, a fresh crewmen moved to the Torp room looses endurance at the normal rate.

When submerged, a fresh crewmen moved to the Torp room looses 50% endurance after the first tick.

Replacing 0.5 with -0.5 will allow a crew member to gain endurance in excess of
100% while submerged.

================================================================

*When I say that they gain endurance in excess of 100% I mean the following:

Normally, the bar when at 100% endurance is the regular size and the color
spectrum ranges from red (low endurance) to yellow (high endurance).

When the -0.5 variable was added, the bars actual size did not increase, but
when it hit 100%, on the next tick, or cycle, on the right side of the endurance
bar started a smaller, centered black bar that grew in size with each tick. The
color of the original bar became more and more red. This to me indicates that
not only is the crew member gaining endurance, he is also gaining the capacity
of endurance with each tick. This bar continued in growth until it reached the
far right side of the screen.
Back to top
View user's profile Send private message
Kabukiman



Joined: 27 Mar 2002
Posts: 33
Location: Germany

PostPosted: Thu Mar 24, 2005 6:01 am    Post subject: Reply with quote

Could anybody of you guys be so kind and provide a completely edited File to download?

I'm a bit confused about the changes to be made manually (as english is not my native language) and a complete file would be great...

Anybody?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group