Raised This Month: $95 Target: $400
 23% 

TFC Grenade Jumping


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   v3x (159)
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-26-2006 , 15:48   TFC Grenade Jumping
Reply With Quote #1

TFC Grenade Jumping - V0.1
By Knekter

This little mod adds the ability for you to use your grenades to jump. If you have ever played TFC you will know what I mean!

mp_grenadejumping - 1 = on/0 = off
mp_grenadejumping_distance - how close you need to be to be pushed by the grenade (default = 500)
mp_grenadejumping_speed - how fast you are pushed (default = 800)

Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (tfcnadejumping.sma - 3492 views - 1.6 KB)
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-26-2006 , 15:59  
Reply With Quote #2

How is this different than this?
Brad is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-26-2006 , 16:02  
Reply With Quote #3

Quote:
Originally Posted by Brad
How is this different than this?
interesting... I searched for grenade jumping and never saw that... Well I guess my code is more effecient and optimized, and if you know me I don't steal code.... Well I guess you can trash this if you wish, you are the moderator brad...
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-26-2006 , 16:35  
Reply With Quote #4

I'm all about optimization for efficiency. Does this plugin have any features or configurability above and beyond the other?
Brad is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-26-2006 , 16:47  
Reply With Quote #5

Quote:
Originally Posted by Brad
I'm all about optimization for efficiency. Does this plugin have any features or configurability above and beyond the other?
Well in mine you can configure how much speed the person will fly and how far away the person must be to be pushed. In essence I made it so you might not even be injured but you still will be pushed by the wake
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Locks
Senior Member
Join Date: Sep 2005
Old 03-28-2006 , 01:07  
Reply With Quote #6

nice plugin with lots of error
Code:
L 03/27/2006 - 20:50:34: [ENGINE] Invalid player 0 (not in-game)
L 03/27/2006 - 20:50:34: [AMXX] Displaying debug trace (plugin "tfcnadejumping.amxx")
L 03/27/2006 - 20:50:34: [AMXX] Run time error 10: native error (native "entity_get_vector")
L 03/27/2006 - 20:50:34: [AMXX]    [0] tfcnadejumping.sma::grenade_explosion (line 41)
Locks is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-28-2006 , 13:14  
Reply With Quote #7

Try this :

Find :

Code:
entity_get_vector(id, EV_VEC_origin, porigin);

Replace by :

Code:
if (is_user_alive(id))
				entity_get_vector(id, EV_VEC_origin, porigin);
Not sure but it seems work great on my server now.

Arkshine is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-28-2006 , 16:12  
Reply With Quote #8

awkward, getplayers with flag "a" should only get players who are currently alive.... Will look into this
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
Locks
Senior Member
Join Date: Sep 2005
Old 03-29-2006 , 21:44  
Reply With Quote #9

Quote:
Originally Posted by arkshine
Try this :

Find :

Code:
entity_get_vector(id, EV_VEC_origin, porigin);

Replace by :

Code:
if (is_user_alive(id))
				entity_get_vector(id, EV_VEC_origin, porigin);
Not sure but it seems work great on my server now.

Still a whole bunch of errors
Code:
L 03/29/2006 - 17:27:03: [ENGINE] Invalid player 0 (not in-game)
L 03/29/2006 - 17:27:03: [AMXX] Displaying debug trace (plugin "tfcnadejumping.amxx")
L 03/29/2006 - 17:27:03: [AMXX] Run time error 10: native error (native "entity_set_vector")
L 03/29/2006 - 17:27:03: [AMXX]    [0] tfcnadejumping.sma::grenade_explosion (line 55)
Locks is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Location: UK
Old 03-03-2008 , 18:58   Re: TFC Grenade Jumping
Reply With Quote #10

need fakemeta version of this too please
thanks.
`666 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 14:21.


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