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

Buy a Helmet v0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   EKS (166)
VEN
Veteran Member
Join Date: Jan 2005
Old 12-06-2005 , 13:15   Buy a Helmet v0.2
Reply With Quote #1

          • Buy a Helmet
Introduction
  • Do you ever want to buy just a helmet without kevlar vest? Now it is possible!
    Sometimes it may be logically to buy only helmet in case you have enough armor.
    All you need to do it is just bind a client console command "helmet" to a button.
    Note: if you have no armor at all your helmet is useless (as CS standard behaviour).
Features
  • Plugin was successfully tested and comply all appropriate CS standards:
    • - helmet cost = kevlar vest and helmet cost - kevlar vest cost = $350 (may be changed)
      - buy helmet sound the same as kevlar vest/(and helmet) buy sound (may be changed)
      - displaying of armor/helmet HUD icon is correct at any time/state
      - buy helmet process absolutely obey all CS buy standards:
      • - you must be alive
        - you must be in buyzone
        - obey buytime limit + CS standard center text message
        - you can't buy a helmet if you already have one + CS standard text center message
        - you must have enough money + CS standard text center message
Modules
  • fakemeta
Options
  • HELMET_COST - helmet cost (default: 350)
    HELMET_BUY_SOUND - helmet buy sound filename (default: "items/ammopickup2.wav")
Commands
  • helmet - allows to a player buy a helmet
CVARs
  • I didn't include any cvars intentionally (in my opinion there are nothing needed to be changed).
    I assume no one would ask for plugin on/off cvar (i think it must be always "on" like CS default).
    Anyway you can pause/stop plugin if you wish (use amx_pausecfg console command for details).
Versions
  • 0.2
    • cstrike module not required anymore
      reorganized nearly from scratch
      added AMD64 processor support
    0.1
    • first release
Thanks
  • OneEyed - get armor type idea come from his "CS Armor Drop" plugin
    Damaged Soul - his "Message Logging" plugin very useful
Attached Files
File Type: sma Get Plugin or Get Source (buyhelmet.sma - 2793 views - 10.0 KB)
VEN is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-06-2005 , 15:39  
Reply With Quote #2

Nice, but Cheap Suit made this before. Same thing i believe.
__________________
bmann_420 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-07-2005 , 04:07  
Reply With Quote #3

He made a plugin for non-standard helmet and afterwards it was trashed.
As far as i know such plugin was never released before and it has unique features which similar to CS standards.
VEN is offline
aLpiNe^cLuBz
Member
Join Date: Dec 2005
Old 12-23-2005 , 02:54  
Reply With Quote #4

Heh, nice. I always thought about this...
__________________
AlpineRP - Working on...
HaloMod - Working on...
aLpiNe^cLuBz is offline
Send a message via AIM to aLpiNe^cLuBz
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 12-29-2005 , 09:06  
Reply With Quote #5

One suggestion:
Could you add a kevlar check so if the user has no kevlar then send a message "You have no armor"/Adding 0.00000001 in armor to the user(1 if that is not possible)
__________________
Sig(h)!
Obbin is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-29-2005 , 11:47  
Reply With Quote #6

Well, as plugin description says:
Quote:
Note: if you have no armor at all your helmet is useless (as CS standard behaviour).
0.000001 or 1 - doesn't really matter you'll get almost same effect with armor 0.

The point of plugin is allow buy a helmet if you already have some armor to economize $650.
VEN is offline
*R!gG3d
Junior Member
Join Date: Feb 2006
Location: Lakewood CA
Old 03-01-2006 , 12:36  
Reply With Quote #7

So when you go to buy a helmet and armor it won't work.... right?
__________________
*R!gG3d is offline
Send a message via AIM to *R!gG3d Send a message via Yahoo to *R!gG3d
VEN
Veteran Member
Join Date: Jan 2005
Old 03-01-2006 , 13:03  
Reply With Quote #8

No, this plugin doesn't limit any functionality.
It adds ability to buy a helmet (without vest).
So if you bought vest before and you still have enough armor you can buy only helmet.

EDIT:

Maybe you mean the following situation?

If you already have a helmet and some armor and trying to purchase vest+helmet then you would buy only vest.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-28-2006 , 11:17  
Reply With Quote #9

Version 0.2 released.
  • cstrike module not required anymore
    reorganized nearly from scratch
    added AMD64 processor support
VEN is offline
ali_zkz
Member
Join Date: Jan 2006
Old 11-18-2006 , 22:41   Re: Buy a Helmet v0.2 released
Reply With Quote #10

--------------------------------------------------------------------------------
why canot this work on cs 1.5?
and what should i do to mangage it?
thx
ali_zkz is offline
Reply



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 02:54.


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