AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Team Advantage by OciXCrom (https://forums.alliedmods.net/showthread.php?t=295362)

OciXCrom 03-23-2017 15:32

Team Advantage by OciXCrom
 

Description
  • With this plugin players from the team that lost X rounds in a row will get a money bonus. The money amount according to the number of loses can be set in the .ini file.

Settings
  • The settings can be found in the [SETTINGS] section in configs/TeamAdvantage.ini
  • ADVANTAGE_TEAM: If you want only a specific team to take advantage of the bonuses - ALL/CT/T.
  • ADVANTAGE_FLAGS: If you want only players with specific flag(s) to take advantage of the bonuses. Type the flags here, otherwise use "!".
  • MAX_MONEY: The maximum amount of money that players can receive.
  • CHAT_PREFIX: The chat prefix.
  • PLAYER_MESSAGE: Whether the players that got a bonus will see an additional message.

Bonuses
  • The bonuses can be added in the [ADVANTAGES] section in configs/TeamAdvantage.ini
  • On a new line add the required number of lost rounds and the bonus money, separated with "=".

https://raw.githubusercontent.com/Oc...using_this.png
https://raw.githubusercontent.com/Oc...plugin_lab.png
https://raw.githubusercontent.com/Oc...ad_default.png

EFFx 03-23-2017 15:33

Re: Team Advantage by OciXCrom
 
Where can I download this simple plugin?

OciXCrom 03-23-2017 15:50

Re: Team Advantage by OciXCrom
 
Excellent question. :bee:
I keep forgetting that alliedmods for some unexplained reason doesn't support .rar files.

EFFx 03-23-2017 15:51

Re: Team Advantage by OciXCrom
 
For an experienced scripter, you must know it.

molotovas 03-23-2017 16:37

Re: Team Advantage by OciXCrom
 
Mhm compiled this plugin with 4 errors..
(84) warning 213 tag mismatch
(166) warning 213 tag mismatch
(167) warning 213 tag mismatch
(168) warning 213 tag mismatch

klippy 03-23-2017 16:46

Re: Team Advantage by OciXCrom
 
Quote:

Originally Posted by OciXCrom (Post 2506108)
Excellent question. :bee:
I keep forgetting that alliedmods for some unexplained reason doesn't support .rar files.

Because .rar sucks. .zip all the way.

Anyway, I know it's kinda not the same, but in CS teams already get more money the more they lose in a row, up to 5 times.

OciXCrom 03-23-2017 17:24

Re: Team Advantage by OciXCrom
 
@molotovas - you're probably using an older AMXX version. Ignore them, they don't bother the plugin. I'll see how it compiles on older versions and edit the plugin tomorrow.

@KliPPy - yeah, but this plugin has been requested many times and people are using some crappy versions of it, so I decided to make a "stable" one.

PartialCloning 03-24-2017 00:19

Re: Team Advantage by OciXCrom
 
It doesn't seem like your code takes into account players that shouldn't receive money such as teamkillers. It would be better if you check when the games gives players money and add the advantage at the same time. You can also check "m_iLoserBonus" (I think it's only available in 1.8.3 but double check) and adjust the advantage based on that so they don't get the default advantage ontop.

rautamiekka 03-24-2017 04:04

Re: Team Advantage by OciXCrom
 
Quote:

Originally Posted by KliPPy (Post 2506131)
Because .rar sucks. .zip all the way.

Anyway, I know it's kinda not the same, but in CS teams already get more money the more they lose in a row, up to 5 times.

Facepalm, ZIP has nothing on RAR, although RAR sucks too.

klippy 03-24-2017 08:34

Re: Team Advantage by OciXCrom
 
Quote:

Originally Posted by rautamiekka (Post 2506241)
Facepalm, ZIP has nothing on RAR, although RAR sucks too.

True, but .zip standard is fully open source and more widely supported than .rar. On AM packages are small enough that it usually doesn't matter, so you would want to use something that has much better support.


All times are GMT -4. The time now is 09:38.

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