Raised This Month: $32 Target: $400
 8% 

Furien Anti-Camp (1.0.1 - 03.09.2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 12:03   Furien Anti-Camp (1.0.1 - 03.09.2013)
Reply With Quote #1




.: Description :.

Furien Anti-Camp is specially made for Furien Server as it only checks for CTs. If they don't move from a given radius at a given time they will be punished by loosing money / loosing health and / or it will be added a blast circle and a sound.
You can also enable Anti-C4 Camp, so if CTs stay too long near dropped C4 they will be punished too.

.: Requirements :.
  • A Steam Server
  • (Additonal - Furien V64)

.: Defines :.

PHP Code:
// ===============================================================================
//     General
// ===============================================================================

// Time in Seconds how fast the Plugin checks for camping
#define CHECK_FREQ 1.0

// Radius in Units in which the player will be checked for camping in CHECK_FREQ
#define CHECK_RADIUS 400.0

// Time in Seconds how long camping in a area is allowed
#define CAMP_MAX 10.0

// ===============================================================================
//     Camping - Punishments
// ===============================================================================

// Comment if you don't want the blast ring around campers
#define CAMPER_BLAST

// Comment if you don't want the camper sound
//#define CAMPER_SOUND

#if defined CAMPER_SOUND

// Sound File for Camper Sound
#define CAMPER_SOUND_FILE "player/heartbeat1.wav"

#endif

// Comment if you don't want the camper losing money
#define CAMPER_MONEY

#if defined CAMPER_MONEY

// Sets the amount of money lost per intervall for being a camper
#define CAMPER_MONEY_AMOUNT 500

#endif

// Comment if you don't want the camper losing health
#define CAMPER_HEALTH

#if defined CAMPER_HEALTH

// Sets the amount of health lost per intervall for being a camper
#define CAMPER_HEALTH_AMOUNT 5

#endif

// Comment if you don't want a chat message for the camper
#define CAMPER_ADVICE

#if defined CAMPER_ADVICE

// Message for Camper
#define CAMPER_MSG "You're camping. You will be punished! Stop camping now!"

#endif

// ===============================================================================
//     Anti-C4-Camp
// ===============================================================================

// Comment if you don't want C4 Camping Check
#define CHECK_C4

#if defined CHECK_C4

// Radius in Units in which the player will be check for being around C4
#define C4_RADIUS 300.0

// Message for players that are near C4
#define C4_MESSAGE "You are too near to the C4, you have %1.f to get away from the C4."

// Time in Seconds how long you're allowed to camp at Bomb
#define C4_CAMPTIME 15.0

// ===============================================================================
//     Camping - Punishments
// ===============================================================================

// Comment if you don't want the blast ring around campers
#define C4_BLAST

// Comment if you don't want the camper sound
//#define C4_SOUND

#if defined C4_SOUND

// Sound File for Camper Sound
#define C4_SOUND_FILE "player/heartbeat1.wav"

#endif

// Comment if you don't want the camper losing money
#define C4_MONEY

#if defined C4_MONEY

// Sets the amount of money lost per intervall for being a camper
#define C4_MONEY_AMOUNT 500

#endif

// Comment if you don't want the camper losing health
#define C4_HEALTH

#if defined C4_HEALTH

// Sets the amount of health lost per intervall for being a camper
#define C4_HEALTH_AMOUNT 5

#endif

#endif 
.: Changelog :.

Version 1.0.1
  • Fixed Money Bug

.: Bugs :.
  • Plugin doesn't work with ConnorMcLeod's Furien Mod.

.: Credits :.
  • VEN - CS Bomb Scripting Tutorial

Attached Files
File Type: sma Get Plugin or Get Source (furien_anticamp.sma - 2199 views - 12.4 KB)
__________________

Last edited by Kia; 09-03-2013 at 04:47.
Kia is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-27-2013 , 13:49   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #2

Quote:
Originally Posted by Kia View Post
  • (Additonal - Furien V64)
yes, it's a nice idea. but why do you make such separate small plugins ? if you want them to work with your furien mod, add them to its code (+ their cvars) or make all the sub-plugins in the same thread.
to make separate (weapon) plugins for weaponmod, isn't the same thing. just look at CSDM, or the last zombie plague which contain a lot of plugins.

this will be more easy and useful for users, isn't that ?
__________________
ANTICHRISTUS is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 13:52   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #3

Maybe people use their own coded furien mod (I know some) and just want to add Anti-Camp easily.
__________________
Kia is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-27-2013 , 13:55   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #4

ok, then add links of your separate plugins in your main furien mod, it will be easier for those who want it.
__________________
ANTICHRISTUS is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 13:59   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #5

Did so.
__________________
Kia is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 08-28-2013 , 18:45   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #6

Does this only work with your furien mod or does it work with others?
__________________
BLacking98 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-29-2013 , 02:27   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #7

It works with others too of course. ^^
__________________
Kia is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 08-29-2013 , 07:23   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #8

".: Requirements :.
A Steam Server
(Additonal - Furien V64"

Then why did you add your furien mod? O_o
__________________
BLacking98 is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 08-29-2013 , 07:53   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #9

Quote:
Originally Posted by Kia View Post
Maybe people use their own coded furien mod (I know some) and just want to add Anti-Camp easily.
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-29-2013 , 08:28   Re: Furien Anti-Camp (1.0.0 - 27.08.2013)
Reply With Quote #10

Quote:
Originally Posted by BLacking98 View Post
".: Requirements :.
A Steam Server
(Additonal - Furien V64)"
You can use it, but you don't have to.
__________________

Last edited by Kia; 08-29-2013 at 08:29.
Kia is offline
Reply



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 08:22.


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