This article's documentation is for anything that uses the Source engine. Click here for more information.

CreateHairball: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Works in Base engine games Ep1 and later)
(added very needed hair ball info)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This console command creates 100 ropes, each with 3 segments, and simulates them physically while moving them about.
{{this is a|console command|name=CreateHairball}}
{{warning|Executing this command in HL2 Single Player maps will crash the game!  Executing the command in games using the Source Base Engine will not cause a crash.}}
It requires {{cmd|sv_cheats|1}} to work. It was probably made for stress-testing ropes.


[[Category:Console Commands]]
It spawns 20 groups of balls (named hair balls) and randomly spawns them near the player. Those individual hair balls spawn 100 ropes randomly distributed in a circle. Those groups will then, a few seconds after spawning, forever spin around in random directions and speeds. Hair balls never de-spawn and will continuously fly around until the map changes.
 
{{confirm|Hair balls don't seem to render properly in {{mapbase|4}}.}}
 
[[File:Hairballs.png|1100px|thumb|none]]

Latest revision as of 06:45, 28 May 2025

CreateHairball is a console command available in all Source Source games. It requires sv_cheats 1 to work. It was probably made for stress-testing ropes.

It spawns 20 groups of balls (named hair balls) and randomly spawns them near the player. Those individual hair balls spawn 100 ropes randomly distributed in a circle. Those groups will then, a few seconds after spawning, forever spin around in random directions and speeds. Hair balls never de-spawn and will continuously fly around until the map changes.

Confirm:Hair balls don't seem to render properly in Mapbase Mapbase.
Hairballs.png