Trying to help a modder troubleshoot:
I have a pilot that has 2-stars piloting, 2-stars morale and 2-stars under "skill" on the ship orders screen. The problem is I can't assign global orders that require 2-stars. I unpacked my save and here are her stats:
skill type="boarding" value="3"
skill type="engineering" value="7"
skill type="management" value="1"
skill type="morale" value="6"
skill type="piloting" value="6"
I also looked at the requirements of the default order added by the mod and it says:
skill min="45"
Is that "skill min" simply the sum of all the individual skills? That doesn't seem right because if the requirement is "2 stars skill", my pilot has that already.
Some screens:
IMG_PILOT_SKILLS
IMG_PILOT_TOTAL_SKILL
How is "skill" actually calculated?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 1037
- Joined: Fri, 25. Jan 19, 03:26
Re: How is "skill" actually calculated?
Skill is 0-15
Skill min in ai script is 0-100 and is the weighted outcome for the position type (pilot manager etc). You can find the weighting of the skills in one of the files in libraries.
100 == 15 == 5 stars
40 == 6 == 2 stars
20 == 3 == 1 star
Skill min in ai script is 0-100 and is the weighted outcome for the position type (pilot manager etc). You can find the weighting of the skills in one of the files in libraries.
100 == 15 == 5 stars
40 == 6 == 2 stars
20 == 3 == 1 star
-
- Posts: 853
- Joined: Fri, 20. Jul 18, 23:20
Re: How is "skill" actually calculated?
Thanks, so it appears a min skill of 45 is what's throwing things off. Technically from the screenshots I meet the requirements (2 stars) and from my save file, both piloting and morale are 6 but that's actually only 40... the mod seems like it's looking for "2 plus a little" stars (45) instead of 2 stars (40).
-
- Posts: 65
- Joined: Sat, 14. May 16, 22:13
Re: How is "skill" actually calculated?
you guys know the file and the part in the file where this skill stuff is defined?