paint_sphere problem with visibility
Iam working on some kind of race map with speed gel - like Gelocity.
Everything works fine with the gel painting (paint_sphere), but for the client,
there is sometimes no visible paint, but it works as it would be painted correctly.
So the whole track is painted with the speed gel, but at some places you just cant
see it, when you are the client.
Now I just want to know if there is any way to prevent this little "bug".
Maybe there is some kind of client command to paint the whole map correctly.
Regards
PortalCombat
Edit: Could some please look into my vmf's?
Download: [beta] gel race tunnel
Try building cubemaps and/or using extra sprayers or paint bombs in the areas that appear to be unaffected.
hey there.
thanks for your answer, but it didn't help at all. ;(
I tried to use 'paint_sprayer' instead of 'paint_sphere', but they need too much time.
- about 1 min for the whole track (only client-sided)
- When I use the 'paint_sphere' about 35 percent of the map are not visible painted for the client.
- When I use the 'paint_sprayer' the client only have some small blobs of paint.
And of course I tried to compile the map with "final" compile mode, but no changes.
Cubemaps also dont change anything.
Any other ideas?
Edit:
some Screenshots:
||first few meters are ok - corner starts to disappear
http://imageshack.us/photo/my-images/833/speedgel1.jpg
here it paints the wall, but there should not be any paint at all
http://imageshack.us/photo/my-images/822/speedgel2.jpg
here you can see how it looks without paint - but when you run over it, there is paint!
But it doesn't help me with my problem.
He is using 'info_paint_sprayer', which is taking very long time to paint the map.
When I tried this method, it took me more than 60 seconds to paint the map for the client.
Thats why Iam using 'paint_sphere',which works very fast.
I know that 'info_paint_sprayer' paints the whole map correctly, but it takes so much time. 
So the question still is:
Why would 'paint_sphere' paint the gel 'invisible' at some places?
I will try something with a combination of both 'paint_sphere' and 'info_paint_sprayer',
but I still would like to know, where the big problem is with the invisible gel.
Maybe those parts in your map are not so lit up, they are darker or something...
Anyway, info_paint_sprayer can be set up to spray your required amount of paint: drops per second, size of the drops, etc.
For your reference:
Hope that helps.
Altough there is the same light at whole map, because its a construction kit for a race track.
Does it depend on brightness or is it just the presence of any light?
I already know how to set up the paint_sprayers, but it does not work on the client-side,
when you use so much sprayers at the same time.
But thanks anyway for the video - so I just got confirmation for my tries.
Iam currently working on some testing with both entities.
Vordwann wrote:
You need light to see gel on surfaces. Also, WHY would you want to paint the WHOLE map?!
Because it is a RACE track. The floor on the whole map gets painted.
Didn't you play Gelocity? Look at my screenshots above!
The light might not be the problem. There is light everywhere.
PortalCombat wrote:
Everything works fine with the gel painting (paint_sphere), but for the client,
there is sometimes no visible paint, but it works as it would be painted correctly.
Hey there!
This could be a question for me, because I had the same problem... 
Well, I used the "info_paint_sprayer" because I didn't know any better - paint_sphere should work as well or even better. 
I don't know how you used the paint_sphere exactly, but you should consider not to trigger too many of them at the same time. This obviously has something to do with the max_blobcount (=250) or max ent_data (?).
When too many of the paint sprayers or paint spheres are active at the same time so that the limit is exceeded, everything gets delayed. So finally the data transfer to the client will time out. So there finally is no visual effect of the gel.
Try to trigger only a few of the paint spheres at the same time.
Lighting or full/low compile do not affect this problem.
I hope this will help you ...
Regards
Raidix
Thanks for your answer Raidix!
Iam really happy about the fact, that you noticed the same problem. So its not just me.
I think this could really be the problem at all.
Because Iam really using great amount of 'paint_sphere' with the same name.
- But do you know how many 'paint_sphere' I can trigger at the same time?
- And which delay do I need between the next triggering of them?
PortalCombat wrote:
- But do you know how many 'paint_sphere' I can trigger at the same time?
- And which delay do I need between the next triggering of them?
No idea, sorry...
I didn't use any 'paint_sphere' entities in my map (because I didn't know them, lol) so I don't know how they work and how much they 'cost'. You will probably have to try and find out what works.
I will give those paint_spheres a try when I make another map like gelocity, so I will tell you as soon as I know better.
I just build up an large room with 250, 500, 750, and 1000 'paint_sphere' triggered
with several buttons and 1 button to trigger them all together.
Then I connected as client and pressed each button
=> all buttons, even the one with 2500 of them worked!
The whole map was painted with gel and all of it was visible.
Does it matter if the players are able to see the 'paint_sphere' in the moment of painting?
I just tried 1 big room without any extra walls in it.
So maybe with some more walls it would be different? ... will test it tomorrow. 
At my test map I have 4 rooms:
- 1 room with 1500 'paint_sphere' and 25 'info_paint_sprayer' and normal light
- 1 room with 1000 'pant_sphere' and no light (complete darkness)
- 1 room with some buttons to trigger the paint
When I press the button to activate all paint-entities it paints the whole map perfectly.
I dont know why it doesnt work on my race map. 
Could someone look into my vmfs, please?
&
I really want to know, what's the problem with my map.
If not, go to "Map" ---> "Map Properties" -----> turn "Paint in map" to "Yes"
Some people already downloaded my map, but no comments yet. 
Could someone please look into my vmf's?
Download: [beta] gel race tunnel