Forum

> > CS2D > General > env_sprite transparency ( mask )
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch env_sprite transparency ( mask )

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt env_sprite transparency ( mask )

SniperME
User Off Offline

Zitieren
Ok i started a new map and I wanted to add some soldier bmp. images via env_sprite but I cant remove the pink colour. I tried all mask numbers but the pink wont disapear i knew the 4 is black but that doesnt helps.
Also env_Image auto-deletes the Pink colour but i cant rotate what is really really shit. So is there any "mask" to remove the pink or some other way ?

EDIT: Also if there is a White remove mask that would help pretty much.

alt Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Zitieren
Make the background black and use the option Mask displayed at the bottom right corner of the Env_Sprite entity. Don't forget to set it to 4.

If you don't want to do this use Paint.NET or any other program where if you completely delete the background it won't be shown at all. I use .png for this.
1× editiert, zuletzt 22.06.12 14:32:19

alt Re: env_sprite transparency ( mask )

Jela331
User Off Offline

Zitieren
Just do this. Open the "soldier.bmp" image and make the black outline a bit more lighter, just a little bit and color the pink background into black.

@user Yates:
But, the outline will disappear if he colors the background black without doing anything else.

alt Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Zitieren
user Jela331 hat geschrieben
@user Yates:
But, the outline will disappear if he colors the background black without doing anything else.

I edited my post. But you can just change the outlining of the image to RGB, 001 000 000. Remember the black has to be completely black, so this method will be seen as black but won't be removed by the mask option.

alt Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Zitieren
No. Maybe DC will let you set the exact RGB which will be removed by the mask option. But this is an idea for the next CS2D update, not sure if this has already been posted so you can quote this and post it there.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht