Please or Register to create posts and topics.

erasing paint with triggers

Page 1 of 3Next

How do you, using a trigger (or whatever entity,) to erase paint that it ALREADY painted on the walls? I have a bit in my map where a bunch of sprinklers turn on to wash away the floor, I've got the particles and sounds and everything but it seems trigger portal cleansers (EDIT: I meant to say trigger_paint_cleanser) only effect the paint blobs, not the walls.

I know this can be done, cause right at the finale of the main story campaign, in Wheatley's chamber, the sprinklers turn on and the paint on the floor does the cool wash away dissolve. So how might I go about doing that?

Trigger_Paint_Cleanser?

My Maps:
[spoiler][SP] Alternate[/spoiler]
Vordwann wrote:
Trigger_Paint_Cleanser?

nope doesn't work after the paint is already on the wall

How big is the area? I got this to work mildy well with water sprayers around the effected area that is triggered for a split second through I/O when you want it cleaned. I could imagine this wouldn't work to well with a larger area, or maybe it would IDK

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."
iWork925 wrote:
I got this to work mildy well with water sprayers around the effected area that is triggered for a split second through I/O when

Noooooo. Never use sprayers to pre-paint things. It can work, but with larger areas its hard to control, and may multiple sprayers are needed.

To apply paint on a surface or an area, I use PAINT_SPHERE. You can set the paint radius and paint type, and with a logic_auto (onmapspawn) you can tell it to "Paint".
If you want to erase something, just set the radius big, the paint type to "Erase"...
when I use it to paint, I usually tell it to Paint several times (3 tims, waiting 0.1 sec between).
BTW its a good idea to use this paint_sphere with 0.5 alpha and 64 radius under paint droppers so the player can see some paint drop on the floor and knows what type of paint that dropper drops.

-= Check out my maps: workshop, and their .vmf sources: homepage =-
DaMaGepy wrote:
Noooooo. Never use sprayers to pre-paint things.

sp_a3_jump_intro.bsp (provided with portal 2)
Image

Will T. wrote:
DO: Study and utilize what you like best about Valve's maps. Don't steal their stuff, but if you like what they've done somewhere, examine it closely to learn how they did it. Remember that everything you do is utilizing Valve-designed test elements. Also remember that the majority of people playing your map will be expecting a challenge similar to what they've already experienced, rather than something completely different from the Valve-made levels, and the introduction of too much "outside-the-box" thinking as part of a solution may intimidate and drive people away unnecessarily.
Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."
DaMaGepy wrote:
Ah, double posted and cant delete the second one. So I fill this message with Paint Paint Paint Paint.... :notwant:

Normally I'd just delete the post, but that's too funny.

"Games are made out of smaller games ? turtles all the way down, until you hit the game that is so trivial and stupid it isn?t deserving of the name." --Raph Koster

Valve maps were made by different mappers, and even the official ones use weird and overcomplicated methods for stuffs. Or maybe the paint_sphere was added later in development, but definetely the best way to place paint in an area, and the radius can be huuuuge. Easier than setting up sprayers with their properties (and the engine must launch blobs for all of them)...

-= Check out my maps: workshop, and their .vmf sources: homepage =-
DaMaGepy wrote:
maybe the paint_sphere was added later in development

This is huge. I imagine a lot of the maps were fixed up (i.e. jury rigged) from earlier maps, not scratched and rebuilt as the game evolved.

"Games are made out of smaller games ? turtles all the way down, until you hit the game that is so trivial and stupid it isn?t deserving of the name." --Raph Koster
Hober wrote:
DaMaGepy wrote:
Ah, double posted and cant delete the second one. So I fill this message with Paint Paint Paint Paint.... :notwant:

Normally I'd just delete the post, but that's too funny.

My apologies, I deleted the post before I saw you write this.

Ah well, the quote lives on I suppose.

Image
Now with 100% more inline comments!
Page 1 of 3Next