Straight forward extension that lets engineers build in the respawn area. There is full control over which buildings are allowed through a convar.
To install, copy over the sourcemod folder from the appropriate release:
Latest version
Source code
Usage:
The default settings of this extension block only exits from being built in respawn. Modify the convar:
building_enabled - (def. 14) to change that. Each building has a corresponding number. Add up all the numbers for all the buildings you want to allow to determine the value:
Code:
Dispenser - 2
Sentry gun - 4
Teleporter Entrance - 8
Teleporter Exit - 16
For example, if I wanted only dispensers and entrances to be built in spawn, the value would be 10. ( 2 + 8 )
By default, players can only build in their own team's respawn room. To bypass this, set the cvar
building_teamcheck to 0.
Both windows and linux are supported now!
As updates roll around, I'll try to keep this working, hope you guys enjoy.
Change log:
Code:
0.4 - Steampipe update
- Added team check and cvar building_teamcheck
0.3 - Fixed sentries being destructed when entering func_respawnroom
- Updated gamedata for 9/7 update
0.2.9 - Updated gamedata for 5/18 update
0.2.9 - Updated gamedata in the latest release | Added linux binary against the new libs | Fixed warning
0.2.9 - Fixed bug that prevented teleporter exits from being built
0.2.8 - Fixes for the 119th update / Changed binary name
0.2.7 - Added much better building checking
0.2.6 - Fixed capability issues with SDKTools
Improved building matching
0.2.5 - Added more unique building checks
0.2.4 - TF2 Update: 2/3/10 (Windows only)
0.2.3 - TF2 Update: 1/28/10 (Windows only)
0.2.2 - TF2 Update: 1/27/10 (Windows only)
0.2.1 - Fixed a bug
0.2 - Added support for windows; Added support to restrict buildings
0.1 - Initial Release
Credits:
pRED* for his detour class