![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-06-10, 01:50 PM
|
#1 | ||
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Quote:
I am pretty sure about the formula. Your version can be simplified to Efficiency = (M-c_m+c_m)*(F*c_f-1+1) = M*F*c_f which means for c_f=0 you have no efficiency. Also c_m has no influence. But in-game you can choose a purely morale-dependent model by choosing c_f=1. By choosing c_m=1 you get a pure fatigue model. Sorry, about the regular and specific factors. I confused the two. It's the other way round (corrected it above). Look in this old thread: http://www.subsim.com/radioroom//showthread.php?t=85656 Be careful, the formula given there for the efficiency is wrong, IMHO. Quote:
You are right about the repair times. I am pretty sure that the status of the damaged item (via hitpoints) plays a role. However, how hitpoints exactly enter is not known to me. The formula is just about how the efficiency enters (what happens if you send more men to repair). A more correct version would be T = Tfix(damage/hitpoints)*Interval3/Eff ,i.e., Tfix is an unknown function of the damage/hitpoints. If you increase the Interval3 value, the time will also increase. Which Resilience factor do you mean? The colored bar for each crew member? I think it's just 1-fatigue. I don't think that hitpoints influence the efficiency. At least I can predict the efficiency (green bar above the compartment) without using any hitpoint information. Cheers, LGN1 |
||
|
|
10-06-10, 02:23 PM
|
#2 |
|
Watch
![]() Join Date: Sep 2010
Location: Toronto, Canada
Posts: 24
Downloads: 44
Uploads: 0
|
|
|
|
10-06-10, 02:43 PM
|
#3 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Just a small example to illustrate the formula (values taken from GWX):
[CREW_0] ;SEAMAN MoraleMin=0.30 MoraleMax=0.60 FatigueMin=0 FatigueMax=0.80 CoefMorale=0.4 CoefFatigue=0.21 QualEffect=1 --> A rested seaman adds 0.76 to the efficiency in a compartment. When completely exhausted he adds 0.76*0.368 = 0.27968. [CREW_3] ;PETTYOFFICER MoraleMin=0.40 MoraleMax=0.70 FatigueMin=0 FatigueMax=0.80 CoefMorale=0.3 CoefFatigue=0.3 QualEffect=2 --> A rested petty officer adds 0.79 to the efficiency in a compartment. When completely exhausted he adds 0.79*0.44 = 0.3476. If he has the correct qualification for the compartment he adds 1.58 and 0.6952, respectively. [CREW_6] ;SUBLIEUTENANT MoraleMin=0.50 MoraleMax=0.80 FatigueMin=0 FatigueMax=0.80 CoefMorale=0.2 CoefFatigue=0.4 QualEffect=1.5 --> A rested sub lieutenant adds 0.84 to the efficiency in a compartment. When completely exhausted he adds 0.84*0.52 = 0.4368. If the officer is in a compartment with a sailor (both rested), the total efficiency is (0.84+0.76)*1.5 = 2.4 (assuming the officer has the correct qualification). Clearly, having an officer with the correct qualification is very important. Cheers, LGN1 |
|
|
10-06-10, 02:53 PM
|
#4 | ||
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Quote:
Quote:
multiplication and division come first: a*b+c = (a*b)+c a*(b+c)=a*b+a*c=(a*b)+(a*c) Concerning the specific and regular factors. I am pretty sure that (as you wrote) specific is for surfaced and submerged (my first post was wrong. I corrected it.). In the thread I linked it says that regular0 is a one-time hit when someone is moved to a compartment. I think I tested this once and confirmed it for myself. Maybe increase the value in basic.cfg and see whether you observe a change. Cheers, LGN1 |
||
|
|
10-06-10, 03:03 PM
|
#5 |
|
Watch
![]() Join Date: Sep 2010
Location: Toronto, Canada
Posts: 24
Downloads: 44
Uploads: 0
|
I looked it up; you're right. It's scary what I've forgotten from elementary school! Either that or I've hopped from one universe to another. :-) Yep, I'm sticking with that story.
Yep, I tested this too, and it's correct. Still don't know what Regular 1 does, though. Might it be a hit when the sub takes damage or something? |
|
|
10-06-10, 07:46 PM
|
#6 |
|
Watch
![]() Join Date: Sep 2010
Location: Toronto, Canada
Posts: 24
Downloads: 44
Uploads: 0
|
Earlier threads claim that the time compression above which fatigue will not increase (or decrease, depending on your perspective) is set by the "3d Render=" option, which defaults to "3d Render=32".
Does anybody know if this is true? Also, how exactly do the fatigue coeficients work, in practice, and how do they interact with FatigueStep? Does anybody know the formula for this? Last edited by sub_optimal; 10-06-10 at 09:16 PM. |
|
|
10-06-10, 11:25 PM
|
#7 |
|
Watch
![]() Join Date: Sep 2010
Location: Toronto, Canada
Posts: 24
Downloads: 44
Uploads: 0
|
Some more discoveries:
The fatigue system is divided into distinct 'rounds' Each round is ten minutes long, and begins on the "0's" (1:10, 1:20, 1:30, etc) [NB: I just double checked this, and it seems that fatigue is also sometimes recovered on the "5's"; clearly I haven't worked this out entirely yet.] The fatigue penalty or recovery is assigned at the beginning of each ten minute round. If you put a guy into a compartment at 12:09 he will be just as fatigued at 12:10 as he would have been if he had been assigned at 12:01. The above does not apply to the RegularFactor penalty, which is assigned as soon as a sailor is put into the compartment. I think that the fatigue penalty defined by SpecificFactor is initiated at the beginning of each round by subtracting the SpecificFactor penalty from the man's fatigue score, where 0 is completely fatigued and 1 is completely fresh. FatigueMax appears to define the point at which the ! shows up and the man is exhausted. However, this operates the opposite to way which one might expect given the way the other numbers work. It seems as if a sailor with a FatigueMax of .2 becomes exhausted fast (after 20% of his fatigue points are gone) whereas a sailor with a .8 score can tolerate 80% of his fatigue points disappearing before becoming exhausted. FatigueStep seems to be the number added to the fatigue score for every round the sailor begins in a Crew Quarters compartment. The SpecificFactor score for the Quarters compartments (which is negative) does not seem to be added to their fatigue score. This is very mysterious, because this is different from what others describe. However, I assigned a '-1' score to this compartment, expecting that it would bump the player up to full health immediately, and yet their fatigue seemed to dissipate at the usual rate. I would be very grateful if anybody could shed light on this further. |
|
|
10-07-10, 08:16 AM
|
#8 | |
|
Pacific Aces Dev Team
|
Quote:
Some time ago Kaa created a fatigue model I liked much, but that was dropped for unknown reasons. By setting 3D render to 1024 (Or whatever maximum TC you had), and giving all crew small fatigue values, they became exhausted over a period of months, hence making a good representation of overall fatigue in patrol. You didn't need to move crewmen around any more, they just tired always the same -and a bit faster during storms if surfaced-. I think this was a very good representation of one aspect involved, i.e. overall fatigue. Other models liek the one you are exploring represent better the normal watch shifts during patrol, but when a crewman is rested, he is as rested as if he had not been already one month in patrol. I prefer the other method, and as with all these simulations goes, it's always a trade-off; rarely will you be able to say "this or that is more realistic" ... it's a matter of choosing what aspect of reality you prefer to simulate in such a limited enviroment.
__________________
One day I will return to sea ... |
|
|
|
10-07-10, 02:55 PM
|
#9 | |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Quote:
You are right, the rest quarters have two variables: fatigueStep/moraleStep and the specific factors. I don't remember what the influence of the specific factor was, but I would not be surprised if it has no influence in this case. The rest sounds quite similar to my observations. Cheers, LGN1 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
