View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-22-2013 , 07:35   Re: [TF2] Friendly Mode
Reply With Quote #97

Uploading new version 13.0422. It is attached to this post, has been pushed to the server that Updater downloads from, and will soon replace the version in the first post in this thread. Changes are:
  • Improved performance on hooking Engineer buildings. Previous versions of the plugin hooked EVERY entity as they were spawned, and everytime an entity took damage, checked and re-checked to see if it was an engie building. This version and all future versions will hook only Engie buildings.

  • Added AutoExecConfig(). This will generate a cfg file at tf/cfg/sourcemod/friendly.cfg, populated with the default values of all this plugin's cvars. Any cvars set here will override the same cvar anywhere else.

  • Removed sappers from the list of weapons blocked by sm_friendly_blockweps. Friendly spies will instead have their sappers instantly removed from enemy buildings.

  • Added 14 new cvars regarding the settings of Friendly engineer buildings. The first post will soon be updated with a list of all cvars, please be patient.

Next update will hopefully include a way to stop Friendly players from capping points, pushing the cart, and grabbing Intel.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!


Code for this update was modified from code originally seen in this plugin and this plugin.


EDIT: WARNING: This version of the plugin is bugged, and REQUIRES the Goomba Stomp plugin to be installed. It is recommended that you instead install the current version.
Attached Files
File Type: smx friendly.smx (17.1 KB, 157 views)
File Type: sp Get Plugin or Get Source (friendly.sp - 144 views - 33.9 KB)

Last edited by ddhoward; 04-29-2013 at 02:24.
ddhoward is offline