Raised This Month: $12 Target: $400
 3% 

Gambit (Vectren / vittu)


Post New Thread Reply   
 
Thread Tools Display Modes
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 05-28-2010 , 02:25   Re: Gambit (Vectren / vittu)
Reply With Quote #31

Quote:
Originally Posted by Jouzaa View Post
That's even better ! It might be cool to drop a nade in air to just float so people run in it. But it would be like a mine then so... I meant that the grenade gets stuck at the wall.

What I'm thinking that the grenade should have zero gravity and wont move at all, does extra damage, explodes in 1-5 seconds. So if you throw the grenade, it floats in front of you. And you can move it by walking through it ??
The thing dg' said has already been done, but with a twist. The Demoman hero in Westside Galore's Superhero is an mp5 which one attack2 shoots nades that sticks to any walls and are detonated on keydown. But ofc, no one will release that custom hero....

The mine idea would be a cool thing though, anyone up for a common try?
__________________
The Art of War is offline
MatheusMARAN
Junior Member
Join Date: Apr 2010
Location: Paraná, BR
Old 10-18-2010 , 07:28   Gambit v2.0 (update)
Reply With Quote #32

* Update *
5 years since the last update...
This is an update done by me. I firstly opened a thread but people told me to post it here, so here we go. (Jelle and Exploited told me; If you have to warn someone then warn them)


shconfig.cfg CVARS:
Code:
//Gambit
gambit_level 0
gambit_grenademult 60.9		//Damage multiplyer from orginal damage amount (def 60.9)
gambit_grenadetimer 30.0		//How many seconds delay for new grenade after nade is thrown (def 30.0)
gambit_cooldown 120.0		//How many seconds until extra grenade damage can be used again (def 120.0)
Changelog:
Code:
/*
* v2.0 - MatheusMARAN - 10/17/10
*      - Hero rewritten from scratch
*      - Uses Fakemeta instead of VexdUM/Vexd Utils.
*      - Full compatibility with the new sexy framework of SHMOD 1.2.0
*      - Uses the "Nade Giving" code from Hobgoblin hero plugin.
*      - Fixed cooldown bugs.
*      - Fixed random grenade headshots.
*      - Special thanks to: Exploited (helped me with some extra damage method shit)
*                           {HOJ} Batman/JTP10181 (Hobgoblin hero plugin)
*
* v1.3 - vittu - 9/27/05
*      - Fixed up cooldown to only be set once.
*      - Removed some useless checks.
*
* v1.2 - vittu - 6/19/05
*      - Minor code clean up.
*
* v1.1 - vittu - 5/10/05
*      - Fixed giving new grenades using a more reliable event.
*      - Fixed grenade timer to only be set if you have no nades,
*          avoids timer exploiting.
*      - Added cooldown cvar, sets only if someone is hurt by gambit.
*      - Added grenade glow and trail only for gambit nades.
*
*   Hero originally created by Vectren
*/
Requirements:
  • SuperHero Mod 1.2.0 or above
  • Fakemeta
  • CSX

Thanks:
Attached Files
File Type: sma Get Plugin or Get Source (sh_gambit.sma - 923 views - 7.0 KB)
__________________
Kewl sign goes here
MatheusMARAN is offline
Send a message via MSN to MatheusMARAN
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-18-2010 , 21:55   Re: Gambit v2.0 (update)
Reply With Quote #33

Quote:
Originally Posted by MatheusMARAN View Post
(Jelle and Exploited told me; If you have to warn someone then warn them)
lols


Code:
		if (attacker != victim) { // I really wanted to remove this, but kept the original behavior of the ol' gambit
btw MatheusMARAN, that cooldown is there to avoid having every nade you get be a gambit nade. You can set the cooldown to 0 to avoid it.

Last edited by vittu; 10-19-2010 at 17:38.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
MatheusMARAN
Junior Member
Join Date: Apr 2010
Location: Paraná, BR
Old 10-19-2010 , 09:33   Re: Gambit v2.0 (update)
Reply With Quote #34

Quote:
Originally Posted by vittu View Post
btw MatheusMARAN, that cooldown is there to avoid having every nade you get be a gambit nade. You can set the cooldown to 0 to avoid it.
What are you talking about?
I already knew that ... Are you calling me retarded?
__________________
Kewl sign goes here
MatheusMARAN is offline
Send a message via MSN to MatheusMARAN
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 10-19-2010 , 14:30   Re: Gambit (Vectren / vittu)
Reply With Quote #35

I believe vittu is commenting on your comment at the cooldown
PHP Code:
// I really wanted to remove this, but kept the original behavior of the ol' gambit 
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-19-2010 , 17:40   Re: Gambit (Vectren / vittu)
Reply With Quote #36

little touchy, I wasn't saying anything like that.


G-Dog's correct. Post above adjusted to make more sense.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
MatheusMARAN
Junior Member
Join Date: Apr 2010
Location: Paraná, BR
Old 10-19-2010 , 20:24   Re: Gambit (Vectren / vittu)
Reply With Quote #37

Oh, about that... so sorry.
I meant to remove the "if (attacker != victim)" check so the plugin would enter onto the cooldown even if the player attacked itself.
__________________
Kewl sign goes here
MatheusMARAN is offline
Send a message via MSN to MatheusMARAN
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-19-2010 , 20:35   Re: Gambit (Vectren / vittu)
Reply With Quote #38

Quote:
Originally Posted by MatheusMARAN View Post
I meant to remove the "if (attacker != victim)" check so the plugin would enter onto the cooldown even if the player attacked itself.
Well I figured why penalize a player with a cooldown if they didn't manage to hurt anyone besides themselves. You know give the morons another chance, heh.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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:11.


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