Skip to main content

Boxes

Draws a box around enemy (and optionally allied) players on screen, and optionally around dropped weapons and the bomb. The box color depends on whether the target is visible or hidden.


Visual  โ†’  Boxes

What it doesโ€‹

The script builds a rectangle around each eligible player (from its bones โ€” head, hands, feet) and draws it in one of three styles. Live players within range are checked for visibility: a visible target is colored with Visible, a hidden one (behind a wall, in smoke) with Invisible.

  • Type โ€” the box style: Corner (corners only), Outline (full outline), or Filled (semi-transparent fill).
  • Visibility โ€” a visibility filter: show all, only hidden, or only visible.
  • Check is in smoke โ€” when enabled, a target behind smoke is treated as not visible (an accurate ray check through smoke is used).
  • Boxes are not drawn while the buy menu is open.

Weaponsโ€‹

A separate sub-node. When enabled, it draws a box around dropped weapons, the planted bomb (C4), and defusers lying on the ground. A weapon held by a player is not boxed.

  • Enabled โ€” enables/disables weapon boxes.
  • Color โ€” the color of weapon boxes (yellow by default). Weapon boxes are drawn in the same Type style as player boxes.

Shared sliders (Styling)โ€‹

Distance and Thickness are shared by all Visual features; they live in the Visual โ†’ Styling node and apply here too.


Settingsโ€‹

Boxesโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables/disables player boxes.
TeammatesToggleOffAlso box allied players, not only enemies.
VisibilityDropdownAllFilter: All โ€” all; Invisible โ€” hidden only; Visible โ€” visible only.
Check is in smokeToggleOnTreat a target behind smoke as not visible.
TypeDropdownCornerBox style: Corner (corners), Outline (outline), Filled (fill).
VisibleColor pickerGreenBox color for a visible target.
InvisibleColor pickerRedBox color for a hidden target.
DistanceSlider200Shared slider from Styling. Maximum draw distance. Range: 10โ€“500.
ThicknessSlider1Shared slider from Styling. Box line thickness. Range: 1โ€“10.

Weaponsโ€‹

OptionTypeDefaultDescription
EnabledToggleOffBox dropped weapons, the bomb, and defusers on the ground.
ColorColor pickerYellowWeapon box color.