Left 4 Dead Toolz is a high-performance sourcemod extension designed to replace "Left4DHooks" due to its excessive bloat and cumbersome structure. It provides nearly all native and forward functions of Left4DHooks.As my first major project, I spent nearly a month completing it. Since I was still in high school at the time, there might be some places I didn't handle well or made mistakes, send issue please.
- Download the all the files in this project;
- Place file left4deadtoolz.autoload and left4deadtoolz.ext.2.l4d2.so into your
/addons/sourcemod/extensions/directory; - Place file left4deadtoolz.txt into your
/addons/sourcemod/gamedata/directory; - Place file left4deadtoolz.inc into your
/addons/sourcemod/scripting/include, use natives or forwards from it and write your plugins.
| ConVars | Default | Description |
|---|---|---|
l4d2_addons_eclipse |
-1 |
Addons Manager (-1: use addonconfig; 0: disable addons; 1: enable addons.) |
convar_vscript_output |
|
Buffer used to return VScript values. Warning: Do not use. |
| APIs | Count |
|---|---|
| Natives | 413 |
| Forwards | 222 |
- Some natives must
validate before using(such as valid client/entity index), or it may cause crash; - You can request feature you need in issues, such as adding natives or forwards;
- Some rare use natives in
Left 4 DHooksare removed; - You can contact me through My Steam