16
Bugs prior to release 2.3 / Re: R28180 Error on start mission (Texture bug)
« on: February 01, 2010, 09:38:05 pm »
got it. i hope it helps
New board
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
not sure where the heck you got r_lightimage from.
maybe it's r_listimages idk - use tab to autocomplete
that's the same bug
publish a r_listimage output if you get this error please (execute on the game console)
you are right - i've commited the patch - thanks
https://sourceforge.net/apps/trac/ufoai/changeset/27930
case ABILITY_ACCURACY:
for (i = 0; i < SKILL_NUM_TYPES; i++) {
if (i == SKILL_SNIPER)
exp = 30 * (chr->scoreMission->hits[i][KILLED_ALIENS] + chr->scoreMission->hitsSplash[i][KILLED_ALIENS]);
else
exp = 20 * (chr->scoreMission->hits[i][KILLED_ALIENS] + chr->scoreMission->hitsSplash[i][KILLED_ALIENS]);
}
break;
case ABILITY_ACCURACY:
for (i = 0; i < SKILL_NUM_TYPES; i++) {
if (i == SKILL_SNIPER)
exp += 30 * (chr->scoreMission->hits[i][KILLED_ALIENS] + chr->scoreMission->hitsSplash[i][KILLED_ALIENS]);
else
exp += 20 * (chr->scoreMission->hits[i][KILLED_ALIENS] + chr->scoreMission->hitsSplash[i][KILLED_ALIENS]);
}
break;
I can't read the code quite well, because I'm not a programmer. I only understand, how a soldier gets experience for his/her skills, but not how a skill evolves with this experience.
The problem is, I hit and killed so many aliens in this game and my snipers didn't gain a single point to accuracy. They should have got a lot of experience by now.