RimWorld

RimWorld

CraftedRuin Aug 25, 2020 @ 6:00pm
Dev mode, Removing traits
While messing with dev mode i saw how to add traits to a pawn but i did not see a way to remove traits from them. Is there a way?
Originally posted by MasterJB:
Originally posted by WH Rawrling:
Originally posted by liosalpha:
https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848
this mod can be use mid game, just select the pawn you wanne edit and hit the "home" key




Originally posted by MasterJB:
ALL CREDITS BELONG TO Astasia, who brought up this solution in another thread. It worked for me too.


Make a duplicate of your save in case you make a mistake, then open the save in Notepad++ and do a search for your colonist's name (first, last or nickname, whichever is more unique, they are stored on different lines so just look for one of them). You are looking for a <name Class="NameTriple"> nested inside a <thing Class="Pawn">, make sure it's not a "Tale" there might be a bunch of them that contain a <name Class="NameTriple"> with your colonist's name referencing various actions they took in the past.

Once you find the <thing Class="Pawn"> of your colonist, scroll down and you will see <traits><allTraits> followed by that colonist's traits. Replace the text between <def></def> of the trait you want to change to the def of the trait you want. You can look at other pawns in the save to see trait def name examples and just copy and paste one of them into the colonist you want to change. Some traits might also have a degree to consider, that's stored under the def and it changes between multiple traits on a trait line.

<def>Gifted</def>
<degree>2</degree>

That for example is the better skill learning speed trait, degree 1 is the less powerful learning speed trait, degree -1 is a learning speed penalty trait.

Saves are stored in the following folder:
\Users\*\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
< >
Showing 1-10 of 10 comments
GenericName1 Aug 25, 2020 @ 6:07pm 
Don't know if there's a vanilla way to do it, but you can find an ingame character editing mod in the workshop.
The mod prepare carefully lets you do it but I don't think theres a dev tool for removing them

https://steamcommunity.com/sharedfiles/filedetails/?id=735106432&searchtext=prepare
Last edited by Where's The Lamb Sauce; Aug 25, 2020 @ 7:11pm
MasterJB Aug 25, 2020 @ 7:37pm 
ALL CREDITS BELONG TO Astasia, who brought up this solution in another thread. It worked for me too.

Originally posted by Astasia:

Make a duplicate of your save in case you make a mistake, then open the save in Notepad++ and do a search for your colonist's name (first, last or nickname, whichever is more unique, they are stored on different lines so just look for one of them). You are looking for a <name Class="NameTriple"> nested inside a <thing Class="Pawn">, make sure it's not a "Tale" there might be a bunch of them that contain a <name Class="NameTriple"> with your colonist's name referencing various actions they took in the past.

Once you find the <thing Class="Pawn"> of your colonist, scroll down and you will see <traits><allTraits> followed by that colonist's traits. Replace the text between <def></def> of the trait you want to change to the def of the trait you want. You can look at other pawns in the save to see trait def name examples and just copy and paste one of them into the colonist you want to change. Some traits might also have a degree to consider, that's stored under the def and it changes between multiple traits on a trait line.

<def>Gifted</def>
<degree>2</degree>

That for example is the better skill learning speed trait, degree 1 is the less powerful learning speed trait, degree -1 is a learning speed penalty trait.

Saves are stored in the following folder:
\Users\*\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
Last edited by MasterJB; Aug 25, 2020 @ 7:38pm
liosalpha Aug 25, 2020 @ 8:35pm 
https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848
this mod can be use mid game, just select the pawn you wanne edit and hit the "home" key
CraftedRuin Aug 25, 2020 @ 8:53pm 
Thank you everyone. If i could flag the notepad edit post too i would but this one is easier to use for most users i would think.

I had a mod conflict and got a pawn that had a trait they should not have gotten. Im glad there is a way to fix them.
Last edited by CraftedRuin; Aug 25, 2020 @ 8:54pm
liosalpha Aug 25, 2020 @ 10:03pm 
Rawrling you could qoute both post and mark that (your own post) as the solution too.
CraftedRuin Aug 26, 2020 @ 2:49pm 
Originally posted by liosalpha:
https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848
this mod can be use mid game, just select the pawn you wanne edit and hit the "home" key




Originally posted by MasterJB:
ALL CREDITS BELONG TO Astasia, who brought up this solution in another thread. It worked for me too.

Originally posted by Astasia:

Make a duplicate of your save in case you make a mistake, then open the save in Notepad++ and do a search for your colonist's name (first, last or nickname, whichever is more unique, they are stored on different lines so just look for one of them). You are looking for a <name Class="NameTriple"> nested inside a <thing Class="Pawn">, make sure it's not a "Tale" there might be a bunch of them that contain a <name Class="NameTriple"> with your colonist's name referencing various actions they took in the past.

Once you find the <thing Class="Pawn"> of your colonist, scroll down and you will see <traits><allTraits> followed by that colonist's traits. Replace the text between <def></def> of the trait you want to change to the def of the trait you want. You can look at other pawns in the save to see trait def name examples and just copy and paste one of them into the colonist you want to change. Some traits might also have a degree to consider, that's stored under the def and it changes between multiple traits on a trait line.

<def>Gifted</def>
<degree>2</degree>

That for example is the better skill learning speed trait, degree 1 is the less powerful learning speed trait, degree -1 is a learning speed penalty trait.

Saves are stored in the following folder:
\Users\*\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves

CraftedRuin Aug 26, 2020 @ 2:51pm 
Its not letting me set my own post as the answer. Im on mobile so that may be the issue
The author of this thread has indicated that this post answers the original topic.
MasterJB Aug 27, 2020 @ 7:09am 
Originally posted by WH Rawrling:
Originally posted by liosalpha:
https://steamcommunity.com/sharedfiles/filedetails/?id=1874644848
this mod can be use mid game, just select the pawn you wanne edit and hit the "home" key




Originally posted by MasterJB:
ALL CREDITS BELONG TO Astasia, who brought up this solution in another thread. It worked for me too.


Make a duplicate of your save in case you make a mistake, then open the save in Notepad++ and do a search for your colonist's name (first, last or nickname, whichever is more unique, they are stored on different lines so just look for one of them). You are looking for a <name Class="NameTriple"> nested inside a <thing Class="Pawn">, make sure it's not a "Tale" there might be a bunch of them that contain a <name Class="NameTriple"> with your colonist's name referencing various actions they took in the past.

Once you find the <thing Class="Pawn"> of your colonist, scroll down and you will see <traits><allTraits> followed by that colonist's traits. Replace the text between <def></def> of the trait you want to change to the def of the trait you want. You can look at other pawns in the save to see trait def name examples and just copy and paste one of them into the colonist you want to change. Some traits might also have a degree to consider, that's stored under the def and it changes between multiple traits on a trait line.

<def>Gifted</def>
<degree>2</degree>

That for example is the better skill learning speed trait, degree 1 is the less powerful learning speed trait, degree -1 is a learning speed penalty trait.

Saves are stored in the following folder:
\Users\*\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves
Chilli Dog Dave Aug 27, 2020 @ 7:18am 
im surprised the dev mode doesnt support true trait removal, for testing reasons being able to swap in and out traits could help test interactions, trait conflicts and such in fewer sessions
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Aug 25, 2020 @ 6:00pm
Posts: 10