Raised This Month: $59 Target: $400
 14% 

HE Grenade Conc Jumping


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Johnny got his gun (102)
ThantiK
Senior Member
Join Date: Mar 2004
Location: Orlando, FL
Old 10-06-2004 , 13:12   HE Grenade Conc Jumping
Reply With Quote #1

/* AMX Mod script.
*
* HE-CONC 1.0
* by ThantiK
*
*
* Description:
* Remember CONC jumping in TFC? -- This adds the knockback to the HE 'nades
* its great to set higher or lower depending on your wants. But definately
* adds some spunk to the game.
*
* Commands:
* CVAR - he_push, set higher or lower depending on the effect you want.
* TIPS - Set he_push to a negative value...very funny.
*
* Special Thanks:
* JGHG for the help with setting velocity, and for the code on getting HE coords.
* Ryan (War3 Expansion guy) for the mathematics and velocity stocks.
*/

P.S. www.TKWired.com! =P
Attached Files
File Type: sma Get Plugin or Get Source (amx_heconc.sma - 11553 views - 2.5 KB)
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016
ThantiK is offline
Send a message via AIM to ThantiK Send a message via MSN to ThantiK
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-06-2004 , 15:53  
Reply With Quote #2

Lol way ahead of you. Well if you don't want chickens this is about the same. :-]
Always had this feature in Chicken bombs since ages though :-]

Nonetheless cool. Maybe you could make it so you can select if the flashbang, the smokegreande or he should be made for concing. Or all!
Johnny got his gun is offline
ThantiK
Senior Member
Join Date: Mar 2004
Location: Orlando, FL
Old 10-06-2004 , 15:58  
Reply With Quote #3

I was thinking that, too bad I couldn't add another grenade type...lol

Possibly change the SG so it doesn't let out the smoke, blocks it and even does the TFC conc gren effect?
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016
ThantiK is offline
Send a message via AIM to ThantiK Send a message via MSN to ThantiK
Ryan
Senior Member
Join Date: May 2004
Location: NH, USA
Old 10-06-2004 , 18:52  
Reply With Quote #4

awesome, nice to see you finished it!
__________________
Warcraft 3: Expansion
Homepage | Downloads | Forums
Ryan is offline
Send a message via AIM to Ryan
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-07-2004 , 02:29  
Reply With Quote #5

I guess all you have to do is see what other messages are created by flashbangs and smoke grenades. You could block the smoke messages and send out a shockwave where the first smoke puff should be. Or maybe to all smoke puffs? :-)
Johnny got his gun is offline
LizardKing
Member
Join Date: Sep 2004
Old 10-09-2004 , 04:19  
Reply With Quote #6

maybe possible to add a cvar to disable HE damage, and infinate nades (get one every 15 seconds) so u can conc jump without dying?
__________________
LizardKing is offline
Send a message via MSN to LizardKing
ThantiK
Senior Member
Join Date: Mar 2004
Location: Orlando, FL
Old 10-12-2004 , 02:57  
Reply With Quote #7

It could be possible, it already checks if the dmg was done by an HE grenade, only 1 line of code would need to be added for a no-dmg HE-grenade...

Anyone else want this?

I'd say I'm probably not going to add the whole unlimited HE thing, there are plugins out there that you could pair with this one for that.

Perhaps we may want the whole conc jump effect with it?...like the little expanding ring? -- that wouldn't be too hard to add either.
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016
ThantiK is offline
Send a message via AIM to ThantiK Send a message via MSN to ThantiK
henk3000
New Member
Join Date: Jul 2005
Old 07-26-2005 , 05:08  
Reply With Quote #8

Hi Sorry for pulling this up from oblivion

About the no-damage HE's..
I would like to make that so the damage of a grenade would come only from falling back to the ground and not from the explosion.. it's for a fun-oriented server

You said it should be easy.. Is this about where that one line of code should be?

Code:
    new damagerept = read_data(2)
    set_velocity_from_origin(id, upVector, get_cvar_float("he_push")*damagerept)
I'm learning the script code currently but i don't know how to change the actual damage done by the grenade in this plugin.

Thanks!
henk3000 is offline
nitricacid
Member
Join Date: Jul 2005
Location: there
Old 07-27-2005 , 14:41  
Reply With Quote #9

how do we change the grenade to smoke again?
nitricacid is offline
Send a message via AIM to nitricacid
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 07-27-2005 , 15:11  
Reply With Quote #10

I don't fully understand this plugin. The way I *think* I understand it is that if you receive damage from an HE nade, you get 'pushed' back from the force of it. Is this correct?

[LATER ON THAT DAY]

Yep, I *do* understand it. I was right!
Brad 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 15:46.


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