Raised This Month: $105 Target: $400
 26% 

Satchel Charges ( from Half-Life ) v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Johnny got his gun (102)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-21-2005 , 17:59   Satchel Charges ( from Half-Life ) v1.2
Reply With Quote #1

Satchel Charges v1.2 - by v3x

Description:
Everyone starts out with a detonator at the start of each round. The detonator is worked by the knife. This detonator can be used to detonate your satchel charges that you plant. It can also be dropped by using your default CS drop button. Now, you must HAVE a detonator to plant/detonate satchel charges. Of course you need to buy them first, I'll go more into commands in a bit. You plant the bomb by PRESSING ( not HOLDING ) your attack button with your knife, then a progress bar will show up and go until it's fully planted and armed. Then to detonate it, simply press your button bound to your secondary attack ( +attack2 ). Depending on the cvars, there may be a delay when planting/detonating. Also, when you die, you will drop any of your charges ( if you have any ) and they will glow so other players can pick them up. This plugin will also play an assortment of sounds when you are doing different things.

Onward, to commands..

Player Commands:
buycharge
- The bind to buy a satchel charge
say\say_team /buycharge
- Another way of the above command but using 'say'.
say\say_team /chargehelp
- Shows the help window.
+attack w/ knife:
- Plant charge
+attack2 w/ knife:
- Detonate charge
-----
Admin commands:
charge_toggle
- Toggles charge plugin on/off
charge_num
- Counts the # of charges planted and displays the owner's name next to it in console.
scmenu / sc_menu
- Brings up the CVAR control menu ( Read below for instructions on adding this menu to amxmodmenu! )
-----
Cvars:
amxx_charge_active <0|1>
- Turns plugin on/off ( better if done with toggle cmd, default: 1 )
amxx_charge_limit <#>
- Max # of charges a player can carry ( default: 3 )
amxx_charge_plant_time <secs>
- Time delay after plant button is pressed to plant the charge ( default: 2 )
amxx_charge_delay_time <secs>
- Time delay after detonation button is pressed to detonate the charge ( default: 1 )
amxx_charge_cost <0-16000>
- Cost of a satchel charge
amxx_charge_buyzone <0|1>
- Limit buying to the buyzone? ( default: 1 )
amxx_charge_radius <#>
- Radius of charge explosion ( default: 300 )
amxx_charge_damage
- Max damage done by charge explosion ( default: 100 )
amxx_charge_killcash <0-16000>
- Amount of cash given per kill ( default: 350 )
amxx_charge_dmgcash <0|1>
- Gives cash for doing damage but not killing the player ( [killcash/2] default: 1 )
amxx_charge_immunity <0|1>
- Owner of the charge is immune to the blast? ( FF must be on, default: 0 )
amxx_charge_godmode <0|1>
- If you have godmode, it won't kill you ( default: 0 )
amxx_charge_deathdrop <0|1>
- If you have charges when you die they will drop on the ground ( default: 1 )
-----
How to add to amxmodmenu:
1) Open custommenuitems.cfg
2) Add a line like so:
Code:
amx_addmenuitem "Satchel Charge CFG" "scmenu" "gu" "Satchel Charges"
3) You're done!
-----
How to use the banned maps feature:
1) Open sc_banned.ini
2) Put the map name in there ( 1 per line )
-----
Required Modules:
- Cstrike
- Engine
- Fun
-----
Screenshots:Known Bugs:
- On a very RARE and unusual occasion all players will die from the blast, not common.
- The model animations won't display when planting/detonating (v models)
-----
Credits:
- xeroblood:
-> CVAR menu ( thank you! )
-> The general origin of the idea ( mines plugin )
-> Progress bar idea
-> Tracking movements function
- KleeneX:
-> The concept of using HL models
-> A small code snippet for the explosion
-> Some Engine help ;]
- twistedeuphoria:
-> Making a simple solution of a somewhat big problem ^^
- knekter:
-> For suggesting these specific models ;D
- v3x:
-> For his uber-1337ness and staying up all night working on this
-----
To do:
- Fix animations
-----

Please leave your comments/suggestions/ideas. Also, please report any bugs within this plugin! Thank you
Attached Files
File Type: sma Get Plugin or Get Source (satchel_charges1.2.sma - 3251 views - 35.2 KB)
File Type: zip satchel_charges1.2.zip (48.2 KB, 2190 views)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 07-21-2005 , 18:04  
Reply With Quote #2

Nice job v3x nice job this is one of the coolest plugins i ever seen
__________________
- Bye bye!
nightscreem is offline
DahVid
Senior Member
Join Date: Jun 2005
Old 07-21-2005 , 18:04  
Reply With Quote #3

Neato burrito Juanito.
DahVid is offline
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-21-2005 , 18:05  
Reply With Quote #4

Neat plugin. You just won't stop making plugins.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 07-22-2005 , 02:42   credits
Reply With Quote #5

Credits:
Knekter - Supplying the amazing models used in the plugin
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-22-2005 , 04:19  
Reply With Quote #6

Hm? Looks, to me, like they came from Valve Half-Life. ;-)
Johnny got his gun is offline
DahVid
Senior Member
Join Date: Jun 2005
Old 07-22-2005 , 04:23  
Reply With Quote #7

They did
DahVid is offline
gunsniper
Member
Join Date: Jun 2005
Location: PA - USA
Old 07-23-2005 , 00:13   cool....but a problem
Reply With Quote #8

im havin a bad problem where i detnote the bomb and it kills both me and the other person......no matter where i am on the map.....and i have a error......
Code:
native error in "get_user_weapon" on line 222(file "stachel_cherges.sma").
__________________
gunsniper is offline
Send a message via AIM to gunsniper Send a message via Yahoo to gunsniper
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-23-2005 , 01:12  
Reply With Quote #9

@Knekter:
Sorry, I was running off of 0 hours of sleep and was kind of in a rush to release this. Credit added

@JGHG:
Yep, they were.

@gunsniper:
Re-download and try it again. It should be fixed. Also, check what your radius cvar is set to.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-23-2005 , 01:49  
Reply With Quote #10

I've been watching v3x make this... GJ v3x, well done
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Reply


Thread Tools
Display Modes

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 15:32.


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