AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SM_Hosties (https://forums.alliedmods.net/forumdisplay.php?f=155)
-   -   New cvar suggestion: Disable "LR: Rebel" After played any of LR's (https://forums.alliedmods.net/showthread.php?t=284957)

iGANGNAM 07-08-2016 05:42

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

databomb 07-11-2016 07:18

Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
 
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?

iGANGNAM 07-11-2016 12:38

Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
 
I think there are plenty servers who has such rule. If you did alteast 1 LR, you can't kill anyone else without !lr

databomb 07-11-2016 15:51

Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
 
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


iGANGNAM 07-11-2016 17:17

Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
 
When lr will be rewritten to seperate plugins? I think i'll wait until than.

databomb 07-11-2016 19:18

Re: New cvar suggestion: Disable "LR: Rebel" After played any of LR's
 
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.


All times are GMT -4. The time now is 12:28.

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