Preventing Painting on prop_weighted_cube/Cleaning it
I recently got back to re working my Gel cubes as you saw in A Little Higher. I've made it use a different model, and set it as an instance so I can edit the type and color with a func_instance_pram.
However, the biggest issue with my Gel cubes is still not resolved. The cubes can paint themselves and this is annoying on all levels; it's the number one complaint of A Little Higher. I tried to fix it with a trigger_paint_cleanser around it but that prevents other cubes from painting it. The issue is if the cube is moving and shooting paint, the gel spawns in the cube.
I've tried the ChangePaintType input, (But that is apparently broken.) tired spawning water inside the cube if OnPainted but nothing seems to work. This is even a bigger deal since the custom model can't do the gel decal.
My issue is, how do I prevent self painting with I/O or vscripts? I can't spawn the gel cubes out of droppers anymore due to the model replacement...
Thanks.
But I don't know if there's a way. Try putting a paint cleanser just behind the sprayer that's enabled at the same time, so if two cubes are going at once it can only be coated from the side?
... and make it paint the cube right after the cube has painted something. This would clean it. If you set the radius close enough to the cube size, it would almost only affect the cube not the surrounding stuff.
In the case you can't parent it naturally (not even disabling the SmartEdit and adding a new keyvalue parentname), you could use vscripting to locate each cube and teleport the sphere to it to clean the cube each time the cube fires paint.... Or yuo can use an info_paint_sprayer instead.
Orrr.... you could parent an env_entity_maker maybe to the cube that spawns the paint_sphere 