$hboxset: Difference between revisions
Jump to navigation
Jump to search

($hboxset) |
No edit summary |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar|title = <code>$hboxset</code>}} | |||
{{this is a|QC command|name=$hboxset}} It creates a named block for a group of [[$hbox]] definitions. The [[:Category:AI|AI]] can select any one set to use for collisions. | |||
== Syntax == | ==Syntax== | ||
$hboxset (name) | $hboxset (name) | ||
== Example == | ==Example== | ||
$hboxset "default" | $hboxset "default" | ||
Line 25: | Line 24: | ||
$hbox 7 "Airboat.Hull" -37.50 -40.00 -132.00 37.50 10.00 -88.00 // bottom rear | $hbox 7 "Airboat.Hull" -37.50 -40.00 -132.00 37.50 10.00 -88.00 // bottom rear | ||
[[Category: | ==See also== | ||
* [[$cbox]] | |||
* [[$bbox]] | |||
* [[$hbox]] | |||
__NOTOC__ | |||
[[Category:Modeling]] | |||
[[Category:Source]] |
Latest revision as of 20:56, 18 July 2025


$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