Page 1 of 1

"PilotSkillRepairScale" on land vehicles

Posted: Sat Mar 25, 2017 12:12 pm
by Delta-1035
Hey guys,

I'm trying to get the engineers\pilots to regenerate vehicles' health, while they are driving, just like with starfighters.

I added the command: "PilotSkillRepairScale = 0.05" (found in the arc170's odf) in the speederbike, fightertank and atte odfs, but it does not seem to work.

Am I missing something?

Re: "PilotSkillRepairScale" on land vehicles

Posted: Sat Mar 25, 2017 3:05 pm
by Marth8880
I believe PilotSkillRepairScale is the percentage of health (represented as a floating-point value between 0 and 1) that is restored to the vehicle for each "repair tick" when a pilot is inside. With that said, to make units automatically repair vehicles when they're inside them, the unit's UnitType needs to be "pilot".

Re: "PilotSkillRepairScale" on land vehicles

Posted: Sat Mar 25, 2017 5:09 pm
by Delta-1035
Marth8880 wrote:I believe PilotSkillRepairScale is the percentage of health (represented as a floating-point value between 0 and 1) that is restored to the vehicle for each "repair tick" when a pilot is inside. With that said, to make units automatically repair vehicles when they're inside them, the unit's UnitType needs to be "pilot".
The unit type is set on "pilot", but it does not work.