Talk:$hbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
I'm injecting models server-side for decorative purposes only, and although spawnflag 4 is set (debris, no collision), the model's hitbox is still blocking bullets.  Is there a simple way to disable or remove a hitbox through an override parameter instead of recompiling the model?  --[[User:Darkhand|Darkhand]] 12:32, 5 Dec 2008 (PST)
I'm injecting models server-side for decorative purposes only, and although spawnflag 4 is set (debris, no collision), the model's hitbox is still blocking bullets.  Is there a simple way to disable or remove a hitbox through an override parameter instead of recompiling the model?  --[[User:Darkhand|Darkhand]] 12:32, 5 Dec 2008 (PST)
:Injecting how? A server plugin? --[[user:TomEdwards|TomEdwards]] 14:17, 5 Dec 2008 (PST)
:Injecting how? A server plugin? --[[user:TomEdwards|TomEdwards]] 14:17, 5 Dec 2008 (PST)
::Correct, using [http://www.bailopan.net/stripper/ Stripper: Source] which can modify existing and add entities server-side.  Any flag or parameter that can be added to an entity in Hammer can be done with the plugin.  My guess would be to add an override parameter entry to modify the .qc and remove or nullify the hitbox, but I'm not quite sure what that entry would look like. --[[User:Darkhand|Darkhand]] 16:49, 5 Dec 2008 (PST)

Revision as of 17:49, 5 December 2008

Removing hitboxes with an Override Parameter?

I'm injecting models server-side for decorative purposes only, and although spawnflag 4 is set (debris, no collision), the model's hitbox is still blocking bullets. Is there a simple way to disable or remove a hitbox through an override parameter instead of recompiling the model? --Darkhand 12:32, 5 Dec 2008 (PST)

Injecting how? A server plugin? --TomEdwards 14:17, 5 Dec 2008 (PST)
Correct, using Stripper: Source which can modify existing and add entities server-side. Any flag or parameter that can be added to an entity in Hammer can be done with the plugin. My guess would be to add an override parameter entry to modify the .qc and remove or nullify the hitbox, but I'm not quite sure what that entry would look like. --Darkhand 16:49, 5 Dec 2008 (PST)