SRL Archive - OSR Intermediate Scripting Tutorials

PhotoShop and Bitmap making for Scar.


WT-Fakawi

2006-05-29 18:23:10

For this brief tut, I presume you all have PhotoShop. If not, then skip this tut.

So you want to create Bitmaps for Scar? I will use a Symbol from FindSymbol as example. Not my credits, but stupid3ooo's.


What we need first is a grid.










Set Grid to these values.










Next, copy a RS picture (Select RS-Window/press Alt-prt Scr/goto Photoshop, press crtl-N/ hit enter and press crtl v) and set grid on using
crtl-' and zoom in using z








Now select the part you need using m crop the part you need using crop…









Yes. Bitmap's ready!









Now, do Save As… and Select .BMP…











…and set the values to 32 bits












Done. You will never miss a pixel again. You can create simple pixelaccurate Bitmaps from anything that is static.





And now for the FindSymbol Trick:
count till eight: ColorPick that color and use that as reference for FindSymbol.










[php] if (lowercase(Name) = 'water source') or (lowercase(Name) = 'water') then
begin
Bitmap := BitmapFromString(15, 5, 'z78DAA5CF410A80300C44' +
'D12B25B6A964E9907AFF2329CC42A5448A12F874111EA9A89C830' +
'A438C6DB646B7A51BF6C27A75F3C8F659D16BE665F68F7C37B121' +
'3AF8162D2DE2FDF21999E628B3DFE4C7DF1339BB9CE601EA0F684' +
'0');
Color := 14497281; <—- REFCOLOR: PIXEL 8,0 from upperright
end;[/php]


Small tut, easiest way for me to explain.

Keen

2006-05-31 23:07:53

Nice tutorial Faka. ;)

I was wondering what you were using to get that gridded map.
I seen It in your dynamic flag thread.

WhiteShadow

2006-06-01 00:05:51

So that's how you did it. Earlier I was wondering how you got those sort of pictures

Bebe

2006-06-01 00:08:19

Can't you people read Fakawi's thought!?

or am I the only one…… :eek:

WhiteShadow

2006-06-01 00:16:35

From: Bebemycat2
Can't you people read Fakawi's thought!?

or am I the only one…… :eek:


o_0, Psychic? ;]

The Un-Named

2006-06-01 09:56:43

I can't seem to get the grid. :rolleyes:

Cheesehunk

2006-06-01 19:11:53

From: Bebemycat2
Can't you people read Fakawi's thought!?

or am I the only one…… :eek:

You aren't the only one!:rolleyes:

shaunthasheep

2006-06-01 19:42:31

i coudlnt get it either, i just use paint and zoom close in, works like a charm with a couple crops.

Ares

2006-06-01 20:11:54

CS2 only maybe, it appears on mine :D

BenLand100

2006-06-01 21:38:51

If you're having trouble seeing the grid go to:
View –> Show –> Grid
and check it ;)

The Un-Named

2006-06-02 06:30:13

From: Ares
CS2 only maybe, it appears on mine :D


I got CS2. :rolleyes:

Thanks ben!

Mr. Freeweed

2006-06-06 16:13:50

If you need photoshop cs2 contact me on msn. msn should be in my profile

phantombmx

2006-06-06 17:45:18

PSP (paint shop pro) 9 ;)

ultra zoom and a cropping tool that lets you specify size of crop then just drag and click a button :D

XxKanexX

2006-06-08 04:04:20

MS Paint is the easiest and quickest way for me. Just zoom and crop. ;)

leader

2006-06-08 04:19:02

I have CS2. I don't know how to do shit.

Bam Bam

2006-06-09 19:37:21

In MSPaint

To Get a Grid:
View >–> Zoom >–> Show Grid

Or Hit:
Ctrl + G



Bam Bam

QQu

2006-06-09 20:14:47

Fakawi, you are superior! :D

<3

newguy45

2006-08-27 22:15:43

Shit the pics are gone

Wanted

2007-06-29 00:01:43

Awesome!

Finally a good use for this software I never used…

TY WT-Fawaki

Garrett

2007-07-01 15:21:11

Thanks. Very nice tutorial.

sweetleaf

2007-07-12 01:53:32

thanks.. but could re-up the pics again? thanks : )

Zeta

2007-07-31 02:12:12

Yeah the pics are x's for me.

Wizzup?

2007-07-31 03:38:51

From: Keen
Nice tutorial Faka. ;)

I was wondering what you were using to get that gridded map.
I seen It in your dynamic flag thread.


Grid is Ctlr + " I think..

Shuttleu

2008-04-13 14:46:03

nooooooooooo…….
i was going to use this tut but there is no pics so now i don't know what to do

~shut

Torrent of Flame

2008-04-13 14:52:38

07-31-2007, 08:38 AM

DONT gravedig!

PsychicDemon

2009-02-13 10:59:59

Its the same for any other program like paintshop pro. or even paint :p
All you do is cut the image you want, I believe that its easier with photoshop. but it is possible with paint.

Heres how to do it with paint:

press (windows start key) + R
run command window will come up and type: mspaint
easy way to start it(windows xp)
then open your image you want to decrease.

Do this.
PS:
Make sure u zoom in and select the exact pixel as you want.
you dont want it to search for trash so take more time on it.
Use zoom tool to left and select (1x1).

And save as: .bmp
(else scar cant read it.)

If any questions feel free to ask me.

WT-Fakawi

2009-12-13 07:38:17

Fixed the broken links.

jimthesoundman

2010-01-04 14:08:47

An alternative program that can be used is Irfanview. This is a REALLY easy to use graphics viewer, and it's totally FREE! I've used it for like 10 years and I love it for simple graphics stuff.
Go to www.irfanview.com to download it.
To make a bitmap, just do a screen cap using the PRT SC key on your keyboard, then open Irfanview and do EDIT>PASTE (or CTRL-V will work also). You should see the screen cap in Irfanview.
Then once you find the icon you want to save, click and hold your mouse to drag a box around the symbol. If it doesn't come out correct, hit the escape key to try again. It doesn't have to be exact. Once you have the box around the symbol, then click Edit>Crop Selection (or use Ctrl-Y) to crop out the part of the picture you don't need.
Now, you should see two buttons at the top of irfanview that look like magnifying glasses and one has a plus sign, that will let you zoom in. Once you have zoomed in, then you want to crop it again so that you can get it as small as possible, just repeat the steps above, drag a box around the symbol then crop. You may have to zoom in again. You can also hold the mouse over the croplines to adjust them in or out to get them exactly where you want them. Now you should have the symbol with as little background as possible. Hit the F12 key or do Edit>Show Paint Dialog to bring up the paint toolbox.
At the bottom of the paint toolbox there is a pair of rectangles, click on either one and it will bring up the color picker. Pick black (Usually bottom left of the basic colors) then click okay. Now look at the two colors at the bottom of the paint toolbox, the black should be in front of whatever the other color is, it should be overlapping, if it isn't use the two headed arrow that will let you flipflop the colors so that the black is now in front.
Now click the paintbrush tool at the top right of the paint toolbox. It looks like a brush obviously. Now if you are zoomed way in on your picture, you can use the paintbrush to turn any remaining background colors to black. Once you have them all blacked out, you can click on File>Save As, then choose a name for the file, choose BMP as type of file to save, and then choose a location where you want to save it.

This may seem like a lot of steps but after you do it a couple times you will be amazed at how quickly you can do it. It only takes me about 10 or 15 seconds to do one.

Wizzup?

2010-01-04 14:19:39

I would recommend the GIMP now these days.