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

Brass Knuckle Frags w/ API


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-16-2012 , 19:59   Brass Knuckle Frags w/ API
Reply With Quote #1

This plugin is no longer supported.
Description
Here is an edit of the oh so loved Brass Knuckles. This plugin gives users brass knuckles, which replaces the knife, and when used knocks your enemy around a bit by changing where he looks. Giving you a nice "i just got punched in the face" effect. Along with the regular brass knuckles there is a point system (called frags) that allow you to level up through each kill, bomb point, suicide, and knife. The frags continue to progress and build, allowing you to level up. Each level has a different skill, as well as built-in capabilities for custom power-ups.

Levels
Level 0: Normal knife (typical knife damage w/ slight knock)
Level 1: Regular brass knuckles (typical knife damage w/ a heavy knock to disorient enemy)
Level 2: Run faster (gives you the ability to run a bit faster. just enough to over-take an enemy easier)
Level 3: Jump higher (you can jump a little higher)
Level 4: Stronger (this gives your brass knuckles a little harder of a hit. +15% by default)
Level 5: Reserved to allow for power ups
Level 32: Instakill (kill an enemy with a single punch)

Features
Aside from frags and levels this is what this plugin provides:
-Disorientation of opponent on hit
-Tells all clients when someone has bought BK (togglable through CVARs)
-Customizable through defines and cvars
-Fully toggleable (plugin, frags, damage, printall)
-Ability to have Brass Knuckles always replace knife (bk_cost -1) or free (bk_cost 0)
-Damage CVAR to edit how much extra damage a level 4+ will do
-Instakill level easily able to change/toggle
-Sound for when someone was killed by a player with instakill
-Commands to retrieve your frags/level
-Admin commands to give players frags or set their level
-Admin menu
-nVault capability to save your frags
-supercharged mode -more frags to level faster
-Multi-Lingual support
-HUD messages/Color CVARs
-Rank/stats system
-Logs
-Team Attack workings (if a user with BK team attacks- they get knocked around and extra damage is not done)
-Gravity reflects server's set gravity as well (in sv_gravity)
-API to let you develop and implement your own powers. Very easy to use, just include FragsBrass.inc and go from there!
-My own set of a few fun power ups (included in liver_bkpowers.sma)

Commands
User Commands:
say /buybk -purchases and enables brass knuckles
team_say /buybk -same thing
say /bkhelp -help message for Brass Knuckles
say /bk -help message
say /resetlevel -resets your frags to 5 (skip level 0)
say /level -prints your level
say /frags -prints your frag count
say /savefrags -saves your frags
say /loadfrags -Loads your frags from vault (fail safe system)
say /bkfstats -Shows you your Brass Knuckle Frags stats (frags/level/frags till next level)
say /bkfrank -Shows your rank against other players currently connected [beta]
say /powers -Gives you a list of powers you can set (level dependent)
say /removepower -Gives you a list of your powers so you can remove one or all

Admin Commands: (all require ADMIN_KICK except for vaultprune which requires ADMIN_BAN)
bkf_admin -shows the Brass Knuckle Frags admin menu
bkf_setlevel [user] [level] -sets the level of the user(name)
bkf_setfrags [user] [frags] -sets the frag count of the defined user
bkf_givefrags [user] [frags] -grants a defined amount of frags to the user
bkf_vaultprune [days] -how long ago you want records deleted (bkf_caultprune 30.5 will delete records older than 30 and a half days ago)


CVARs
brass_knuckles 1// <0|1> toggle plugin on and off
bk_printall 1 // <0|1> toggle printing the purchase of BK server wide
bk_cost 2500 // <-1-16000> sets the cost of BK >> -1 replace knife, 0 free
bk_frags 1 // <0|1> toggle point (frag) system on and off
bk_level_speed 40 // Extra speed given to player
bk_level_strength 25 // % extra damage done when strength is enabled -0 disable
bk_bomb_frags 1 // <0|1> toggle extra points for bomb objectives
bk_supercharged_frags 1 // <0|1> toggles supercharged mode.
bk_teamattack 1 // <0|1> Reverses knock of Team Attack & displays HUD message
bk_attack_color "255000255" // RRRGGGBBB format color for Team Attack HUD message
bk_levelup_color "050255050" // RRRGGGBBB format color of Level Up HUD message
bk_powerup_color "181181181" // RRRGGGBBB format color for Power Up HUD message
bk_one_power_level 5 // Level to enable extra powers
bk_two_powers_level 9 // Level for 2 extra powers
bk_three_powers_level 12 // Level for 3 extra powers
bk_log_vault 0 // <0|1> Toggles logging of nVault events

Modules
Fun
Fakemeta
Engine
cstrike
csx
nvault
hamsandwich

Installation
Download the source of all extensions and core, FragsBrass.inc and colorchat.inc and compile locally
Put the compiled plugins into your /amxmodx/plugins folder
Update your plugins.ini to include "frags_brass.amxx" and any extensions you may have
Make sure your modules.ini has all relevant modules enabled
extract the zip to your /cstrike or /czero folder accordingly
Restart server or change map
Profit

