Current time: 29.04.2024, 17:23 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Creating .def, help
Author Message
Valery Offline

Posts: 2196
Post: #20

Quote Darkloke:
1. Open it in Photoshop (i suspect u are using it).
2. Go to Image - Mode - Indexed Color. Now u are in Indexed Colors
Menu.
3. In the "palette" combo box box select any scheme u like (i prefer to use
local adaptive variant, but u could try other ones).
4. Set colors to 256.
5. In "forced" combo box select "custom". In newly opened menu click
"load" and load the file i attached.

As note - PS generates palette file automatically, so forced color
option allow u to add colors which not present on the image - such way
u can be sure that u have added in the palette system colors, that
required for heroes.

6, Uncheck "transparency" option.
7. Select dither as none (though it not necessary - u can play with
settings to see whats changing).

Press ok. Thats all - palette created and applied to ur image, which
is now in 256 colors (after saving it - u could see the difference in
the size).

Now u can go in Image - Mode - Color table to see ur palette and
saving it into external file for using it for ur other images.
REMEMBER - all images in ur set (unit for example) must have the same
palette.

Ah, one more thing - be sure to check that ur cyan background has (0;
255; 255 color) - now it has (130;254;254) - in that case u wont see
transparency in the game.


Ok, I tried whole process and I got a 154ko image instead of 600Ko. Now I have some questions:

1) I changed the image to indexed colors. Does it means I have to repeat the whole process for EVERY frame I import from WoW model view?
I never used Photoshop in the process: here how I did it- create frames from modelviewer and place them in different folders and renamed, then opened straight the def tool and created the def.
4) Changed colors to 256
5) Where is forced combo options?
Thats is how I did:
Image: image1wms.jpg
Then loaded your palette but it gives this:
Image: image2uru.jpg
6) I unchecked transparency when choosing indexed colors, thats right?

I also changed the cyan background to (0; 255; 255 color) .
(This post was last modified: 22.08.2009 22:07 by Valery.)
22.08.2009 22:00
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Creating .def, help - Valery - 21.08.2009, 01:52
RE: Creating .def, help - FCst1 - 21.08.2009, 02:55
RE: Creating .def, help - Valery - 21.08.2009, 02:59
RE: Creating .def, help - Deo - 21.08.2009, 09:03
RE: Creating .def, help - Darkloke - 21.08.2009, 10:55
RE: Creating .def, help - Valery - 21.08.2009, 13:48
RE: Creating .def, help - Darkloke - 21.08.2009, 21:57
RE: Creating .def, help - Valery - 21.08.2009, 16:30
RE: Creating .def, help - Valery - 21.08.2009, 22:10
RE: Creating .def, help - Darkloke - 22.08.2009, 00:03
RE: Creating .def, help - Valery - 21.08.2009, 23:39
RE: Creating .def, help - Valery - 22.08.2009, 00:25
RE: Creating .def, help - Darkloke - 22.08.2009, 01:07
RE: Creating .def, help - GrayFace - 23.08.2009, 16:11
RE: Creating .def, help - Valery - 22.08.2009, 02:20
RE: Creating .def, help - Darkloke - 22.08.2009, 02:37
RE: Creating .def, help - FCst1 - 22.08.2009, 02:54
RE: Creating .def, help - Valery - 22.08.2009, 03:03
RE: Creating .def, help - Valery - 22.08.2009, 19:22
RE: Creating .def, help - FCst1 - 22.08.2009, 20:00
RE: Creating .def, help - Valery - 22.08.2009 22:00
RE: Creating .def, help - Valery - 23.08.2009, 00:47
RE: Creating .def, help - Valery - 23.08.2009, 16:16
RE: Creating .def, help - Valery - 24.08.2009, 07:15
RE: Creating .def, help - Corwin - 24.08.2009, 10:37
RE: Creating .def, help - Valery - 24.08.2009, 11:13
RE: Creating .def, help - Corwin - 24.08.2009, 14:39
RE: Creating .def, help - GrayFace - 24.08.2009, 15:31
RE: Creating .def, help - Valery - 24.08.2009, 15:32
RE: Creating .def, help - Valery - 24.08.2009, 16:41
RE: Creating .def, help - GrayFace - 24.08.2009, 18:12
RE: Creating .def, help - Valery - 24.08.2009, 23:48
RE: Creating .def, help - Valery - 25.08.2009, 03:51
RE: Creating .def, help - GrayFace - 25.08.2009, 10:28
RE: Creating .def, help - Valery - 25.08.2009, 11:06
RE: Creating .def, help - GrayFace - 25.08.2009, 12:04
RE: Creating .def, help - Valery - 25.08.2009, 19:47
RE: Creating .def, help - GrayFace - 25.08.2009, 20:01
RE: Creating .def, help - Valery - 26.08.2009, 03:37
RE: Creating .def, help - Valery - 26.08.2009, 21:06
RE: Creating .def, help - GhostManSD - 26.08.2009, 21:36
RE: Creating .def, help - Valery - 28.08.2009, 00:07
RE: Creating .def, help - Vlaad - 14.09.2009, 09:49
RE: Creating .def, help - solitaire345 - 14.09.2009, 22:14
RE: Creating .def, help - Valery - 17.09.2009, 16:51
RE: Creating .def, help - solitaire345 - 18.09.2009, 22:39
RE: Creating .def, help - Valery - 18.09.2009, 22:51
RE: Creating .def, help - solitaire345 - 19.09.2009, 00:01
RE: Creating .def, help - Valery - 19.09.2009, 14:37
RE: Creating .def, help - Qwertyus - 21.09.2009, 02:49
RE: Creating .def, help - Valery - 24.12.2009, 22:36
RE: Creating .def, help - GrayFace - 25.12.2009, 01:31
RE: Creating .def, help - Valery - 25.12.2009, 02:12

Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group