by Greegore on Fri Mar 21, 2003 6:42 am
Ok, for general information, it looks like PLAYERPKG does control hairstyle, as well as some other features in the Looks menu for created players and generated rookies.
If you look into the players.dbf, PLAYERPKG is composed of 7 letters, ranging from A-Z. The "zero" or default value seems to be Z. In other words, if you were to create a player and not modify his appearance at all, his PLAYERPKG value would be ZZZZZZZ. Actually, I think it would be ZZZZZZA, because the last letter seems to have connection to the Face attribute.
Anyway, the second to last letter controls hairstyle. I discovered this by creating two identical players (except for their names), only changing their hair. Player 1 had Hairstyle 1, and Player 2 had Hairstyle 2. The only difference between the dbf entries for these two players was in the PLAYERPKG, in which one was ZZZZZAA and the other was ZZZZZBA.
From this, I concluded that for Hairstyle, Z was "None," A was "1," B was "2," and so on. But this is not true. When I tried to change a generated rookie's hair to Hairstyle 22, I changed the second-to-last letter to V, but this changed the player's hair to Style 12.
Then, I changed one of my created player's hairstyles to 22, and this second-to-last letter in the dbf to H.
So, in conclusion, the second-to-last letter of the PLAYERPKG controls a created or generated player's hairstyle (and the other letters seem to control other aspects of his appearance), but I am not sure what letters correspond to what styles. All I know is that V will give style 12 and H will give style 22.