Raised This Month: $ Target: $400
 0% 

Steal the Bomb! *UPDATE V. 2.3*


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay       
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 12:27   Steal the Bomb! *UPDATE V. 2.3*
Reply With Quote #1

Description
This plugin enables people on the terrorist team to steal the bomb from another player . This is useful if:
a) The bomb carrier is AFK.
b) The bomb carrier doesn't know he has the bomb.
c) The bomb carrier refuses to plant the bomb
d) You make up your own reason

Version
2.3

Commands
Client command: "say /steal", Must be alive + on Terrorists.

Modules Required
Engine

Errors
None known.

Credits
VEN for fixing some stuff.
Cheap_suit and Twilight Suzuka for explaining the get_entity_distance function.
Brad for being cool and editing my stuff, also explaining some coding flaws.

Tested
Yes, win32 server + works

Coming
- Can only take the bomb away x times a round.
- Timer on menu.
- Admin command which enables admins to bypass regulations.

Latest Version Update(s):
2.3 - Removed Cstrike as a required module, switched client_connect with ResetHUD function, replaced cs_get_user_team with get_user_team
2.2 - Coding cleanup.
2.1 - Removed multilingual translations.
2.0b - Removed planting function as it did not work.
2.0a - Added Danish translation.
1.9 - Re-added menu - now contains complete multilingual support!
FIXED VERSION OF BOMBSTEALER.TXT - REDOWNLOAD THAT!

Note: As of now, this plugin is going through some revamping, so if it doesn't work when you download it, it will work soon ;)
Attached Files
File Type: sma Get Plugin or Get Source (bombstealer.sma - 1012 views - 2.9 KB)
Jordan is offline
SubFive
Senior Member
Join Date: Dec 2005
Location: USA
Old 12-17-2005 , 12:32  
Reply With Quote #2

Sounds cool!
SubFive is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 12-17-2005 , 13:10  
Reply With Quote #3

Might be unfair to people who want 4 points for the round and someone steals it to plant...

Maybe make it for admins only?

I just think if I was planting and someone stole it from me... I'd be mad... >.<.
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 13:38  
Reply With Quote #4

I know there is cs_get_user_plant and cs_set_user_plant, but is there a function to determine if the user is planting the bomb?
Jordan is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 12-17-2005 , 13:44  
Reply With Quote #5

Hmmm, Your should trying finding it here

http://www.amxmodx.org/funcwiki.php?go=all_func

I am pretty sure that there is

In my ported plugin - Ultimate Sounds "The Original"

When a user is planting the bomb it says
Code:
Dizzy Is Planting The Bomb!
As he's planting...

=D

Soo maybe try to strip that...

Also, you should have a command or a menu that the person with the bomb gets that says

Code:
Let Dizzy Take The Bomb?
1. Yes
2. No
Make that menu on a 5 second timer so if they are AFK it automatically gives the bomb... I'd do this so it's a bit more fair...

You also should see a raidus distance... You could be at bombsite A and your friend has the bomb camping and you could just take it from like 1,000+ feet away... Should really see like a 5 foot raidus...

This would be a good Idea though, just needs to develop a little more.
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 14:18  
Reply With Quote #6

Yeah I was planning on doing the radius thing as well as stealing x times a round.
Jordan is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 14:30  
Reply With Quote #7

Updated.
Update contains:

If the bomb carrier is in the bomb site (has the little green thingy flashing), the bomb can't be stolen.
Jordan is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 12-17-2005 , 14:34  
Reply With Quote #8

Nice Improvement

Try the menu thing.. =D

Just so it gives the player a chance to refuse.
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 18:53  
Reply With Quote #9

Yeah I'll work on it
Jordan is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-17-2005 , 20:24  
Reply With Quote #10

Update 1.6 - Added distance in between the player and the bomb. If the distance is greater than 20 players than the player cannot steal the bomb.

Someone can approve this if they want
Jordan 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 16:01.


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