Jump to content

Change Kerbal Specialty


Guest

Recommended Posts

Hello, I'm working on updating Kustom Kerbals, which unfortunately for me gets constantly autocorrected by my computer to custom herbals.:confused:

Recently, I've tried to add the ability to chose between pilot, engineer, and scientist. The only issue is that I've found no way to do it. I have tried using experianceTrait, but that simply doesn't work. Is there any way to do this.:huh: I have even looked through the persistent.sfs in the Kerbals section, but there is no mention of their trait. All input is appreciated.

Link to comment
Share on other sites

Hello, I'm working on updating Kustom Kerbals, which unfortunately for me gets constantly autocorrected by my computer to custom herbals.:confused:

Recently, I've tried to add the ability to chose between pilot, engineer, and scientist. The only issue is that I've found no way to do it. I have tried using experianceTrait, but that simply doesn't work. Is there any way to do this.:huh: I have even looked through the persistent.sfs in the Kerbals section, but there is no mention of their trait. All input is appreciated.

I think that it chooses the class based on their name. Pretty silly if you ask me, but that's the way it's implemented as far as I can see.

Link to comment
Share on other sites

So the idea is that if you run out of, say, Scientists, you can retrain an Engineer as a Scientist without having to hire fresh Kerbals? Neat!

I suggest that you have some sort of cost (financial or otherwise) and that respecced Kerbals lose their levels (except maybe in Sandbox mode).

Link to comment
Share on other sites

So the idea is that if you run out of, say, Scientists, you can retrain an Engineer as a Scientist without having to hire fresh Kerbals? Neat!

I suggest that you have some sort of cost (financial or otherwise) and that respecced Kerbals lose their levels (except maybe in Sandbox mode).

That isn't actually it, but now that you say it, I might just add that ability.

Link to comment
Share on other sites

I figured it out:

[COLOR=#008000][FONT=Menlo][I]//Howtoset trait[/I]
[I]//KerbalRoster.SetExperienceTrait(kerbal,"Pilot");[/I]
[I]//KerbalRoster.SetExperienceTrait(kerbal,"Engineer");[/I]
[I]//KerbalRoster.SetExperienceTrait(kerbal,"Scientist");[/I][/FONT][/COLOR]

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...