"PilotSkillRepairScale" on land vehicles

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

"PilotSkillRepairScale" on land vehicles

Post 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?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: "PilotSkillRepairScale" on land vehicles

Post 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".
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: "PilotSkillRepairScale" on land vehicles

Post 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.
Post Reply