Skip to content

Nebual/sbox_tool_auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Similar to gmod_tool_auto, this adds a concommand sbox_tool_auto (also bound to "attack3") which cycles the toolgun between appropriate-to-target-entity tools.

For example, middle clicking a Wire Button entity will select the Wire Button tool, then Wiring tool, then Debugger. Middle clicking props opens the Constraint Tool, and then Physgun.

It should generically work for any entity named "ent_something" if its corresponding tool is named "tool_something".
Alternatively, entities can add the following Property to declare their desired tool(s):

public string[] SboxToolAutoTools => new string[] { "tool_constraint" };

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages