Bad Camper 1.4.239
14 Attachment(s)
Bad Camper 1.4.239 (released: July 21, 2008 )
This plugin punishes players that camp too long. Camping is a strategy, no doubt about it. However, like most things in life, it's best done in moderation. That's why Bad Camper exists. It allows players to camp but encourages them to not pitch a tent. There can be a combination of punishments that get applied to a player that camps too long. Punishments start when the player's camping meter reaches 80%. They get worse at 90%. They finally come to a crescendo at 100%. Table of Contents Support Installation Options (CVARS) Commands Installation Files Notes Change Log Credits Previous Versions (unsupported) Support top If you are posting in this thread because the plugin or a feature of the plugin isn't working for you, please do all of the following so that we can more efficiently figure out what's going on: Quote:
top File Locations:
top badcamper_punish <iFlags> Specifies how a player is to be punished when they camp too long. A value of 0 will disable this plugin. The flags are additive.
badcamper_sound <iFlag> Specifies the sound to use as a punishment when the badcamper_punish flag includes the "sound" punishment.
badcamper_money <iPercentage> Specifies the percentage of money taken away when a player's meter reaches 100% when using the "money reduction" punishment. The default is 10 percent. badcamper_limit <iSeconds> Specifies the number of seconds a player can camp in one spot before their camping meter will reach 100%. The default is 35 seconds. badcamper_display <iPercentage> Specifies the percentage at which the meter is displayed to the player. Valid values range from 0 (never show) to 100. The default is 1 percent. badcamper_show_spec <0|1> Specifies whether to allow spectators to see other player's meters. The default is 1, to allow it. badcamper_check_all <0|1> Specifies whether only the team with the current primary objective should be checked for camping or if both teams should.
The current primary objective is defined as follows:
Specifies the access level flags needed for a player to have immunity. Immunity is achieved by standing completely still and not looking around for approximately 6 seconds. The camp meter will still increase until it reaches 65% or more at which time it'll stop until they move or look around again. If the meter is already at 80% or higher, the meter won't stop. Set this CVAR to blank to disallow immunity. For available flags, http://wiki.amxmodx.org/index.php/Ad...#Access_Levels The default is blank (no immunity). A common value, when admin immunity is desired, is to use the "a" flag (ADMIN_IMMUNITY). badcamper_start <iSeconds> Specifies how many seconds after the freeze time ends each round that the meter will start. The default is 4 seconds. Note that camping is checked every 2 seconds so any value you put in here will effectively be rounded up as such. badcamper_damage_reset <iResetType> Specifies if the attacker's or defender's meter gets reset when the player is injured by another.
badcamper_damage_restart <iSeconds> Specifies how many seconds after a player either gives or receives damage that the meter will restart. The default is 4 seconds. Note that camping is checked every 2 seconds so any value you put in here will effectively be rounded up as such. badcamper_health <iHealthPoints> Specifies how many points of health to remove from the player every 2 seconds once their meter reaches 100% if using the health reduction punishment. If the health reduction punishment is not being used, this CVAR has no effect. The default is 10 health points. badcamper_allow <iPlayerCount|iPlayerPercent%> Specifies when a team that is being checked for camping is allowed to camp. A value of 0 doesn't allow a team to camp. The default is 0. The value can either be expressed as a straight count or as a percentage. If the value is being expressed as a percentage, "%" has to follow the value. Examples below. If the value is a count, players can camp when the number of living players on their team falls to this value or lower. If the value is a percentage, players can camp when the percentage of living players on their team is at this value or lower when compared to the living players on the other team. Examples: badcamper_allow 2 Pretty straight-forward. Once there are 2 or fewer players left alive on your team, you can camp. badcamper_allow 40% More powerful and complex. Once your team comprises of living players that is 40% or less than the number of living players on the other team, you can camp. For instance (assume your team is listed first) the following match-ups would allow your team to camp: 1v4, 2v5, 3v8, 4v12, 5v13, 6v15. badcamper_min_players <iPlayers> Specifies the minimum number of players that have to be connected to the server before players are allowed to camp. The default is 0 players. This CVAR affects both badcamper_check_all and badcamper_allow functionality. badcamper_announce <announcementType> Specifies how to announce to the opposite team that a player is camping.
Commands top badcamper list Lists the punishments in the console and indicates which of them are active. Installation Files top |
4 Attachment(s)
Notes
top Compatibility: AMXX 1.8 or higher only.
If you would like to translate the language file for a language not already translated or you want to fix a problem with a language that it translated incorrectly, please do so here: http://forums.alliedmods.net/showthread.php?t=21674. Change Log top [2008-07-21] v1.4.239
top Original design inspiration, many concepts, and code came from the great AntiCamping Advanced plugin originally written by SpaceDudes, rewritten by xHomicide, ported to AMXX by rex, and tweaked by [SWE] RaWDeaL. Specific Features:
top |
excelent plugin! +Karma
|
+ Karma for you!
I've waited so long till someone made something like this. I'll <3 you forever!! |
What happens with following cvar on funmaps e.g. awp_, aim_, fy_:
badcamper_check_all 0 ??? |
Quote:
2. Is it possible to force players to use knive when the campmeters reach 80 percent e.g., I want do this with the old anticamping but i'm a reaaly noob at this :oops: |
@DerProfi:
Quote:
I see your point though. It seems as if, on fun maps, both teams concurrently have the primary objective and thus, should both be checked for camping. Therefore, regardless of the badcamper_check_all setting, both teams should always be checked. Do you agree with this assessment? I'm not overly familiar with fun maps. Are awp_, aim_, and fy_ the only ones? @Phobos I will consider the feasibility of this. |
Quote:
But include/exclude this funmaps in your plugin makes no sense. Too many funmaps with different names, e.g.: cspaintball1, auffe_omme_v, aimtrain, oc_openbattle, phc_trainmap and many more.... Best solution for all, set "badcamper_check_all 1" or "badcamper_punish 0" in extra maps-configs for all your funmaps on server: Example: /amxmodx/configs/maps/fy_...cfg |
Great Plugin! This is it, what i have been looking for a while! Ty
|
Great Plugin! This is it, what i have been looking for a while! Ty
|
Nice, I like.
Shouldn't be hard to make a chicken punishment, just set his model and strip his weapons. I doubt you'd want to give him more speed/hp and less gravity because it IS a punishment after all. Anyways, good luck. |
v3x, it's not that it would be hard, it's that I'm not going to allow someone to turn into a chicken at 80%, only at 100%. What I need to do at 80% and 90% is slowly turn them into a chicken. That's what I'm considering. What to change at 80% and what to change at 90%. I'll need to do something so that the player is like, WTF?!?, before turning them into a chicken.
I'm thinking along the lines of changing the player's FOV at 80% and then something else at 90% (not quite sure yet; haven't put too much thought into it). I agree with your point about ensuring it remains a *punishment*. That's something I need to take into account as well. :lol: I *like* being a chicken. By the way, I'm glad you like it. |
Would it be possible to use the "heartbeat" instead of the snore sound? Many players on our server said that snore isnt as good as the old classic heartbeat ;)
|
Quote:
|
Dear all!
I had an idea - but i do not know how to programm it: I would like that for each player the actual campmeters are summed every 5seconds. And at the end of the map or on leaving the server, a log_message is created: For example: "Wyatt Earp STEAM_0:1:_4654546 campmeters: 400" Is this possible to work - can anyone help me? Thanks a lot guys Wyatt Earp |
@ToT | V!PER
Your users don't have good tastes. :wink: I'll add an option to use the heartbeat sound instead of the snore sound in the next version. @v3x: I hate you. :| I mean, thanks for the head's up. The correct SMA is now there. @Wyatt Earp: Are you on crack? :? Why would you want such a thing? |
Good Job Brad!
As You might have read in the ole anticamping-thread I intended to make a rewrite myself, but You have done a great job including all changes and streamlined the code nicely. I have been holding back two ideas that I intended to include but now I can just make a wishlist :lol: 1. Add a funktion with cvar for acending punishment like: 80%= low snore 90%= loud snore 100%= loud snore + slap 2. Add cvar for hud message to all clients (pref. all clients of opposite team only) stating something like "%s is sleeping on the job, go wake him up!" Try it if you like it. Thx for cred btw :D /RaW |
Dear Brad!
Thanks your reply - but i can't understand your agression. I'm not on crack -there is a great idea behind my question which you obviously can't see. On our Server there are stats calculated on each player. I planed that also the camp factor is logged and our stats would be configured to calculate the camper rating too. So please again - to every cool programmer: I need the sourcecode: That every 5sec the campmeter of each player is summed and after leaving the server or a mapchange the sum of the campmeters is logged for each Steam_ID player on the map. Thanks a lot to everyone Wyatt |
Quote:
Quote:
In addition, I'll be looking at the following ideas (as previously indicated in this thread) for the next version: Quote:
Quote:
Quote:
|
Nice, that this is kept developed.
Works good so far, except of one -for me most important- issue: if badcamper_allow is set to 1, the campmeter seems to be disabled. the last player doesnt get any punishments. If I set badcamper_allow to 0, it works as it should. Code:
Code:
Windows server, amxx 1.01, mm 1.18. |
Quote:
|
Sorry I told it wrong.. ;)
No, what I meant was, that NOONE got any punishments. I had ~14 ppl on server and the campmeter looked like deactivated. I set badcamper_display to 1 (my standard was 50), but nothing was displayed on the hud, for noone (all the time speaking about 2+ living ppl on the tested team). After setting badcamper_allow to 0, the campmeter got alive and worked as assumed. but with the value 1, nothing happens. |
Another funny way to punish campers is anticamping_monster, posted in the german forum here. Have a look at sma in the 7th posting.
If the campmeter reach 100% the camper is beeing attackted by monsters from Half-Life (requires the Moster-Mod) The most loved, but also the most hated plugin on our Server ;-) but over and over funny to see people who joint our server for the very first time now scaring, screeming and running away from those "Anticamping-Bugs or our pets" (like we call them *gg*) 'cause they tried camping :-D Perhaps you can add this feature, think other people would love it also? Cheers, Curry |
@pl2003:
I'll look into the problem you described. @Curryking: I'm intrigued. Two questions. First, can you give me the link to the Monster Mod? Second, can you give me the IP of a server that has the anticamping_monster thing running so I can see how it works? |
Quote:
And if you want to test it, feel free to visit our server @ 85.10.193.233:27015 ;-) Cheers, Curry |
When someone is blinded, due to camping, how do I specifiy the leght of time after the player moves that sight/vision returns? If someone could give me the command to regulate this I'td be greatly appreciated! Or any further links on how to use this plugin!
|
uF2k -- That's actually a bug that I just learned about. I'm looking into it and should have it fixed in the next release. They are supposed to immediately become unblinded as soon as they are shot or they shoot another player. They are partially unblinded (reverse of how they were blinded in the first place) as their camp meter goes down, assuming the player doesn't shoot or get shot by another player.
|
Hey brad, thanks for this great plugin.
I miss one feature... For my scoutzknivez server I even hate shooting campers, so my question affects Badcamper_damage_restart Isn't it possible to have a zero option that the counter continues even if they shoot or get shot...? Would be very cool! |
Quote:
|
Quote:
Do you got time to check the badcamper_allow 1 bug? |
Quote:
Quote:
|
Quote:
First my interpretation of the Cvar: The camper timer goes to 0% as soon as "the camper" is beeing shot or shoots himself. The timer will restart after X seconds. Now what I meant is that the timer shouldn't reset to 0% if "the camper" is beeing shot or shoots himself. Because on the scoutzknivez map there are numerous people camping to get the best shots, well... Then the camperscript is still not very effective ;-) So what I'd like to see is that the timer continues no matter what dmg the camper takes or caused. |
I'm sorry. It was my fault. You explained it correctly, I just read it wrong. Also, your understanding of that CVAR is 100% correct.
In the current version there is no way to keep the meter going if you get injured by another player. I will add an option to allow that in the next version. |
To be honest, my experience says its possible, strange enough... need details about config?
|
Are you saying that in the current version you CAN keep the meter running if a player is attacked? If so, I really don't see how it's possible based on how the code is structured. Before you share your config, test your hypothesis again to verify. Then share your config.
|
New poll. Poll regarding implementation of new feature requests has been created. You can find it here.
|
I want to slap & snore so i have chosen mode 5 but it only slaps, not snores!
whats wrong? and how can i create a cfg with variables listed on the first page which is always executed at start? very boring to edit those variables in the sma file and recompoile it... |
Quote:
Code:
/*-------------------------------------------------------- Quote:
Code:
exec yourFile.cfg |
OMG iam an idiot: english is not my mother language and after testing this plugin with default values i thought that snore is this flashing light and blind is completely black.
i only want this flashing light from the blind function but without being completely blind on 100% is this possible? |
No, it's not possible in the current plugin's feature set. However, if you'd like to alter some code, it could be done (though not supported by me).
In the player_blind function... Delete... Code:
Replace... Code:
Code:
|
All times are GMT -4. The time now is 01:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.