Forum

> > CS2D > General > env_sprite transparency ( mask )
Forums overviewCS2D overviewGeneral overviewLog in to reply

English env_sprite transparency ( mask )

6 replies
To the start Previous 1 Next To the start

old env_sprite transparency ( mask )

SniperME
User Off Offline

Quote
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.

old Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Quote
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.
edited 1×, last 22.06.12 02:32:19 pm

old Re: env_sprite transparency ( mask )

Jela331
User Off Offline

Quote
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.

old Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Quote
user Jela331 has written
@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.

old Re: env_sprite transparency ( mask )

Yates
Reviewer Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview