Home » SIRTECH CLASSICS » Jagged Alliance 2 » JA2 Technical Department » Mechanics skill
Mechanics skill[message #12252] Wed, 23 August 2006 08:21 Go to next message
-CHAZZ- is currently offline -CHAZZ-

 
Messages:83
Registered:August 2003
Location: Croatia, Europe
Could someone, please, explain how does the MECH skill work? As for now, my imp has about 85 DEX and 36 MECH. When he is on repair items job, his mugshot says 7/7. He can repair about 7 repair 'points' every hour (weapons). Sometimes less, like 6, but i guess that goes along with the 'hard to repair' perk of certain guns, like the FN P90 etc.

Any insight?
Thanks.

Also, same goes for the 'medical' skill. no idea what those numbers in the mugshot mean.
C.

Report message to a moderator

Corporal 1st Class
Re: Mechanics skill[message #12253] Thu, 24 August 2006 00:29 Go to previous messageGo to next message
public1983 is currently offline public1983

 
Messages:125
Registered:February 2006

The formula is
"usRepairPts =
(EffectiveMechanical( pSoldier ) *
EffectiveDexterity( pSoldier ) *
(100 + ( 5 * EffectiveExpLevel( pSoldier) ) ) ) /
( REPAIR_RATE_DIVISOR * ASSIGNMENT_UNITS_PER_DAY );".
See assignments.cpp among the source files.

usRepairPts is the number of Repair units per hour.
EffectiveMechanical is the mechanical skill modified by current health (and moral? - not sure).
The same is valid for EffectiveExpLevel, the experience of the repairman.
For the constants the default values are:
REPAIR_RATE_DIVISOR = 2500
ASSIGNMENT_UNITS_PER_DAY = 24
AFAIK you can change them in mod1.13 at an ini-file.

By the way: MINUTES_FOR_ASSIGNMENT_TO_COUNT = 45
This means, that you can get the repair points when you start the assignment before the 16th minute of an hour.

Now this is a spoiler, huh? Smile

Edit:

usHealPts =
( EffectiveMedical( pDoctor ) *
(( EffectiveDexterity( pDoctor ) +
EffectiveWisdom( pDoctor ) ) / 2) *
(100 + ( 5 * EffectiveExpLevel( pDoctor) ) ) ) /
DOCTORING_RATE_DIVISOR;

DOCTORING_RATE_DIVISOR = 2400

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12254] Thu, 24 August 2006 07:53 Go to previous messageGo to next message
-CHAZZ- is currently offline -CHAZZ-

 
Messages:83
Registered:August 2003
Location: Croatia, Europe
Thanks for the reply, Sunshine. So, basically: for repairing, what counts is exp lvl, DEX and MECH. For doctoring is: WIS, DEX and MED. No wonder some of the best doctors out there have awesome WIS.
So, a low WIS merc will never be a top notch medic, compared to someone who already starts as a very 'smart' guy, no matter how hard i am forcing his MED training.
Btw, does the fatigue level have any impact on rep/med skills? Does a rested merc perform better than a winded one? (in rapair and doctoring, that is)?


c.

Report message to a moderator

Corporal 1st Class
Re: Mechanics skill[message #12255] Thu, 24 August 2006 21:58 Go to previous messageGo to next message
FastZ is currently offline FastZ

 
Messages:122
Registered:January 2003
Location: Aalten, Netherlands
So I was lucky in choosing my doctors Smile

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12256] Thu, 24 August 2006 22:32 Go to previous messageGo to next message
public1983 is currently offline public1983

 
Messages:125
Registered:February 2006

Yes fatigue has an impact. The formula is not this neat. The crucial factor are the maximum energy points of the merc. When they fall under 50, you get a 50% penalty. The effect is slightly non linear. Assume x > 0. With maximum energy of 50 + x you get less than 100 - (50 + x) percent penalty. With 50 - x you get more.

When you choose your repairman it makes sense to check his need for sleep. Bobby Gontarski does a good yob, although he gets only 7 repairpoints. His need for sleep of 5 compensates this pretty well.

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12257] Fri, 25 August 2006 08:07 Go to previous messageGo to next message
-CHAZZ- is currently offline -CHAZZ-

 
Messages:83
Registered:August 2003
Location: Croatia, Europe
Is there a link to a table displaying all the merc's need for sleep? I did noticed there are different needs for sleep between various mercs. That's why i always use Hamous as a truck driver! "Hamous is not tired!". Maybe he is not tired because he can't do anything else other than maybe shoot lol?

C.

Report message to a moderator

Corporal 1st Class
Re: Mechanics skill[message #12258] Fri, 25 August 2006 21:59 Go to previous messageGo to next message
public1983 is currently offline public1983

 
Messages:125
Registered:February 2006

I use ProEdit to find out about the need for sleep. I used to write tables about all the proedit data, but one day I gave up. I have not got any copy left. Sooner or later you know the essentials by heart. Still here is the info about some mercs:

Merc NFS
--------
Barry 8
Blood 7
Lynx 7
Grizzly 7
Vicki 8
Trevor 9
Grunty 6
Ivan 8
Steroid 5
Igor 10
Shadow 6
Red 8
Reaper 9
Fidel 6
Fox 10
Sydney 8
Gus 10
Buns 9
Ice 7
Spider 7
Cliff 5
Bull 9
Hitman 10
Buzz 5
Raider 6
Raven 6
Static 10
Len 7
Danny 8
Magic 8
Stephen 7
Scully 9
Malice 10
Dr. Q 6
Nails 10
Thor 7
Scope 7
Wolf 8
MD 7
Meltdown 5
Biff 10
Haywire 6
Gasket 10
Razor 3
Flo 11
Gumpy 9
Larry 7
Larry stoned 12
Cougar 6
Numb 8
Bubba 10
Miguel 5
Carlos 6
Ira 6
Dimitri 8
Devin 9
Hamous 5
Terry 7
Dynamo 5
Shank 10
Iggy 7
Vince 8
Conrad 5
Maddog 10
Gaston ?
Stogie ?
Tex ?
Biggins ? -> my ProEdit does not show
IMP (7 - number of MA and NO skills)

I have looked these items up. That is what ProEdit tells me about my version of mod1.13. The info about the IMP is taken from the source code.

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12259] Fri, 25 August 2006 23:01 Go to previous messageGo to next message
FastZ is currently offline FastZ

 
Messages:122
Registered:January 2003
Location: Aalten, Netherlands
Meaning NFS higher needs more sleep?

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12260] Sat, 26 August 2006 00:03 Go to previous messageGo to next message
public1983 is currently offline public1983

 
Messages:125
Registered:February 2006

Yes, I think it is something like the hours a merc spends sleeping at one busy day. (MA = martial arts, NO = night ops)

Report message to a moderator

Sergeant
Re: Mechanics skill[message #12261] Sat, 26 August 2006 08:17 Go to previous message
-CHAZZ- is currently offline -CHAZZ-

 
Messages:83
Registered:August 2003
Location: Croatia, Europe
This is way more than i hoped for. Thanks again. i'm really pleased to see that our o'l JA2 lady still has some juice in her *pun absolutely intentional*

C.

Report message to a moderator

Corporal 1st Class
Previous Topic: best sector map editor ?
Next Topic: JA 1 & Deadly games
Goto Forum:
  


Current Time: Sat Apr 20 13:58:56 GMT+3 2024

Total time taken to generate the page: 0.01155 seconds