Notes
colorchat include attached, also available @ https://forums.alliedmods.net/showthread.php?t=94960
I'm still developing the plugin. I'll update the source with changes as i get them
Still have a bit to do, but this is a tested and running version.
It compiles successfully
API IS HERE!!!

To Do List
Multi-lingual translations
Powers
Powers Menu

Knife Fight (with or without betting frags)
Skin for level0 knife (anyone wanna make me a brass kuckles knife?)
SQL support to replace nVault or option between the two
Scoring Player min (require a minimum amount of players before scoring begins)
Fix speed walk bug

Known Bugs
I am working on these bugs while i can but they don't hinder the function of the plugin
Please report any other bugs you find in the forum below

When deleting a power (if you have too many powers) the selected power does not get applied
Some powerups malfunction under certain circumstances
Players with speed powerups make sounds while walking (not while crouching)

Translated Languages
[en]
[es] -Thanks, Tallulah
Partially Translated Languages (based on old release)
[sk]
[ro]

Spoiler
Attached Files
File Type: inc colorchat.inc (5.9 KB, 379 views)
File Type: zip bkf.zip (495.0 KB, 244 views)
File Type: sma Get Plugin or Get Source (bkf_base_powers.sma - 922 views - 5.6 KB)
File Type: sma Get Plugin or Get Source (frags_brass.sma - 914 views - 86.9 KB)
File Type: txt fragsbrass.txt (13.3 KB, 362 views)

Last edited by Liverwiz; 02-23-2016 at 23:26. Reason: Discontinue Support
Liverwiz is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-16-2012 , 19:59   Re: Brass Knuckle Frags
Reply With Quote #2

Currently Working On:
My tan

Coming soon:
No more support

Last edited by Liverwiz; 02-23-2016 at 23:28. Reason: Goodbye
Liverwiz is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-16-2012 , 20:00   Re: Brass Knuckle Frags
Reply With Quote #3

THE API IS HERE!
Here are some of the powerups that i've made as well as the API (include file) used to run them.
This is a hit in my server and has become very addicting. If you have any ideas for more powers please feel free to post your own extensions, or just throw out some ideas and if i have time, and deem them worthy, i will write them myself.

Any extensions of powers i like i will post links to those threads here. My powers i will also attach in this post. Please make sure you powers are functioning before you post them. Otherwise they will not be linked.
Attached Files
File Type: inc FragsBrass.inc (5.3 KB, 307 views)
File Type: sma Get Plugin or Get Source (bkf_base_powers.sma - 874 views - 5.6 KB)
File Type: sma Get Plugin or Get Source (liver_bkpowers.sma - 978 views - 16.4 KB)
File Type: sma Get Plugin or Get Source (liver_advancedbkp.sma - 943 views - 3.6 KB)

Last edited by Liverwiz; 09-18-2012 at 14:22. Reason: Added API and powerups
Liverwiz is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-29-2012 , 12:54   Re: Brass Knuckle Frags
Reply With Quote #4

UPDATED! v2.1

INCLUDES: bug fixes, supercharged mode, admin menu, /savefrags command, efficiency, and other little things. See the source for more information.
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
leonard19941
Veteran Member
Join Date: Jun 2011
Old 05-30-2012 , 06:39   Re: Brass Knuckle Frags
Reply With Quote #5

Suggestions:

Add a multi languages.


I have a doubt, is a knife mod?
__________________
leonard19941 is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 05-30-2012 , 10:45   Re: Brass Knuckle Frags
Reply With Quote #6

Quote:
Originally Posted by leonard19941 View Post
Suggestions:

Add a multi languages.


I have a doubt, is a knife mod?
Multi-language is on my to-do list, i just need to find the time to figure it out.
What do you mean "is a knife mod?"

EDIT: Multi-language support is NOW RELEASED! Put in your translations.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-03-2012 at 14:25.
Liverwiz is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 05-31-2012 , 17:10   Re: Brass Knuckle Frags
Reply With Quote #7

Excellent!
GJ!
pokemonmaster is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-03-2012 , 14:23   Re: Brass Knuckle Frags
Reply With Quote #8

UPDATE! v2.2

Now includes: Multi-Lingual support, efficiency changes, few tweaks

NOW LOOKING FOR TRANSLATORS!
Please post your translations.

Here's that thread....http://forums.alliedmods.net/showthread.php?t=186837
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-04-2012 at 12:50.
Liverwiz is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-04-2012 , 08:34   Re: Brass Knuckle Frags
Reply With Quote #9

You'd be better off going to multilingual to get translations.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-12-2012 , 00:40   Re: Brass Knuckle Frags
Reply With Quote #10

UPDATED! v2.3.5

This is now a functional (beta) release
Worthy of install to get used to it and see what you think.

includes: bug fixes -lots of them, optimizations, HIGH_SPEED define to easily change how fast you run when you are a level 2+, good values for powerups (gravity/speed), working levelup sound, STEAM_ID_PENDING mitigation, and other stuff added to the source for developers.

ENJOY! let me know what you think.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-12-2012 at 00:42.
Liverwiz 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 08:40.


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