Page 1 of 1

Spawned objects' clipping?

Posted: Thu Jan 27, 2005 1:54 pm
by Rookie One.pl
Hi,

I'm trying to spawn a sandbag and an MG42 on top of it in a stock map. The problem is that the sandbag is neither explosion- nor bullet-proof. To me it appears as an issue of clipping - making the sandbag solid does nothing, if it's spawned as a static object (local.sandbag = spawn models/static/sandbag_small_semicircle.tik) - you can still walk and throw grenades through it, and if it's spawned as a script_model, it prevents you from walking through, however then the "box" you can see in radiant is solid and as a result you get an invisible brush, moreover, you still can shoot bullets through it. There is a clip mask in models/static/sandbag_small_semicircle.map, but I can't figure out how to force the game to use it. Has anyone got a clue for this?

Cheers,

Rookie One

Posted: Thu Jan 27, 2005 9:15 pm
by Green Beret
theres a file in MAM or CI one or the two,and it has under barts fixes he has tanks on destroyed village,and to prevent people from walking throught them he spawn small scale brush's im sure u couldnt shoot throught it either.

Posted: Sun Jan 30, 2005 6:27 pm
by Master-Of-Fungus-Foo-D
yes. why not spawn script objects? in a _________ sandbag semiscricle shape?
.........................................................|..............|
.........................................................|....___.....|
.........................................................|....|...|....|
.........................................................|__|....|__|

Posted: Wed Feb 02, 2005 3:49 am
by MPowell1944
Thats what I am doing on the map mod I'm creating. Any spawned items get their own clipbrush. Using solid is crap when trying to make a clip for the object. Just spawn a script_object with a setsize and make that solid.