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

Melee Settings 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Earth's Special Forces        Category:   Gameplay        Approver:   Hawk552 (427)
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 08-29-2009 , 08:43   Melee Settings 1.0
Reply With Quote #1

Description:
Another plugin for Earth's Special Forces.

Some people (mostly good players) get pissed off when some noob attacks them non-stop with advanced melee. Or maybe some admin noob would like to have an advanced melee-only server setting.
Command:
amx_melee <1|2|3|4|0> - normal/basic only/adv. only/1.1 melee/disabled
  • 1 - normal ESF 1.2.3 melee;
  • 2 - disables adv. melee leaving only the simple one (FTW);
  • 3 - disables simple melee leaving only the adv. one (FTL);
  • 4 - sets melee to the one that was seen in ESF 1.1;
  • 0 - disables melee leaving only the beams and other attacks.
Note:
I recomment writing amx_melee <your chosen setting> in amxx.cfg, otherwise it will change back to normal mode after the mapchange.
Attached Files
File Type: sma Get Plugin or Get Source (meleesettings.sma - 1229 views - 2.8 KB)
__________________

Last edited by hleV; 08-29-2009 at 09:25.
hleV is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-29-2009 , 08:46   Re: Melee Settings 1.0
Reply With Quote #2

Quote:
Modification: ALL
What about
PHP Code:
    RegisterHamHam_Weapon_PrimaryAttack,   "weapon_knife""FwdHamKnifePrimaryAttack" );
    
RegisterHamHam_Weapon_SecondaryAttack"weapon_knife""FwdHamKnifeSecondaryAttack" );

public 
FwdHamKnifePrimaryAttackiKnife ) {
    
ExecuteHamHam_Weapon_SecondaryAttackiKnife ); // just example
    
    
return HAM_SUPERCEDE;

__________________
xPaw is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 08-29-2009 , 09:13   Re: Melee Settings 1.0
Reply With Quote #3

That won't work in ESF.

For adv. melee, you don't have to press primary attack button. And since I have to use FM's CmdStart because of that, I'm not planning to add Ham for the secondary attack.
__________________
hleV is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 08-29-2009 , 09:42   Re: Melee Settings 1.0
Reply With Quote #4

nice, , but esf goes down and that sux :/
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-07-2009 , 02:20   Re: Melee Settings 1.0
Reply With Quote #5

This plugin needs testing. If anyone can report that it does or doesn't work, please post.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approval pending on changes.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-19-2009 , 16:47   Re: Melee Settings 1.0
Reply With Quote #6

Quote:
Originally Posted by tuty View Post
nice, , but esf sux :/
__________________
- tired and retired -
ConnorMcLeod is offline
Deathshot
Junior Member
Join Date: Jul 2005
Old 09-23-2009 , 05:15   Re: Melee Settings 1.0
Reply With Quote #7

It worked for me. Nice plugin hleV.
Deathshot is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-21-2009 , 12:33   Re: Melee Settings 1.0
Reply With Quote #8

This plugin is well done.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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:38.


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