UFO:Alien Invasion
Technical support => Bugs in stable version (2.5) => Topic started by: cevaralien on July 06, 2014, 10:50:53 pm
-
When the fighters are at 50% of damage, the craft doesn´t repair. I must sell the aircraft and buy another one.
I think this is a bug.
-
Never happened to me, but if they repair if they are below 50% and continue to do so once they reach 50% you could carefully get them some more damage instead of selling.
-
Yeah, but less than 50% is a dead fighter normaly. So, i prefer to sell the craft.
-
Hi.
I retake this post because i had the problem of 2014. I begun a new game and i notice that my craft aren't repairing more than 50% of the initial health. This is a bug or is a natural condition of the game?
-
The aircraft are slowly repaired while idle in the hangar. Could you upload the savegame so I can check?
-geever
-
Sure, no problem.
https://www.dropbox.com/sh/sm8u0ua16tbjq85/AABv_YSjJb_Pa7wOgO_MhZzna?dl=0
-
Sure, no problem.
https://www.dropbox.com/sh/sm8u0ua16tbjq85/AABv_YSjJb_Pa7wOgO_MhZzna?dl=0
@cevaralien are you playing a modded version of the game? Asking because your savegame is not compatible with the main game (neither 2.5 nor 2.6 versions).
-geever
-
Yes, it is a mod. I'm playing 2.5, Linux version, but my own mod.
-
Do you need a copy of my mod, really? I was waiting for publishing, but, here it is:
https://www.dropbox.com/s/wrhw7byj2zhkpdt/Proyect%20Reality%20V2.zip?dl=0
Thanks for the help.
-
Sorry for the late answer, I was busy with RL. Actually first, I wanted to fix the crash that happen on loading the savegame, then investigate the repair issue. The later has turned out to be a rounding issue, I fixed both issues in master (2.6-dev).
-geever
-
Backported the fixes to ufoai_2.5 branch too.
-geever
-
Ok. Thanks.
-
Hi friends.
I know why this bug is happening. If you mod the aircraft armour shield value, giving a number below +4, the game take it as a percentage. For example, i changed the value to +2 but the game shows 100%, not +2. When i put again on +4, the game show that value and the aircraft repair itself at base.
So, if you mod the aircraft shield armour, don't give values below +4.
-
Well...
The game was working well, but... again, my aircraft isn't repairing.
:-[
-
Ok, i found the problem.
When the damage of the aircraft is changed to a value below 100, the craft don't repair. I search the source code and i found that the repair ecuation is divided by 100, so, i think it is a "problem" with the aircraft damage modding.