Page 1 of 6

Image Colormaps

Posted: 2007-05-30 04:59
by Desertfox
Irontaxi said I should do this tutorial so I could become known throughout the project reality kingdom! So here is how to set up a image as your colormap so you can realistic layouts etc.

1 - First, back up your level just in case something goes wrong and then download TPaint from

http://tpaint.alffx.nl/

2 - Download and extract TPaint into your main level folder.

Image

3 - Make a new folder inside bf2_tpaint and named it "colormaps" without the quotes.

Image

4 - For my image I will be using a unicorn.

Image

It helps to have a high quality image so when you make it bigger it is still good quality. Use the chart below to resize your image to fit your map.

256x2 = 1024x1024
512x2 = 2048x2048
1024x2 = 4096x4096
1024x4 = 4096x4096 [4KM]

5 - After its re-sized save it with the name 'colorbig' and as a .tga with 24 bits/pixels

Image
Image

6 - Now drop colorbig.tga into your level > MAP NAME > bf2_tpaint folder

Image

7 - Go to Start > Run > and type in CMD and you should see something like this.

Image

8 - Now type this in the cmd window

"CD C:\Program Files\EA GAMES\Battlefield 2\mods\pr_edit\levels\MAP NAME\bf2_tpaint

Make sure you use "\" instead of "/" and change pr_edit to the mod you are using and change MAP NAME to the name of your map ;)

9 - now type "bf2_tsplit null colorbig.tga" and it will do all the work for you.

10 - Close the cmd window and browse to "levels > your map > bf2_tpaint > colormaps"

11 - Copy the files inside that folder and drop them into "levels > your map > editor > colormaps" and overwrite.

12 - Load up your map in the editor!

Voila! Now you can have a perfect unicorn layout for your next insurgent map!

AD adds: Keep in mind the resulting image is mirrored, so if you want it to look normal, mirror it yourself first (vertically), so it looks normal in-game.

Image

Thanks for rhino and irontaxi :P

Posted: 2007-05-30 05:04
by Guerra norte
VERY NICE! But how do you view your entire terrain? I can't do that in the editor, it just fades away.

Posted: 2007-05-30 05:18
by Desertfox
Guerra norte wrote:VERY NICE! But how do you view your entire terrain? I can't do that in the editor, it just fades away.
Its a 512 so its small so you can zoom out farther.

Posted: 2007-05-30 06:18
by Outlawz7
You'll be my hero, Fox, if you give me a link for TPaint, that isnt broken or gives 404 error... :roll:

Posted: 2007-05-30 06:39
by Desertfox
Outlawz wrote:You'll be my hero, Fox, if you give me a link for TPaint, that isnt broken or gives 404 error... :roll:
The site I linked works perfectly. There is another one rocketf20 or something like that that doesn't but work but here is a direct link.

http://tpaint.alffx.nl/bf2_tpaint_v0.33.rar

Posted: 2007-05-30 17:51
by Outlawz7
My hero !! *gives a hug to Desertfox* :p

Thanks :)

Posted: 2007-05-31 20:33
by Desertfox
Sticky? =(

Posted: 2007-12-22 12:00
by Outlawz7
I'm using this again and stuck at number 8. What do you have to type exactly in there, because it constantly b*tches, how it can't find the path to neither >CD C:\Program Files, or C:\ or whatever the heck.

Posted: 2007-12-22 12:11
by Rhino
Image

if you dont want to do a colour map or detail map, then replace its filename with "null" and it wont split it.

Posted: 2007-12-22 12:13
by ZZEZ
CD C:\Program Files\EA GAMES\Battlefield 2\mods\pr_edit\levels\MAP NAME\bf2_tpaint

Lets say my BF is on E and the map I'm working on is called Golan_Heights - it should be like:
CD E:\Program Files\EA GAMES\Battlefield 2\mods\pr_edit\levels\Golan_Heights\bf2_tpaint

Posted: 2007-12-22 14:59
by duckhunt
Guerra norte wrote:VERY NICE! But how do you view your entire terrain? I can't do that in the editor, it just fades away.


1. render > toggle draw fog

2. tools > options > editor engine settings > set view distance to about a 2000ish

3. render > viewdistance > editor

Posted: 2007-12-22 15:02
by Rhino
[R-DEV]duckhunt wrote:1. render > toggle draw fog

2. tools > options > editor engine settings > set view distance to about a 2000ish

3. render > viewdistance > editor
your a little late with the reply ducky :p
05-30-2007

Posted: 2007-12-23 22:33
by LekyIRL
Sticky?

Posted: 2007-12-24 14:41
by Outlawz7
Also, a boo boo
9 - now type "bf2_tsplit null colorbig.tga" and it will do all the work for you.
when you should type in
9 - now type "bf2_tsplit.exe null colorbig.tga" and it will do all the work for you.
Thats what caused the problems.

Posted: 2007-12-29 04:05
by zangoo
what program did you use to convert the files to 24 bit .tga?

Posted: 2007-12-29 09:04
by Pride
Photoshop

Posted: 2008-02-05 17:25
by =Romagnolo=
1 questions...

I put the imagem from the google earth in my editor and it worked, but the image was inverted and turned over. What should I do ?

Posted: 2008-02-05 17:40
by Pride
open photoshop, flip it vertically, and resave.

Posted: 2008-02-10 11:53
by LekyIRL
What size should I use for a 1024x4 map?

Posted: 2008-02-10 12:21
by Rhino
2048x2048, same as a 1024x2