Page 1 of 1

Hair, revisited

Posted: 16 Jul 2008, 21:50
by Jaxad0127
Back in All hairstyle options for all characters it was proposed to allow all hairstyles for both genders. Right now, hair styles stand like this:

Code: Select all

# Male             Female
0 Bald             Bald
1 Ponytail         Long and slick
2 Bowl cut         Short and curly
3 Combed back      Ponytail
4 Emo              Pigtails
5 Mohawk           Long and curly
6 Pompadour        Parted
7 Center parting   Short and slick
Slave has also created three more: Wave, Bun, and Mane.

I propose to add Slave's hair styles and rearrange them so that each number is the same style for each gender.
  1. Bald
  2. Ponytail
  3. Bowl cut
  4. Combed back
  5. Emo
  6. Mohawk
  7. Pompadour
  8. Center parting/Short and Slick (they already have the same sprite)
  9. Long and slick
  10. Long and curly
  11. Short and curly
  12. Pigtails
  13. Parted
  14. Wave
  15. Mane
  16. Bun
Some may be able to be combined, and a few more sprites may be needed. We could also add the style's name to the item.

I think it was suggested somewhere to move the hair colors into an XML file (I can't seem to find it anywhere right now). ATM they're hard-coded into the client, which isn't a good idea. It forces others using this engine to either use the same colors or distribute a custom client. We could also place the color names there.

Adding the names would make a hair changing interface easier for the new server.

Re: Hair, revisited

Posted: 16 Jul 2008, 21:53
by EJlol
And don't forget to add the colour black. I really miss that colour.

Re: Hair, revisited

Posted: 16 Jul 2008, 22:01
by Jaxad0127
Once it's in the XML file, new colors will be easy to add.

Re: Hair, revisited

Posted: 16 Jul 2008, 22:05
by Red Lord
Yes, black would be nice for blacklord.

Re: Hair, revisited

Posted: 16 Jul 2008, 23:11
by Bankai777
can we redo brunette? it looks very not brown and i want my real hair color xD

Re: Hair, revisited

Posted: 16 Jul 2008, 23:19
by Jaxad0127
Bankai777 wrote:can we redo brunette? it looks very not brown and i want my real hair color xD
With the colors in the xml file, we could add a new color for it.

Re: Hair, revisited

Posted: 16 Jul 2008, 23:22
by Bankai777
there we go thx
<- bar at recoloring

Re: Hair, revisited

Posted: 14 Aug 2008, 01:48
by Jaxad0127
Here's my proposal for the format of the color files. Sorry it took so long to write the file, I just got around to writing it.

Re: Hair, revisited

Posted: 14 Aug 2008, 11:24
by Crush
There should be an ID in the <color> tags. I would also suggest to add the possibility to put the <colors> tag into the items.xml as a childtag of the <item> element instead of a single file. The <colors> tag should have a property stating which color channel it applies to.

Re: Hair, revisited

Posted: 14 Aug 2008, 14:07
by Jaxad0127
Crush wrote:There should be an ID in the <color> tags. I would also suggest to add the possibility to put the <colors> tag into the items.xml as a childtag of the <item> element instead of a single file. The <colors> tag should have a property stating which color channel it applies to.
ID added. Putting colors into the item database is a possibility for those color sets that are only used by one item. Doing it for all color sets is a bad idea. Channel information is sprite specific and not needed in the color files (imho). For example, the red cotton shirt has this for it's male sprite: chest-cotton-male.xml|#441111,aa3333,dd6666. The entry in the color file for it would look like this: <color id="1" name="Red" value="#441111,aa3333,dd6666">. Which is the same as it is in the item database.

EDIT: I've added some example files. Their linked at the bottom of the proposal and right here:
Hair colors
Pants colors
Shirt colors
Skirt colors