Image Colormaps

Information and tutorials related to modding BF2.
Priby
Posts: 2379
Joined: 2008-06-21 18:41

Re: [Tutorial] Image Colormaps

Post by Priby »

My map shows up horizontally mirrored even if i redo it with a horizontally flipped image.
Do i have to delete something from my first try?

Edit: Problem solved.
Burton wrote:can anyone help, tried all sorts of different things, but I keep on getting this:

Image
Type:
E: command

than:
CD E:\Program Files...\...\...\bf2_tpaint

than:
bf2_tsplit.exe null colorbig.tga
Last edited by Priby on 2009-10-22 17:06, edited 1 time in total.
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Tutorial] Image Colormaps

Post by HughJass »

ok I had this working on 2km but have no idea why it does not work now.

alright, i type in CD C:\Hainan\bf2_tpaint (moved it because I have all my mod stuff on D :)
that works
then I typine in bf2_tsplit.exe null colorbig.tga
it writes some stuff, but I find no colormaps folder in the bf2_tpaint folder.

anyone?
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Tutorial] Image Colormaps

Post by Rhino »

probaly because the file is called colourbig.tga and not colorbig.tga ;)
Image
HughJass
Posts: 2599
Joined: 2007-10-14 03:55

Re: [Tutorial] Image Colormaps

Post by HughJass »

'[R-DEV wrote:Rhino;1192686']probaly because the file is called colourbig.tga and not colorbig.tga ;)
changed that, still the same.
Image
gazzthompson
Posts: 8012
Joined: 2007-01-12 19:05

Re: [Tutorial] Image Colormaps

Post by gazzthompson »

followed the guide, but cant seem to get the cmd prompt to do anything

http://i50.tinypic.com/vdzfq0.jpg

any ideas?

got my Tpaint folder in my levels folder, got the colormap.tga in the tpaint folder, made a "colormaps" folder inside the tpaint folder . got the correct path using the above drag and drop.
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Tutorial] Image Colormaps

Post by Amok@ndy »

the easiest way is to name the file colourbig.tga make it read-only and then just use the bf2_tpaint.exe
Image
gazzthompson
Posts: 8012
Joined: 2007-01-12 19:05

Re: [Tutorial] Image Colormaps

Post by gazzthompson »

and how do i go about using the bf2_tpaint.exe to do it?
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Tutorial] Image Colormaps

Post by Amok@ndy »

gazzthompson wrote:and how do i go about using the bf2_tpaint.exe to do it?
lol watch my post above ;)
Image
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Tutorial] Image Colormaps

Post by Rabbit »

When I go into photoshop to adjust the pixel size I go to Image>resize>Image size.

when I get there there is a Section saying Pixel dimensions with the pixel size, But I can't resize it there. Under it it says "Document size" with 3 areas I can change being "width" "height" "resolution" and with the units of measurement there is no "pixels". Am I going to the wrong place to change the pixels or what?
Image

AfSoccer "I just don't see the natural talent."
Image
doop-de-doo
Posts: 827
Joined: 2009-02-27 12:50

Re: [Tutorial] Image Colormaps

Post by doop-de-doo »

Navegate to the folder where you copied Tpaint/Tsplit.

Right-click the bf2_Tsplit.exe file and select "Create Shortcut".

Right-click your new shortcut. Choose Properties.

Select the "Shortcut" tab.

In the field for "Target", at the very end of the text (after the final " symbol), add null colorbig.tga

Apply.


Run the shortcut.

:evil: B4TM4N :evil:
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Tutorial] Image Colormaps

Post by Rudd »

you can just set your colourmap to 4096^2 and then set it to read only, then run tpaint as normal ensuring it doesnt delete temp files.

also guys if you want to put a reference down on your terrain that you won't then have to pain over and therefore destroy...you can save your reference as a groundhemi.dds, note you don't need to vetically invert your reference for this.

the groundhemi is used to reflect light on to gameplay objects, but until your map is ready for public consumption you can use it how I like to use it.

Take your reference, be it a map or whatever and set it to 1024^2 then save it as a 32bit 8,8,8,8 1/1 mip maps. put it in your main map folder.

Then load up your map, click render, hemimap mode, BAM! there's your reference.
Image
redstorm
Posts: 1
Joined: 2011-04-10 22:19

Re: [Tutorial] Image Colormaps

Post by redstorm »

very nice !!!
arjan
Posts: 1865
Joined: 2007-04-21 12:32

Re: [Tutorial] Image Colormaps

Post by arjan »

Image

Im getting this, any ideas what I'm doing wrong?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Tutorial] Image Colormaps

Post by Rhino »

If your trying to follow this tut, your not following it correctly and your using tpaint instead of tsplit...

If your problem isn't related to this tut, asking why oyur colourmap looks odd its because you've checked "mirror colour texture" which is why you have that odd mirror effect...
Image
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Tutorial] Image Colormaps

Post by Rudd »

if your having trouble with tsplit just make your reference teh colourbig.tga set as READ ONLY at resolution 4096x4096 and run t-paint and it'll paint that image into the images, remember to flip the image vertically
Image
arjan
Posts: 1865
Joined: 2007-04-21 12:32

Re: [Tutorial] Image Colormaps

Post by arjan »

Thanks, it works now.
But I have no clue how I did it, hah.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [Tutorial] Image Colormaps

Post by Rhino »

The read only way stops tpaint from making its own image (which you showed above) but I wouldn't encourage the read-only way personally since while its less confusing in the short run, its more confusing in the long run and you don't really understand how the program works, + you spend a bit longer doing the task than you would using tsplit directly :p
Image
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Tutorial] Image Colormaps

Post by Rudd »

People's brains work in different ways :) I can do both, but I prefer the read only way.
Image
arjan
Posts: 1865
Joined: 2007-04-21 12:32

Re: [Tutorial] Image Colormaps

Post by arjan »

Haha, well.. I managed to get this thing working in the past as well but I always find out by accident I got it working so never know how to do it. :p

So I guess I make the picture the right size and get it read only.. xD
Post Reply

Return to “Modding Tutorials”