Clipping Problem

Avatar
clickaus
62 Posts
Posted Apr 09, 2012
Hi guys
I have two quick questions
I have tried to use Player Clip and just Clip but I still can't stop the cube from coming through the grate. I can stop turrets, players and models but not cubes

img

Also can someone tell me how to make a paint/gel mark on the floor without using a paint dropper. I saw it in a level but I can't get it to work. All I tried was an overlay but I couldn't bounce on it.

Thanks in advance

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 09, 2012
Replied 2 minutes later
Clipping cube: make a func_clip_vphysics
Paint: add an info_paint_sprayer; set the parameters so it uses the correct gel; use a logic_auto to disable it about a second after map spawn. That way the gel should be properly placed.

Ps: what grating did you use and how thick is it?

Avatar
BenVlodgi
633 Posts
Posted Apr 09, 2012
Replied 1 hour later
Also dont forget to allow paint in your map, you could also use a paint bomb if you want
for the clipping problem just put an invisible brush there... oh wait, IDR if those allow portals... dont think so... make sure your grate is like atleast 4 units wide, and clip should take care of that
Avatar
clickaus
62 Posts
Posted Apr 09, 2012
Replied 2 hours later
Thanks for the replies.
The grate I am using is this one - models/a4_destruction/fin4_fencegrate_dyn.md
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 09, 2012
Replied 26 minutes later

clickaus wrote:
Thanks for the replies.
The grate I am using is this one - models/a4_destruction/fin4_fencegrate_dyn.mdl

Explains: that model has no collision model; so it's not solid:

NO collision model:
img

WITH collision model:
img

EDIT: you could set collision model to bounding box but this won't allow portals either.

Avatar
clickaus
62 Posts
Posted Apr 10, 2012
Replied 1 hour later
That explains it.
I needed to be able to shoot portals through the grate so the func_clip_vphysics worked a treat.
:thumbup:
Avatar
Fracture
797 Posts
Posted May 11, 2012
Replied 30 days later
I would have used an invisible brush, but i guess that's just ME
Avatar
Nacimota
345 Posts
Posted May 11, 2012
Replied 1 hour later

clickaus wrote:
I have tried to use Player Clip and just Clip but I still can't stop the cube from coming through the grate.

Player Clip blocks player movement, Clip blocks player and NPC movement. Weighted Cubes are neither players nor NPCs.

Further reading: https://developer.valvesoftware.com/wiki/Tool_textures

Advertisement
Registered users don’t see ads! Register now!
Avatar
Fracture
797 Posts
Posted May 11, 2012
Replied 22 hours later

Nacimota wrote:
clickaus wrote:

I have tried to use Player Clip and just Clip but I still can't stop the cube from coming through the grate.

Player Clip blocks player movement, Clip blocks player and NPC movement. Weighted Cubes are neither players nor NPCs.

Further reading: https://developer.valvesoftware.com/wiki/Tool_textures

so, yeah.... invisible brush is recommended