Spawned objects' clipping?
Posted: Thu Jan 27, 2005 1:54 pm
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
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