This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[TF2] Building Hacks (0.4) - Build in respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 09-05-2009 , 14:16   [TF2] Building Hacks (0.4) - Build in respawn
Reply With Quote #1

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

Last edited by pheadxdll; 04-30-2013 at 21:02.
pheadxdll is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode