paint_sphere problem with visibility

Avatar
PortalCombat
306 Posts
Posted Oct 24, 2011
Hey guys.

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

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Oct 24, 2011
Replied 5 hours later
Paint needs a full compile for paint to appear properly.
Try building cubemaps and/or using extra sprayers or paint bombs in the areas that appear to be unaffected.
Avatar
PortalCombat
306 Posts
Posted Oct 25, 2011
Replied 18 hours later

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!

http://imageshack.us/photo/my-images/827/speedgel3.jpg||

Avatar
ChickenMobile
2,460 Posts
Posted Oct 26, 2011
Replied 15 hours later
You know if you are having extreme trouble, try decompiling the map you are basing it off. As long as you don't copy anything from their map I'm sure they won't mind.
Avatar
PortalCombat
306 Posts
Posted Oct 26, 2011
Replied 1 hour later
Ok, so I decompiled the Gelocity map of Raidix now.
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. :sad:

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.

Avatar
josepezdj
2,386 Posts
Posted Oct 26, 2011
Replied 31 minutes later
Light is very important for the paint to get visible.

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:

9cSCeJ4Th4o

Hope that helps.

Avatar
PortalCombat
306 Posts
Posted Oct 26, 2011
Replied 40 minutes later
Thanks for your answer, I will try the thing with the lights.
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.

Avatar
Vordwann
767 Posts
Posted Oct 26, 2011
Replied 10 minutes later
You need light to see gel on surfaces. Also, WHY would you want to paint the WHOLE map?!
Avatar
PortalCombat
306 Posts
Posted Oct 26, 2011
Replied 4 minutes later

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.

Avatar
Raidix
31 Posts
Posted Oct 26, 2011
Replied 6 hours later

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... :wink:
Well, I used the "info_paint_sprayer" because I didn't know any better - paint_sphere should work as well or even better. :smile:
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

Avatar
PortalCombat
306 Posts
Posted Oct 26, 2011
Replied 1 hour later

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?
Avatar
Raidix
31 Posts
Posted Oct 26, 2011
Replied 53 minutes later

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.

Avatar
PortalCombat
306 Posts
Posted Oct 26, 2011
Replied 54 minutes later
I just created an simple test map and now Iam really confused. :sad:

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. :sad:

Avatar
Vordwann
767 Posts
Posted Oct 26, 2011
Replied 1 hour later
If you did it on map spawn and you started in an elevator I don't think the player should be able to see anything fishy by the time they get in the room...
Avatar
PortalCombat
306 Posts
Posted Oct 27, 2011
Replied 20 hours later
ok, I have tested some more stuff and I dont understand the problem. :sad:

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. :sad:

Avatar
Lpfreaky90
2,842 Posts
Posted Oct 28, 2011
Replied 13 hours later
maybe upload the vmf and let someone look at it?
Avatar
PortalCombat
306 Posts
Posted Oct 29, 2011
Replied 23 hours later
ok, I have uploaded my files to WIP section.
Could someone look into my vmfs, please?

[beta] gel race tunnel

&

Avatar
PortalCombat
306 Posts
Posted Oct 31, 2011
Replied 1 day later
Could someone download my Map from WIP-Section and look into my vmf's, please?
I really want to know, what's the problem with my map. :sad:
Avatar
baca25
342 Posts
Posted Oct 31, 2011
Replied 25 minutes later
Did you turn "Paint in map" to "Yes" in the map properties...? Paint doesn't show when that isn't enabled, but you probably did that.
If not, go to "Map" ---> "Map Properties" -----> turn "Paint in map" to "Yes"
Advertisement
Registered users don’t see ads! Register now!
Avatar
PortalCombat
306 Posts
Posted Nov 02, 2011
Replied 2 days later
push!

Some people already downloaded my map, but no comments yet. :sad:

Could someone please look into my vmf's?
Download: [beta] gel race tunnel