Forum

> > CS2D > Scripts > Masking tags for image function
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Masking tags for image function

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Masking tags for image function

EngiN33R
Moderator Off Offline

Zitieren
I've read the new description of the image Lua function, and there are these masking tags for masking magenta or black pixels. I can't figure out how to use those. When put inside the path string, that file isn't found; outside - unexpected character error. What do? Does it only work for tiles or something?

alt Re: Masking tags for image function

EngiN33R
Moderator Off Offline

Zitieren
No, I don't.

cs2d lua cmd image

1
2
image("gfx/weapons/awp.bmp"<m>,512,512,3) --doesn't work
image("gfx/weapons/awp.bmp<m>",512,512,3) --doesn't work either

Read exactly what I post before trying to answer.

alt Re: Masking tags for image function

DC
Admin Off Offline

Zitieren
I should test new features before releasing - I forgot to test this one unfortunately.
sorry, this will work with the next update (which will not take several months to be released)

the <tile:X> thing should work though.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht