Raised This Month: $140 Target: $400
 35% 

[TF2] Friendly Mode (v. 16.0112)


Post New Thread Reply   
 
Thread Tools Display Modes
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-23-2013 , 16:00   Re: [TF2] Friendly Mode (v. 13.0423.1)
Reply With Quote #101

i tried running this on a server that doesn't have goomba stomp plugin installed and I get this error;

Quote:
sm plugins info 16
Filename: friendly.smx
Load error: Could not find required plugin "goomba"
File info: (title "[TF2] Friendly Mode") (version "13.0423.1")
File URL: http://forums.alliedmods.net/showthread.php?t=213205

Last edited by island55; 04-23-2013 at 16:00.
island55 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-23-2013 , 17:40   Re: [TF2] Friendly Mode (v. 13.0423.1)
Reply With Quote #102

Hurrrr i r smart

Uploading new version 13.0423.2. 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:
  • Improvements to sm_friendly_admin:
    • Admins are be able to bypass the point capping/intel grabbing block.
    • Admins are able to bypass the weapon blocker provided by sm_friendly_blockweps.
    • Admins will instantly change modes regardless of the settings of sm_friendly_action_* cvars
    • Admins will not have their buildings killed upon mode switch, regardless of any sm_friendly_kill* cvar

  • (Hopefully) fixed mild error log spam caused by the addition of sm_friendly_stopcap

  • Added cvar sm_friendly_logging with default value of 2.

  • Fixed a MAJOR bug where the plugin wouldn't load at all if the Goomba Stomp plugin wasn't also installed.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!
Attached Files
File Type: smx friendly.smx (19.3 KB, 46 views)
File Type: sp Get Plugin or Get Source (friendly.sp - 45 views - 41.4 KB)
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-25-2013 , 02:29   Re: [TF2] Friendly Mode (v. 13.0423.2)
Reply With Quote #103

Uploading new version 13.0424. 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:
  • Changed default value of sm_friendly_blockweps to 1

  • Changed default values of sm_friendly_action_* cvars to -2

  • Fixed sm_friendly_kill*_f cvars not actually being created upon plugin start

  • Added NOBUILD cvars, which can stop Engineers in Friendly mode from beginning the construction of buildings. Can be bypassed by admins.

  • Spies who enter friendly mode will have any active sappers removed, can be bypassed by admins.

  • Improvements to sapper-removal logic upon an engineer going Friendly while sappers are on his buildings.

  • RTD Integration! Added cvar sm_friendly_blockrtd with default value of 1. When enabled, Friendly players will not be able to activate a dice roll. Admins can bypass the restriction.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!
Attached Files
File Type: sp Get Plugin or Get Source (friendly.sp - 38 views - 44.3 KB)
File Type: smx friendly.smx (20.2 KB, 48 views)

Last edited by ddhoward; 04-25-2013 at 02:31.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-27-2013 , 02:50   Re: [TF2] Friendly Mode (v. 13.0424)
Reply With Quote #104

Uploading new version 13.0426. 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:
  • Cleaned up some stuff in the code, does not affect compiled smx.

  • On new installations, sm_friendly_enabled will no longer be recorded into the auto-generating cfg file

  • Added cvar sm_friendly_alpha_wep, which sets the visibility of the weapons of players in Friendly mode.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!
Attached Files
File Type: sp Get Plugin or Get Source (friendly.sp - 43 views - 42.4 KB)
File Type: smx friendly.smx (20.5 KB, 47 views)

Last edited by ddhoward; 04-27-2013 at 03:10.
ddhoward is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 04-30-2013 , 12:20   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #105

hey dd can i make one suggestion, i notice tyhat theres no way to forcefully add/remove friendly from someone, my server has strange/idle pits where i've found some of my users idling there but in friendly mode, unable to be killed, think maybe you can add a command for this for us very busy admins on the go so that we can add or remove friendly or just remove either way?? xD
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-30-2013 , 14:05   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #106

Well, if sm_friendly_remember = 0, then all you have to do is slay the player to get them to exit friendly mode. If that cvar = 1, then one way to get them to leave Friendly Mode is by forcing them to toggle it themselves, through Fake and Force.

As for a built-in way to target other players, stay tuned...

I'm also trying to get a timer system in place, where a player can only stay Friendly for a limited amount of time (during 1 life).

Last edited by ddhoward; 04-30-2013 at 14:08.
ddhoward is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 04-30-2013 , 14:21   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #107

Oh i can do that but my admins don't have access to force for obvious reasons :p and i just got sick of the constant messaging of "scip can you defriendly so and so" whilst i'm in the middle of a good game of l4d2 xD
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 04-30-2013 , 17:42   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #108

Quote:
Originally Posted by ddhoward View Post
Well, if sm_friendly_remember = 0, then all you have to do is slay the player to get them to exit friendly mode. If that cvar = 1, then one way to get them to leave Friendly Mode is by forcing them to toggle it themselves, through Fake and Force.

As for a built-in way to target other players, stay tuned...

I'm also trying to get a timer system in place, where a player can only stay Friendly for a limited amount of time (during 1 life).
You should consider a system that turns off friendly mode after the user has been AFK for <time>.
Mr. Man is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-30-2013 , 18:06   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #109

An AFK detector sounds much better. I'll try to do that instead.
ddhoward is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 04-30-2013 , 18:20   Re: [TF2] Friendly Mode (v. 13.0426)
Reply With Quote #110

wait does being killed reset the afk timer??
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
Reply


Thread Tools
Display Modes

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 12:06.


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