Forum

> > CS2D > Scripts > Image Glow ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Image Glow ?

3 replies
To the start Previous 1 Next To the start

old Image Glow ?

-DIE Wolf-
User Off Offline

Quote
Hey all! Look at this simple scripts :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
bla.......

hat = {}
for i = 1, 32 do
     hat[i] = 0
end

addhook("say","sayhat")
function sayhat(id,text)
	if text = !hats  ------- I did this part right. Dont ask about it. Just think if we say !hats then :
			freeimage(hat[id])
	hat[id]=image("gfx/sprites/hat.bmp",0,0,100+i)
end
end

So you got ur hat. But how can edit the blend / colors/ size ?

old Re: Image Glow ?

XoOt
Super User Off Offline

Quote
how about using a photo editing software for that stuff, would be the simplest way if you safe your files as interleaced .png
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview