AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Bomb Objective Manager[ V 0.2 ] (https://forums.alliedmods.net/showthread.php?t=247228)

HamletEagle 08-29-2014 08:05

Bomb Objective Manager[ V 0.2 ]
 
1 Attachment(s)
Bomb Objective Manager 0.2
Release: 29.08.2014 | Last Update: 29.08.2014


Are you tired of players that don't want to plant the bomb or camp with it in his buyzone/ somewhere in the map/ even in a bombsite ? Then, this plugin is for you. It works like a simple afk plugin, but it will check only the carrier of the bomb and has many options, so you can customize it very easy.

It will scan for:
  • Carrier camping in buyzone.
  • Carrier camping somewhere in the map.
  • Carrier camping in a bombsite without planting.
  • Carrier drop the bomb somewhere where it's lost for the round an CT win.

It has some other features:
  • Very customizable by cvar.
  • Every type of camping has his own cvars( camping time + punisments )
  • You can block the kill command for the carrier( by cvar ).
  • If you are not running a bomb map, plugin will pause itself.

The original ideea is here: Click, but the author is banned and the plugin is unnaproved, so I decided to make my own version and it's totally different from the one posted by swapped, mine contains all hornets suggestions.

Table of Contents

Cvars
Installation
Frequently Asked Questions
Change Log
Downloads

Cvars
top


Code:

  • bombobj_bombcamp_seconds

    - Set the ammout of seconds that a player can camp in a bombsite, before he get punished.
    - BombSite camp means that he is in a bombsite and he is not planting the bomb.

  • bombobj_buycamp_seconds

    - Set the ammout of seconds that a player can camp in his buyzone, before he get punished.

  • bombobj_mapcamp_seconds

    - Set the ammout of seconds that a player can camp somewhere in the map, before he get punished.
    - A player is considered camping in the map if he is camping, and he is not in buyzone/ bombsite.

  • bombobj_bombcamp_punish | bombobj_buycamp_seconds | bombobj_mapcamp_seconds

    - Allow you to set the punishment for bombiste/ buyzone/ map camp.
    - 0 : Give bomb to other player | 1 : slay the user and give bomb to other player | 2 : kick the user and give bomb to other player.
    - Default: 0 | 0 | 0

  • bombobj_lostround_punish

    - Allow you to set the punishment for round lost due to c4 drop.
    - 0 : slay the user next round  | 1 : kick the user | 2: for x round the given player can't have the c4( a random player will be choosed ).
    - Default: 0

  • bombobj_lostround_rounds

    - If the bombobj_lostround_punish is 2, then for x round the player won't receive a c4. Allow you to set the ammount of rounds.
    - Default: 3

  • bombobj_carrier_kill

    - Allow the carrier to use kill command ?
    - 0 : yes | 1 - no
    - Default: 1


NOTE: BOMB WILL NOT BE GIVEN TO OTHER PLAYER, UNLESS THERE ARE AT LAST TWO ALIVE PLAYERS IN THE T TEAM. THIS IS NOT A BUG.

Installation
top

  • Download the files provided at the end of this post.
  • Put the amxx file into addons/amxmodx/plugins.
  • Put the sma file into addons/amxmodx/scripting ( OPTIONAL ).
  • Open addons/amxmodx/configs/plugins.ini and add at the end of the file plugin_name.amxx
  • Restart/Change MAP

Frequently Asked Questionstop

Code:

  • Why this plugin don't work on all maps ?

    This plugin control the bomb, so it will work only in defuse maps( de_ ).

  • Why the c4 is not give to other player ?

    Read above and you will find the answer.


Change Log
top

Code:

V 0.1: 
+ Initial Release.
V 0.2:
+ Fixed some silly mistakes

Downloads
top
  • V 0.1: 65 downloads

HamletEagle 08-29-2014 08:08

Re: Bomb Objective Manager[ V 0.1 ]
 
Change Log
top


Code:

  • V 0.1
    +Initial release



ANTICHRISTUS 08-30-2014 10:51

Re: Bomb Objective Manager[ V 0.1 ]
 
Quote:

Originally Posted by HamletEagle (Post 2191323)
  • If you are not running a bomb map, plugin will pause itself.

nice plugin, but it would be better if if checks for existing bombs instead of DE_ maps. in the case when some plugins like Plant Anywhere are used.

Slimer 09-14-2014 08:38

Re: Bomb Objective Manager[ V 0.1 ]
 
Nice plugin, but how to off bombobj_lostround_punish?

HamletEagle 09-14-2014 11:32

Re: Bomb Objective Manager[ V 0.1 ]
 
Quote:

Originally Posted by Slimer (Post 2198471)
Nice plugin, but how to off bombobj_lostround_punish?

In this version you can't, I will consider this in the next update.

HamletEagle 10-12-2014 03:06

Re: Bomb Objective Manager[ V 0.2 ]
 
Update to 0.2 version, some silly mistakes have been fixed.

Arkshine 10-15-2014 04:38

Re: Bomb Objective Manager[ V 0.2 ]
 
I think your plugin title doesn't reflect really what does the plugin.
Reading it, you could think that the plugin will have features to change gameplay around bomb objective. And when you see the plugin, it's just about another plugin which checks for camping. Unless you plan to add more general features, I would strongly recommend you change title to something more specific, as it's quite misleading.

faKe91 11-16-2014 13:39

Re: Bomb Objective Manager[ V 0.2 ]
 
Quote:

L 11/16/2014 - 18:35:26: [CSTRIKE] Invalid player 11
L 11/16/2014 - 18:35:26: [AMXX] Run time error 10 (plugin "bombobj_checker.amxx") (native "cs_set_user_bpammo") - debug not enabled!
L 11/16/2014 - 18:35:26: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
map de_train32 also on de_westwood

HamletEagle 11-16-2014 14:01

Re: Bomb Objective Manager[ V 0.2 ]
 
Add debug after the plugin name and post the new error log.

faKe91 11-17-2014 09:52

Re: Bomb Objective Manager[ V 0.2 ]
 
Quote:

L 11/17/2014 - 14:47:37: [AMXX] Displaying debug trace (plugin "bombobj_checker.amxx")
L 11/17/2014 - 14:47:37: [AMXX] Run time error 10: native error (native "cs_set_user_bpammo")
L 11/17/2014 - 14:47:37: [AMXX] [0] bombobj_checker.sma::UTIL_GiveBombToOtherPlay er (line 542)
L 11/17/2014 - 14:47:37: [AMXX] [1] bombobj_checker.sma::UTIL_PunishUser (line 456)
L 11/17/2014 - 14:47:37: [AMXX] [2] bombobj_checker.sma::CBaseEntity_Think (line 216)


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

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