Page 1 of 1

Edit Player Injury

Posted: Sun Mar 26, 2006 12:58 pm
by thecoolstuff
How do I edit a player in the pregame editor so he can be injured and on IR?

help needed, thx!

Posted: Sun Mar 26, 2006 1:53 pm
by Minstrel
Don't know about the editor but this is another one you do with the same config file as the draft picks:
# Injuries
# "INJURY" "first name "second name" "current team name" "INJURY_TYPE" length_in_months
# Injury types are as follows:
# TWISTED_ANKLE
# BRUISED_ANKLE
# BROKEN_TOE
# ANKLE_LIG_SPRAIN
# DAMAGED_ACHILLES_TEN
# SKATE_BITE
# FOOT_CONTUSION
# FRACTURED_ANKLE
# BROKEN_ANKLE
# BROKEN_FOOT
# LOWER_LEG_CONTUSION
# TORN_CALF_MUSCLE
# FRACTURED_SHIN
# BROKEN_LEG_1
# TWISTED_KNEE
# ANTERIOR_KNEE_PAIN
# ACL_SPRAIN
# PARTIALLY_TORN_ACL
# TORN_ACL
# MCL_SPRAIN
# PARTIALLY_TORN_MCL
# TORN_MCL
# TORN_CARTILAGE
# DAMAGED_KNEE_CAP
# THIGH_CONTUSION
# PULLED_HAMSTRING
# THIGH_STRAIN
# BROKEN_LEG_2
# HIP_FLEXOR_STRAIN
# HIP_POINTER
# HIP_BURSITIS
# GROIN_STRAIN
# PULLED_GROIN
# BROKEN_PELVIS
# BRUISED_RIBS
# FRACTURED_RIBS
# BROKEN_RIBS
# CHEST_INJURY
# ABDOMEN_INJURY
# BACK_SPASMS
# SLIPPED_DISC
# KIDNEY_INJURY
# DAMAGED_SPINE
# STUBBED_FINGER
# CUT_HAND
# UCL_TEAR
# BROKEN_FINGER
# BROKEN_HAND
# SPRAINED_WRIST
# FRACTURED_WRIST
# BROKEN_WRIST
# OLECRANON_BURSITIS
# DAMAGED_ELBOW
# ARM_CONTUSION
# FRACTURED_ARM
# BROKEN_ARM
# SHOULDER_CONTUSION
# ROTATOR_CUFF_STRAIN
# DISLOCATED_SHOULDER
# SEPARATED_SHOULDER
# NECK_STRAIN
# FACET_SYNDROME
# BROKEN_COLLARBONE
# STINGER
# LACERATION_1
# CONCUSSION_1
# DENTAL_INJURY
# LACERATION_2
# CONCUSSION_2
# FRACTURED_JAW
# DISLOCATED_JAW
# BROKEN_JAW
# FRACTURED_CHEEKBONE
# BROKEN_CHEEKBONE
# BROKEN_NOSE
# DAMAGED_EYE
# CONCUSSION_3
# FRACTURED_SKULL
# ARTHRITIS
# FAITH_HEALING
# PHYSIOTHERAPY
# SURGERY
# CHEMOTHERAPY
# HOLIDAY
After that is the severity of the injury, there are some that have levels themselves like CONCUSSION_3 is worse than a CONCUSSION_1. For things like sore knees, back spasms, hip pointers, and groin injuries that the player is healed from but still prone to you add FUTURE_PERMANENT to the injury. Last there is a number after it that tells likelihood of recurrance on a 1-10 scale. here's Lindros:

"INJURY" "Eric" "Lindros" "Toronto Maple Leafs" "FUTURE_PERMANENT_CONCUSSION_3" 10

For things like guys with bad knees or shoulders that will never get better you just use PERMANENT and a number for degree of severity.

There's a big listing of the options you can do in the config at the top of the file with an example of how to set them up; that's where I grabbed the injuries list from. :thup:

Posted: Sun Mar 26, 2006 2:01 pm
by Minstrel
Oh, and make sure you don't leave any blank lines. If you need to make an open line use just a #.

If you want to make comments/write yourself notes type whatever you want to in just start the line with a # like this:

#
#These are the injuries I added on 3-2-06
#

The game skips over anything that starts with a # and stops reading when it reaches the first empty line, so if you have an empty line before your injuries it wont register them or anything listed after them. All the configurable text files work that way.

Posted: Mon Mar 27, 2006 2:03 am
by thecoolstuff
Awesome! Thx alot Minstrel!!

But I just had a little question about the number at the end of the injury line. In the instruction line, it says length_in_months. Does that mean in your Lindros example that he's gonna be out for 10 months?

also, when I first open the config file with notepad, there was already 2 empty space line between 2007 NHL traded picks and 2006 WHL traded picks, and alot more other places. Should this be a concern??

Posted: Tue Mar 28, 2006 9:34 am
by Minstrel
You can have spaces as long as the line starts with a # otherwise the game may ignore everything after a space so yeah double check that. The default config file has no blank spaces especially not double blank spaces. The .col has spaces but the config may be a different case so I say go with what the default file looks like and between their categories, retirements, transfers, etc. they didn't use and spaces.

Think I may have confused that trying to explain too many things at once :oops:

The numbers in the case of a currrent "fixed time" injury like broken bones or surgery do equal number of months they will be out. When it is combined with the usage of 'FUTURE_PERMANENT' injuries like for Lindros' concussion there are no 'months' to refer to in that case so the 1-10 does mean severity/chance of recurrance.

It is for problems a player has "healed" from; so he can play at 100% again but the tendancy to get another concussion (in Lindros' 10 example) is as high as possible.

For example here's Zhamnov who carries both:

"INJURY" "Alexei" "Zhamnov" "Boston Bruins" "FUTURE_PERMANENT_BACK_SPASMS" 3
"INJURY" "Alexei" "Zhamnov" "Boston Bruins" "SEPARATED_SHOULDER" 4

He's a 3 on a scale of 1 to 10 to miss time due to back spasms (someone never injured would be a 0 on that scale) in the future, as long as he plays.

He's currently out four months due to the separated shoulder. After that he is at no higher risk to re-injure his shoulder.

Someone with a degenerative condition like Mario's back might have "PERMANENT_BACK_SPASMS" 7 representing that he will always be dealing with a bad case of back spasms that is a permanent condition. I don't think that is used much in the game though. How I think of it though is those cases would be like a guy who will always walk with a limp due to an injury. While he can be ready to play and at 100% condition 100% just means "as good as he gets".