AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Suicide Bomb v1.5 (https://forums.alliedmods.net/showthread.php?t=244122)

GXLZPGX 07-14-2014 02:26

Suicide Bomb v1.5
 
1 Attachment(s)
Suicide Bomb Shop
by GXLZPGX

Information:
The suicide bomber is a strategic combat technique recommended only to idiots. It enables you to blow up enemies at close range at a cost, hence the word 'suicide' in the title. This isn't related to this plugin. This plugin doesn't force the server to be suicide bomb based, there aren't any objectives. It's simply here just to add a simple twist onto current game-play. This truly gives a new meaning to the old saying: "Keep your friends close, keep your enemies closer."

Currently only supports Counter-Strike 1.6. But other than that fault, it requires no extra sounds, models, sprites, etc.

How To Use:
There are 2 commands total, and they are all chat related.
  1. /buybomb
  2. /bb

Type any of those into public chat, or team chat, and it will display a menu allowing you to confirm that you would like to buy a suicide bomb. Once bought, hit your flashlight key to activate, but I suggest waiting until you're close to an enemy. Suicide bombs will last until the round ends, so make sure you use it when you can!

Origin:
PHP Code:

/*
    Suicide Bomber Information Center:
    
    The 'Suicide Bomber' idea came to me from a
    somewhat old mod that Exolent made (I've
    also made a version myself). Once you've
    gotten enough cash (cvar controlled), you
    will be permitted to purchase a 'Suicide Bomb'.
    You will then be able to activate it and blow
    anyone up in a certain radius of yourself, 
    thus creating an epic death scene.
*/ 

Cvars:
sb_enabled:
  1. 0 = Disabled | 1 = Enabled
Default: 1


sb_price:
  1. Set to any reasonable number. This is how much the suicide bomb costs.
Default: 16000


sb_radius:
  1. The radius in which players need to be to be damaged/killed.
Default: 400


sb_friendlyfire:
  1. Whether or not to damage teammates. 0 = False | 1 = True.
Default: 1

Miscellaneous:
There are two simple cvars, and they can be easily read (hopefully). I hope you enjoy it. Happy suicide bombing!

Note: Any suggestions you have may be posted here, and I am willing to include them in future updates as long as they are decent ideas. And with that being said, any issues/glitches you find would be much more appreciated by me if I knew about them. Thank you!

Changelog:
v1.0
  1. Initial Release
v1.1
  1. Suggestions Accepted: Click Here
v1.2
  1. Suggestions Accepted: Click Here
v1.3
  1. Problem Solved: Click Here
  2. Cannot buy more than one per round.
v1.4
  1. Suggestions/Problems Accepted/Solved: Click Here, and Here.
v1.5
  1. Suggestions Accepted: Click Here.

YamiKaitou 07-14-2014 02:38

Re: Suicide Bomb v1.5
 
Update your previous thread. I'll be trashing this one shortly


All times are GMT -4. The time now is 19:34.

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