March 28, 2024, 05:53:15 AM

Author Topic: Hair Styles for Characters : XML Specs  (Read 33358 times)

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Hair Styles for Characters : XML Specs
« on: March 24, 2011, 10:52:25 PM »
This info is covered in the XML Specs thread but I thought I'd make a thread for just this alone so it's more clear.

To change hair on a character, open their XML file and look for the <Hair> tag.  Then use one of the following (the part before the parenthesis) to set the hair style.  For instance, to use Kendra's hairstyle you would set the tag line to: <Hair>punky</Hair>

Female Hair:
messy (Alison)
punky (Kendra)
pixie (Layla)
glamour (Robyn)
feathered (Ulani)
glamour-mixed (Shauna)
short_messy (Tiffany)
updo (Ayumi)
bop (Catt)
secretary (Vanessa - without glasses)
secretary_w_glasses (Vanessa - with glasses)
night_out (Samantha)
angel (Joanne)
none (bald)

Male Hair:
short_mussed (Alec)
none (Tai)
« Last Edit: May 31, 2011, 07:01:02 PM by Jak (ripened peach) »

oncesailor

  • Sex Sim Rock Star
  • Sr. Member
  • *****
  • Posts: 181
  • I love modifying Sex Sim!
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #1 on: April 03, 2011, 08:50:14 AM »
Jak,

Can we change the hair color?  If so - how?

Thanks.

(If I can change the color, might be back to make some additional mods)   :eyebrows:

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: Hair Styles for Characters : XML Specs
« Reply #2 on: April 03, 2011, 10:04:54 AM »
As soon as I release the Hair Styler add-on you will be able to change the color, yes.

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: Hair Styles for Characters : XML Specs
« Reply #3 on: May 27, 2011, 12:18:18 PM »

I just purchased Catt and tried to use her hair on a mod.  I used the following tag - <Hair>bob</Hair>.  When I open the mod, she has no hair and I get a "Missing Items" notice.  The missing items notice goes away if I use a different hair style.

The 'bob' works on Catt.  I tried the "bob" on other mods with the same results - an error message.  I tried other hair styles and they work on this mod with no error message.  I tried re-installing everything and still get the same error with the 'bob'.

Does the 'bob' work on mods?

Try bop, not bob.  I just realized I typed it wrong in the first post... fixing it now!

LazeeDragon

  • Full Member
  • ***
  • Posts: 26
  • i love creating too bad cannot do guys yet lol
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #4 on: March 05, 2013, 01:57:45 PM »
Not sure where to post this but i have been trying to find out if i can add a hair texture to the game i have all the add-ons worked fine for the pub-hair...but having issues with the main head hair. anyone have any ideas..reason i ask is i downloaded a character from another user and her hair is green and shows up fine...
my texture is one i made and eveything shows up in the main part of the manager: icons and such but the hair is white when i click on the icon...
tyvm have a wonderful day :)
~LD~
~LD~

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: Hair Styles for Characters : XML Specs
« Reply #5 on: March 05, 2013, 02:35:03 PM »
Do you have the hair styler add-on?

There is no way for users to add new hair textures to the sim, but with the hair styler you can easily colorize it.

Try the following type of tag in your XML file:

<HairColor>0,179,17</HairColor>

The three numbers are RGB values for the hair color tint.


Not sure where to post this but i have been trying to find out if i can add a hair texture to the game i have all the add-ons worked fine for the pub-hair...but having issues with the main head hair. anyone have any ideas..reason i ask is i downloaded a character from another user and her hair is green and shows up fine...
my texture is one i made and eveything shows up in the main part of the manager: icons and such but the hair is white when i click on the icon...
tyvm have a wonderful day :)
~LD~

LazeeDragon

  • Full Member
  • ***
  • Posts: 26
  • i love creating too bad cannot do guys yet lol
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #6 on: March 06, 2013, 09:55:30 AM »
Do you have the hair styler add-on? yes

There is no way for users to add new hair textures to the sim, but with the hair styler you can easily colorize it.

Try the following type of tag in your XML file:

<HairColor>0,179,17</HairColor> I did that is y it works for pubic hair
Unless am not using the correct .xml file so what is the name or the correct .xml file??

The three numbers are RGB values for the hair color tint.

i noticed the under creater_user...under the hair there is a texture folder what do i name the texture?

happy simming y'all lol, ;)
~LD~
~LD~

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: Hair Styles for Characters : XML Specs
« Reply #7 on: March 06, 2013, 08:53:27 PM »
The tags go into the character xml file.

There is no way for a user to load a custom hair texture so there's no file you need, you just add the haircolor tags to the character xml file and that will do it.

Do you have the hair styler add-on? yes

There is no way for users to add new hair textures to the sim, but with the hair styler you can easily colorize it.

Try the following type of tag in your XML file:

<HairColor>0,179,17</HairColor> I did that is y it works for pubic hair
Unless am not using the correct .xml file so what is the name or the correct .xml file??

The three numbers are RGB values for the hair color tint.

i noticed the under creater_user...under the hair there is a texture folder what do i name the texture?

happy simming y'all lol, ;)
~LD~

LazeeDragon

  • Full Member
  • ***
  • Posts: 26
  • i love creating too bad cannot do guys yet lol
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #8 on: March 07, 2013, 07:39:52 PM »
which xml file? and do rename the file? if so what name?  tyvm ^^
~LD~

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: Hair Styles for Characters : XML Specs
« Reply #9 on: March 07, 2013, 09:48:33 PM »

LazeeDragon

  • Full Member
  • ***
  • Posts: 26
  • i love creating too bad cannot do guys yet lol
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #10 on: March 08, 2013, 08:51:01 AM »
thank you soo very much for your help and advice :) for helping a newbie at xml files ^^
~LD~

tacomaman71

  • Newbie
  • *
  • Posts: 2
  • I love Sex Sim!
    • View Profile
Re: Hair Styles for Characters : XML Specs
« Reply #11 on: October 07, 2013, 07:55:26 PM »
what are some of the other kinds of add ons that is coming to the game?

 

SMF spam blocked by CleanTalk