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

Kick the nades


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-21-2005 , 06:15   Kick the nades
Reply With Quote #1

Look at a close grenade and press use button to kick it away. You can kick smokes, HEs and flashes.
You can only kick one grenade at a time.

You can tweak some stuff through a number of cvars:

kickthenades_radius Default 75. Increase to be able to kick grenades that are further away. The closest grenade will always be kicked first.
kickthenades_speed Default 1000. Increase to make nades get a heavier punch.
kickthenades_height Default -50. Affects the angle of a kicked nade. Decrease to make the nade fly more upwards, increase to make it fly closer to the ground.
Attached Files
File Type: sma Get Plugin or Get Source (kickthenades.sma - 6575 views - 7.0 KB)
Johnny got his gun is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-21-2005 , 06:33  
Reply With Quote #2

Nice idea, very original.
__________________
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
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-21-2005 , 06:49  
Reply With Quote #3

I noticed that smoke never comes out of the smoke nade as long as it doesn't hit ground. Throw it straight up and keep kicking it when it comes down. :-) It's like a whole new game.
Johnny got his gun is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-21-2005 , 08:02  
Reply With Quote #4

its like FIFA footbal but then with nades
__________________
hello, i am pm
PM is offline
Goofkop
Member
Join Date: Jul 2005
Old 07-21-2005 , 08:45  
Reply With Quote #5

You cannot kick he grenades or do you ?

They explade when they hit the ground :S
Goofkop is offline
Ywa*NL
Senior Member
Join Date: Apr 2005
Location: The Netherlands
Old 07-21-2005 , 10:07  
Reply With Quote #6

Nice plugin.
Hope it works perfectly with HE maps.
__________________
Ywa*NL is offline
Send a message via MSN to Ywa*NL
Hannibal
Member
Join Date: Feb 2005
Location: Wisconsin, USA
Old 07-21-2005 , 15:38  
Reply With Quote #7

HE nades dont explode when they hit the ground, they're on a fuse, so you can kick htem
__________________
Programming today is a race between developers striving to produce bigger and better idiot proof programs and the universe striving to produce bigger and better idiots. So far the universe is winning.
Hannibal is offline
Send a message via ICQ to Hannibal Send a message via AIM to Hannibal Send a message via MSN to Hannibal Send a message via Yahoo to Hannibal Send a message via Skype™ to Hannibal
eightn
Junior Member
Join Date: Apr 2004
Location: Russia/Moscow
Old 07-23-2005 , 08:25  
Reply With Quote #8

can't compile plugin

Code:
ungame scripting $ ./sc kickthenades.sma
Welcome to the AMX Mod X 1.00-272 Compiler.
Copyright (c) 1997-2004 ITB CompuPhase, AMX Mod X Team

sc: sc6.c:362: cell do_symbol(FILE *, char *, int): Assertion `len>0 && len<31' failed.
Aborted
Gentoo Linux, glibc-2.3.4.20050125
__________________
wbr, Evgeniy
eightn is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 07-23-2005 , 22:07  
Reply With Quote #9

@JGHG

First let me say thank you and let you know I appreciate your dedication to this community.

As for my post, one suggestion, 2 solutions:

Can you implement a check before the kick is done to verify that the user is not prone or crouched?

I don't think proned users should be able to kick the nades but the default action of picking it up should occur.

As for the crouched, if you want to still let them kick it while they are crouched, the kick strength should be reduced by a certain degree.

-my 2 cents.
__________________
pendragon is offline
Send a message via ICQ to pendragon
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-24-2005 , 09:12  
Reply With Quote #10

2. Well I guess that's possible.

1. You can't pick up primed grenades... who wants to anyway, it will just blow in your face...
Johnny got his gun is offline
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 04:16.


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