13号避难所

 找回密码
 立即注册
搜索
查看: 10420|回复: 16
打印 上一主题 下一主题

自制人类头像

[复制链接]
楼主
发表于 2008-11-5 13:30:07 | 显示全部楼层
找到说明文件了


User portraits are indexed from a message file called data\\portrait\\userport.mes that begins with message 1.  
You may have to create this file. Simply make a new text file and change the extension from txt to mes.

Each portrait is a 256 color BMP file that is 64 x 64 pixels. It's name
should have a three letter prefix which is 2 letters for race and one
letter for gender. This prefix defines which race-gender combination of a PC
or NPC can use this portrait.

The race prefixes are
HU - human
DW - dwarf
EL - elf
HE - half elf
GN - gnome
HA - halfling
HO - half orc
HG - half ogre

The gender prefixes are
M - male
F - female

Special prefixes
NPC - this portrait is useable only by NPC's, regardless of race or gender
ANY - anyone (PC or NPC of any race or gender) can use this portrait

Examples::
{1}{ELM1} means there is a portrait named data/portrait/ELM1.bmp which is
only available to elf males
{2}{ANYpretty} means there is a portrait named data/portrait/ANYpretty.bmp
which is useable by anyone
{3}{NPCbob} means there is a portrait named data/portrait/NPCbob.bmp that is
avialable to any NPC but not to PC's

For the larger versions of the portraits you can create a 128x128 BMP and append "_b" to its name. So if you have a regular portrait file called ELM1.bmp  you can create another called ELM1_b.bmp to be used for the bigger portrait. This does not have to be added to the userport.mes file, the game will automatically detect and use it. If the _b file does not exist, the game will simply scale up the smaller version.

Tim.
沙发
发表于 2009-11-16 08:59:59 | 显示全部楼层
更新了吉娜公主的四个头像

把头像自制方法从新写了一遍,原则是简单易懂
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|13号避难所

GMT+8, 2024-5-10 04:34 , Processed in 0.062745 second(s), 13 queries .

快速评论 返回顶部 返回列表