$hboxset
Jump to navigation
Jump to search
$hboxset
is a QC command available in all Source games. It creates a named block for a group of $hbox definitions. The AI can select any one set to use for collisions.
Syntax
$hboxset (name)
Example
$hboxset "default" $hbox 0 "airboat.hull" -40.00 0.00 -72.50 40.00 20.00 72.50 $hbox 0 "airboat.hull" -12.50 20.00 -21.00 12.50 65.00 11.00 $hbox 0 "airboat.hull" -11.00 20.00 22.50 11.00 37.50 47.50 $hbox 0 "airboat.hull" -20.00 20.00 -99.50 20.00 80.00 -24.50 $hboxset "entryboxes" $hbox 0 "Airboat.Hull" 25.00 10.00 -104.00 85.00 110.00 104.00 // top left $hbox 1 "Airboat.Hull" -85.00 10.00 -104.00 -25.00 110.00 104.00 // top right $hbox 2 "Airboat.Hull" -37.50 10.00 40.00 37.50 110.00 104.00 // top front $hbox 3 "Airboat.Hull" 25.00 -40.00 -104.00 85.00 10.00 104.00 // bottom left $hbox 4 "Airboat.Hull" -85.00 -40.00 -104.00 -25.00 10.00 104.00 // bottom right $hbox 5 "Airboat.Hull" -37.50 -40.00 40.00 37.50 10.00 104.00 // bottom front $hbox 6 "Airboat.Hull" -37.50 10.00 -132.00 37.50 110.00 -88.00 // top rear $hbox 7 "Airboat.Hull" -37.50 -40.00 -132.00 37.50 10.00 -88.00 // bottom rear