More Awesome Than You!
Welcome, Guest. Please login or register.
2024 March 28, 22:43:14

Login with username, password and session length
Search:     Advanced search
540270 Posts in 18066 Topics by 6511 Members
Latest Member: zheng
* Home Help Search Login Register
+  More Awesome Than You!
|-+  TS2: Burnination
| |-+  The Podium
| | |-+  changing the genetic skintone after the fact?
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: changing the genetic skintone after the fact?  (Read 5354 times)
AllenABQ
Feckless Fool
*
Posts: 257


Contemplator of Fuzzy Things


View Profile
changing the genetic skintone after the fact?
« on: 2006 August 10, 02:16:06 »
THANKS THIS IS GREAT

Can anyone point me in the direction of a good tutorial/explanation of using SimPE to alter genetics.  I remember seeing some stuff about this somewhere before.  Specifically, I'd like to be able to change the expressed skin tone for some of my NPCs.  Any help appreciated.

thx

PS -- I know 'Sim Surgery' allows for some replacement, but my understanding is that only affected appearance not genetics.  It also is very limited in allowing you to change to custom skins (basically only unless there's already a sim using the custom skin).
« Last Edit: 2006 August 10, 02:23:35 by AllenABQ » Logged
Rascal
Corpulent Cretin
*
Posts: 144


Most Awesome Cat - RIP


View Profile
Re: changing the genetic skintone after the fact?
« Reply #1 on: 2006 August 10, 03:50:39 »
THANKS THIS IS GREAT

I'm sure someone more awesome will come along with a better explanation/method than this but all I do if I want to alter skintone is open my Sim's DNA (under other) and replace the code number for the skin they have with the number for the skin I want them to have.  You can do this for both the dominant and recessive skin tones. 

To find out the skin number of the custom skin you want I think you do need a sim with that skin in the game.  I guess one way to do this without putting unwanted sims in your game would be to create a custom neighbourhood and put in a CAS family with the skin/s you want.  Then open simpe and find out the skintone numbers under Sim DNA - write them down (or copy/paste them into notepad) then use the numbers for the sim you want to alter.  You could then delete the whole neighbourhood if you wanted.

Baratron's strangetown DNA tutorial in Peasentry explains about the DNA quite well and BogSims Institute http://www.springhole.net/bogsims/ has a tutorial that explains how to make your custom skinstones properly inherited (ie blended with lighter/darker tones) if you want.
« Last Edit: 2006 August 10, 05:55:12 by Rascal » Logged
Theo
Lipless Loser
***
Posts: 602



View Profile
Re: changing the genetic skintone after the fact?
« Reply #2 on: 2006 August 10, 10:00:12 »
THANKS THIS IS GREAT

You can use the "Skintone only" option of Sim Surgery with custom skins, but only if you add them to SimPe's File Table.

I've seen the plugin's code, and I can tell that it changes the SimDNA record for the patient sim (or at least tries to).

But Rascal's point is correct: you can also change the expressed skintone just by altering the SimDNA record.
Logged
Indiasong
Exasperating Eyesore
*
Posts: 205



View Profile
Re: changing the genetic skintone after the fact?
« Reply #3 on: 2006 August 10, 12:55:12 »
THANKS THIS IS GREAT

Very easy to do with SimEnhancer, though.
Logged
KevinTMC
Lipless Loser
***
Posts: 653


Official THANG and Insular Person


View Profile WWW
Re: changing the genetic skintone after the fact?
« Reply #4 on: 2006 August 29, 18:49:22 »
THANKS THIS IS GREAT

I'm sure someone more awesome will come along with a better explanation/method than this but all I do if I want to alter skintone is open my Sim's DNA (under other) and replace the code number for the skin they have with the number for the skin I want them to have.  You can do this for both the dominant and recessive skin tones.

I notice that when I go into Sims2DB, it lists one short code for the skin, whereas in SimPE I get a long chain of stuff (something like "4dcb6e-000202-00005-3df6g9"), where the first block of digits matches what Sims2DB shows. Are the following chunks of data significant? (Because they vary from sim to sim, even between those that I thought had the same skin.)

To find out the skin number of the custom skin you want I think you do need a sim with that skin in the game.  I guess one way to do this without putting unwanted sims in your game would be to create a custom neighbourhood and put in a CAS family with the skin/s you want.  Then open simpe and find out the skintone numbers under Sim DNA - write them down (or copy/paste them into notepad) then use the numbers for the sim you want to alter.  You could then delete the whole neighbourhood if you wanted.

That makes sense...but how about this case?

I've got a couple dozen custom skintones in my Downloads folder. I know that *one* of them is being used by the members of a family I am playing...but I'm not sure which one. Is there a better way of figuring out which skin it is, without the trial-and-error of creating a new sim with each of the possible skins until I find the right code pop up in the SimPE description?
Logged

I am a compulsive post-editor. Any and all of the above is subject to change, within the first 15 minutes or so after it is posted. (Or longer, if I'm trying to make it funny.)
Theo
Lipless Loser
***
Posts: 602



View Profile
Re: changing the genetic skintone after the fact?
« Reply #5 on: 2006 August 29, 19:04:09 »
THANKS THIS IS GREAT

That long chain of numbers is the family guid of the skin, and it's immutable: if two sims have the same skin, they should have the exact same value for the skintone guid.
I can't even speculate why two sims would have two different values for the skintone guid, if they express the same skin  Huh

You can find the skin's family guid by opening the skin package file, and then inspecting the SkintoneXML (XSTN) resource.
The guid is the value of the "family" property.

Example SkintoneXML:
Code:
version=0x00000002
product=0x00000000
age=0x0000007F
gender=0x00000003
species=0x00000001
flags=0x00000000
name=Dark
creator=a9dee1e6-497c-7bb3-e85d-19bba1a83e39
genetic=0.9
type=skintone
preview=
family=9049e6ef-4730-8ba4-3ee9-25a87ffb0aa3
Logged
KevinTMC
Lipless Loser
***
Posts: 653


Official THANG and Insular Person


View Profile WWW
Re: changing the genetic skintone after the fact?
« Reply #6 on: 2006 August 29, 19:27:30 »
THANKS THIS IS GREAT

I can't even speculate why two sims would have two different values for the skintone guid, if they express the same skin  Huh

Maybe I just don't know what I'm looking at. I'll have to poke around more.

Which will be much more enlightening thanks to your guidance about the XSTN resource. Thanks! Now I know where those goofy strings come from...
Logged

I am a compulsive post-editor. Any and all of the above is subject to change, within the first 15 minutes or so after it is posted. (Or longer, if I'm trying to make it funny.)
Process Denied
Juvenile Jackass
**
Posts: 467



View Profile
Re: changing the genetic skintone after the fact?
« Reply #7 on: 2006 August 29, 21:31:16 »
THANKS THIS IS GREAT

Very easy to do with SimEnhancer, though.
I agree,the best $15 bucks that I ever spent.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.092 seconds with 20 queries.