|
|
发表于 2008-12-15 22:19:48
|
显示全部楼层
(如果你以前及以后不学PHOTOSHOP,英语,FT TOOL那就离开这里)
欢迎来到甘布雷,很高兴大家能对BOS SPR技术感兴趣。记着一点,你们是一个团队,小组合作是很重要的,没有个人英雄主义。还有,甘布雷精神是探索,我不是单纯的写一份答案,然后你们照做。我会列出重要关键的部分,你们分小组,去讨论,合作完成作业。小组团体作业就是比如:XXX和XXX。。。几个人一组,每个人都把课题作业作出来,才算整个小组完成,如果有一个人不能完成,小组就不能进入下一课题。
教材有两个,我个人认为做SPR用SC好,做TILES用RAD!VIEW好。好请打开Sprites Creator.exe(SC)
用它打开(FILE – OPEN)BOS的M16步枪的SPR文件,就是在游戏Sprites文件包里后缀SPR的文件。显示出来后,看看M16有那些图组成。然后看IMAGE – IMPORT(插入)和EXPORT(导出),里面的什么LAYER是图层的意思,分4个图层,可以先把M16的一大一小的外观BMP格式的图从图层里导出,用PS(PHOTOSHOP)看看导出的图片大小及属性。
好,重点来了,同时也是难点,我要你们记住并体会以下的咒语:
“插入的图片(如:武器外观)必须是32位带alpha通道的BMP图,武器主体不包括背景必须小于256色,选中武器主体部分后,在背景建立与主体一致的alpha通道。背景一定要是黑色,通道要白色,因为黑色是不透明的,而白色可以让主体透过可见。武器的主体部分必须是来自8位RGB色的图片。”
如果你能看懂以下说明,会更加了解如何制作
Creating the images in Adobe Photoshop.
==========================================
Imported images must be a 32 bit bitmaps with alpha channel. The number of colors in the image, not including background
color, mustn't exceed 256 colors. Prepare an image and select these pixels, which have to be visible. Save the selection as
alpha channel. White color in alpha channel means that image's pixels aren't transparent and a black means that background's
color fully covers image's pixels. You can create a half transparent pixels to smooth image's edges shading a little white
edges in alpha channel, don't brighten up the black color because it's a background's mask. The alpha channel helps
selecting the image, the best way to do this is to use a tool called "Wand". First you have to set parameters for this tool,
turn off "Anti-aliased", "Contiguous" and set tolerance to 1. Now use the wand on a black color in alpha channel and menu
option "Select->Inverse".
When you prepare all images for collection (precisely for one of collection's layers), create a bitmap of a large size
and RGB type, of color for background taken from one of prepared images. Copy all these images and paste them to the large
image. Change large image's type to 8 bpp with colors' palette then all images will be having the same palette. Now you
have two ways for preparing 32 bpp bitmaps to import them to the program:
1. Select each image in the large image (you can copy the alpha channel to this image, create the selection and move it
on proper position) and copy it to the image from which you cut it.
2. Export colors' palette. Load each bitmap and convert it to 8 bpp bitmap, use option "Custom..." and load the palette
from file, now convert bitmap to RGB type.
Setting the properties of the alpha channel.
--------------------------------------------
Double click on alpha channel, in the field "Color" choose a color for the background, in the field "Opacity" type 100%.
Now if you click on the channel visibility field, background color will change and transparent pixels will be visible.
好,你自己做的与M16同属性的 ,记住同属性的(如不同,则导入失败或不清晰)BMP图(你喜欢的步枪图)导入替换原M16图,另存。。。。用FT TOOL做枪,并放到游戏里试验。
小组作业:
每人做一支自己喜欢的,BOS没有的枪。 |
|