UID110457
帖子
精華
主題
積分28963
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限30
註冊時間2008-10-17
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 怒 2016-12-15 11:58 PM |
---|
簽到天數: 379 天 連續簽到: 1 天 [LV.9]以壇為家II
|
發表於 2011-10-21 19:22:36
|
顯示全部樓層
- *setlook <look type>,<look value>;
- *changelook <look type>,<look value>;
- 'setlook' will alter the look data for the invoking character. It is used
- mainly for changing the palette used on hair and clothes: you specify which look
- type you want to change, then the palette you want to use. Make sure you specify
- a palette number that exists/is usable by the client you use.
- 'changelook' works the same, but is only client side (it doesn't save the look value).
- // This will change your hair(6), so that it uses palette 8, what ever your
- // palette 8 is, your hair will use that color
- setlook 6,8;
- // This will change your clothes(7), so they are using palette 1, whatever
- // your palette 1 is, your clothes will then use that set of colors.
-
- setlook 7,1;
- Here are the possible look types:
-
- 0 - Base sprite
- 1 - Hairstyle
- 2 - Weapon
- 3 - Head bottom
- 4 - Head top
- 5 - Head mid
- 6 - Hair color
- 7 - Clothes color
- 8 - Shield
- 9 - Shoes
- Whatever 'shoes' means is anyone's guess, ask Gravity - the client does nothing
- with this value. It still wants it from the server though, so it is kept, but
- normally doesn't do a thing.
-
- Only the look data for hairstyle, hair color and clothes color are saved to the
- char server's database and will persist. The rest freely change as the character
- puts on and removes equipment, changes maps, logs in and out and otherwise you
- should not expect to set them. In fact, messing with them is generally
- hazardous, do it at your own risk, it is not tested what will this actually do -
- it won't cause database corruption and probably won't cause a server crash, but
- it's easy to crash the client with just about anything unusual.
- However, it might be an easy way to quickly check for empty view IDs for
- sprites, which is essential for making custom headgear.
- Since a lot of people have different palettes for hair and clothes, it's
- impossible to tell you what all the color numbers are. If you want a serious
- example, there is a Stylist script inside the default eAthena installation that
- you can look at, this may help you create a Stylist of your own:
- 'custom\dye.txt'
複製代碼 |
|