Raised This Month: $12 Target: $400
 3% 

New cvar suggestion: Disable "LR: Rebel" After played any of LR's


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-08-2016 , 05:42   New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #1

New cvar suggestion: Disable "LR: Rebel" After played any of LR's
__________________
iGANGNAM is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 07-11-2016 , 07:18   Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #2

There is a convar for disabling the 'Rebel' LR entirely which you can use. Also, are you aware that it scales appropriately? If a Terrorist uses the Rebel LR, he receives bonuses based on the number of remaining alive CTs, so why is there a need for a separate convar for turning it off after the first LR?
__________________
databomb is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-11-2016 , 12:38   Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #3

I think there are plenty servers who has such rule. If you did alteast 1 LR, you can't kill anyone else without !lr
__________________
iGANGNAM is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 07-11-2016 , 15:51   Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #4

iGANGNAM, the punishment for a violation of such rule would be death, so regardless of whether they select Rebel! from the LR menu or back-stab a CT and take their gun, the response is the same. For servers with a rule that you should not rebel during LR they must set the sm_hosties_lr_on convar to 0. Otherwise for servers with a rule that you can't rebel after the first LR then you may make a plugin to handle your specific situation using the Hosties API as follows:

Code:
OnStartLR
g_Partner[terrorist] = counterterrorist

Player_Death Event
if connected g_Partner, alive g_Partner, valid g_Partner, and g_Partner isn't counterterrorist
   slay terrorist

Round_End Event
g_Partner[...] = invalid

OnConnected
g_Parter[client] = invalid
__________________
databomb is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 07-11-2016 , 17:17   Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #5

When lr will be rewritten to seperate plugins? I think i'll wait until than.
__________________

Last edited by iGANGNAM; 07-11-2016 at 17:17.
iGANGNAM is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 07-11-2016 , 19:18   Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
Reply With Quote #6

iGANGNAM, the individual LR system does not have an end date. The design for it is not even properly done yet. It's not likely to happen solely with my input.
__________________
databomb 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 19:45.


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