Hair, revisited

All development of pixel art and graphics
Post Reply
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Hair, revisited

Post by Jaxad0127 » 16 Jul 2008, 22:50

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.
Image
User avatar
EJlol
Developer
Developer
Posts: 1084
Joined: 06 Sep 2005, 09:42

Re: Hair, revisited

Post by EJlol » 16 Jul 2008, 22:53

And don't forget to add the colour black. I really miss that colour.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Hair, revisited

Post by Jaxad0127 » 16 Jul 2008, 23:01

Once it's in the XML file, new colors will be easy to add.
Image
User avatar
Red Lord
Novice
Novice
Posts: 137
Joined: 15 Apr 2008, 23:06
Location: USA

Re: Hair, revisited

Post by Red Lord » 16 Jul 2008, 23:05

Yes, black would be nice for blacklord.
Formerly Blacklord
User avatar
Bankai777
Novice
Novice
Posts: 123
Joined: 06 Jul 2008, 02:28

Re: Hair, revisited

Post by Bankai777 » 17 Jul 2008, 00:11

can we redo brunette? it looks very not brown and i want my real hair color xD
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Hair, revisited

Post by Jaxad0127 » 17 Jul 2008, 00:19

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.
Image
User avatar
Bankai777
Novice
Novice
Posts: 123
Joined: 06 Jul 2008, 02:28

Re: Hair, revisited

Post by Bankai777 » 17 Jul 2008, 00:22

there we go thx
<- bar at recoloring
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Hair, revisited

Post by Jaxad0127 » 14 Aug 2008, 02:48

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.
Image
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: Hair, revisited

Post by Crush » 14 Aug 2008, 12:24

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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Hair, revisited

Post by Jaxad0127 » 14 Aug 2008, 15:07

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
Image
Post Reply