Forum

> > CS2D > Maps/Editor > How to make pink color invisible?
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English How to make pink color invisible?

5 replies
To the start Previous 1 Next To the start

old How to make pink color invisible?

StirlizZ-Fapicon
Super User Playing CS2D

Quote
Well, I playing this game since 2007-8 I guess, but still don`t know how to make pink part of the sprite gone using env_sprite settings. Any ideas?

Screenshot is here:
https://sun9-5.userapi.com/impg/36JhZ75n4fNoLHzZEVXR1pWBloWHqgAt6J5hdg/fry1StaYmFM.jpg

Spoiler >

old Re: How to make pink color invisible?

T-69
User Off Offline

Quote
if i remember correctly, cs2d treats pink as invisible only with .bmp files, and treats it as any other colour with .png files. otherwise, with sprites, you can make the background black, and then set the property to "masked", and the mask to four i believe. that SHOULD make it transparent.

old Re: How to make pink color invisible?

Mami Tomoe
User Off Offline

Quote
user StirlizZ-Fapicon has written
Well, I playing this game since 2007-8 I guess, but still don`t know how to make pink part of the sprite gone using env_sprite settings. Any ideas?

Screenshot is here:
https://sun9-5.userapi.com/impg/36JhZ75n4fNoLHzZEVXR1pWBloWHqgAt6J5hdg/fry1StaYmFM.jpg

Spoiler >


Try using BMP images.

old Re: How to make pink color invisible?

Lobwver
User Off Offline

Quote
You don't use env_sprite, you use env_image.
Have in mind you CAN'T rotate or manipulate env_images in any way, super old CS2D maps used this before, I believe env_sprite didn't exist back then.

old Re: How to make pink color invisible?

DC
Admin Off Offline

Quote
Here are your options:
• Recommended: Just use PNG with an alpha channel because yes, using a magenta masking color is indeed cringe. Alpha channel PNG should just work with env_sprite default settings.
• If you really have to use the magenta masking color but don't need scaling and rotation, just use env_image instead of env_sprite and it will work automatically as well.
• If you REALLY have to use env_sprite and the magenta masking color then good luck. I'm pretty sure that it was somehow possible to make it work via some weird combination of "blend mode", "fx mode" and "mask" but I don't remember how. Also I'm not sure if it's still working at all.

btw: That the image doesn't work is most likely an issue caused by the image hosting service you're using.
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview