Raised This Month: $ Target: $400
 0% 

Experience Mode [Hide'N'Seek]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-01-2012 , 15:02   Experience Mode [Hide'N'Seek]
Reply With Quote #1

  • Description
This plugin is a Fun based plugin. you can earn experience per kill (Additional bonus experience per HeadShot.)


It has 30 levels in total. Every level has his each ammount of Experience to reach untill you get to the next level. On level 15 you can enable FlashBang every round. On level 30 you can enable smokegrenade every round.



The plugin also has prefixes before the players names. [Level: %i] Name: Message.



  • Commands
/xpm - Shows the experience menu
/playtime <name> - If no name entered, it will show your total playtime. If name entered, it will show the playtime of the entered name.
/xp - Shows your current xp
/resetxp - An admin with the flag IMMUNITY (a) is able to reset every single players Experience.



  • Cvars
xp_per_kill "20" - Experience gained per kill.
xp_per_hs "5" - Experience bonus gained per headshot.
xp_teamkill "20" - Experience decreased by teamkilling.
xp_prefix "XP Mode" - Prefix used before every sentence the plugin is outputting.


  • Credits
Bugsy - iHudMessage Code

  • Requirements
AMX Mod X 1.8.1 or higher
colorchat.inc
time.inc
nvault Module
cstrike Module
fun Module


  • nVault information
nVault saves using STEAM ID which means that this plugin only supports steam. It's saving on disconnect and loading on connect.

  • Installation
  1. Download: "XPMode.amxx", "time.inc", "colorchat.inc" and "time.txt"
  2. Put XPMode in plugins folder
  3. Put time.inc & colorchat.inc in scripting/include folder
  4. Open plugins.ini and type XPMode.amxx in it.
  5. Put time.txt in data/lang folder
  • Reason
Once i made this plugin for fun. I don't care if it get's unapproved or approved, i'm just glad it's getting released after a while, since a lot of people might find it usefull. Have fun.


Any other questions can be asked if not answer in this topic.
Cheers

Attached Thumbnails
Click image for larger version

Name:	2012-05-02_00001.jpg
Views:	2631
Size:	93.9 KB
ID:	103008   Click image for larger version

Name:	2012-05-02_00002.jpg
Views:	1275
Size:	94.6 KB
ID:	103009   Click image for larger version

Name:	2012-05-02_00003.jpg
Views:	1096
Size:	97.0 KB
ID:	103010   Click image for larger version

Name:	2012-05-02_00004.jpg
Views:	1047
Size:	72.6 KB
ID:	103011   Click image for larger version

Name:	2012-05-02_00005.jpg
Views:	988
Size:	71.3 KB
ID:	103012  

Click image for larger version

Name:	2012-05-02_00006.jpg
Views:	1114
Size:	82.8 KB
ID:	103013  
Attached Files
File Type: inc time.inc (3.7 KB, 693 views)
File Type: inc colorchat.inc (2.8 KB, 662 views)
File Type: txt time.txt (5.9 KB, 678 views)
File Type: sma Get Plugin or Get Source (XPMode.sma - 1805 views - 17.0 KB)
__________________

Last edited by Napoleon_be; 07-20-2012 at 21:05.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-01-2012 , 15:04   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #2

  • Changelog
Code:
Version 1.0.0: - 
First release
Version 1.0.1: -
Updated Menu.
Version 1.0.2: -
- Added 5 more levels (35 Total now) - Decreased Experience needed per level.
Version 1.0.3: -
- Some bug fixes - Added "[H'n'S GOD]" Prefix at lvl 35.
Version 1.0.4: -
- Added +1 Health per level you gain. for example, if you spawn and you're level 2, you will gain 2 extra health up to your standard health. 100 + 2 = 102.
Version 1.0.5: -
- Added a top15! Only for players who are in the server playing. Still working on it for begin a total top15!
__________________

Last edited by Napoleon_be; 07-20-2012 at 21:06.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 05-01-2012 , 15:25   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #3

Does those levels help in gameplay?
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-01-2012 , 15:37   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #4

Read my description part. When level 15, you are able to get flashbang every round. When 30, with smoke every round.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 05-01-2012 , 19:24   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #5

Make a sql version plz
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-02-2012 , 08:00   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #6

Quote:
Originally Posted by quark View Post
Make a sql version plz
I'm not good at sql...

EDIT: Added screenshots.
__________________

Last edited by Napoleon_be; 05-02-2012 at 08:06.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Swaycher
Senior Member
Join Date: Feb 2009
Location: Arg/MyHome/PawnStudio
Old 05-02-2012 , 12:40   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #7

You can pass this:

PHP Code:
new szPrefix[33]
new 
pPrefix

pPrefix 
register_cvar("xp_prefix""XP Mode")
get_pcvar_string(pPrefixszPrefixcharsmax(szPrefix)) 
to:

PHP Code:
new const szPrefix[ ] = "XP Mode" 

And.. you use fun for only 1 function (give_item) OMFG!, look my plug: forums.alliedmods.net/showthread.php?t=183665, it have many stocks (give_item included ).

Last edited by Swaycher; 05-02-2012 at 12:48.
Swaycher is offline
Send a message via MSN to Swaycher Send a message via Skype™ to Swaycher
BeeFighter
Member
Join Date: Feb 2012
Old 05-02-2012 , 16:15   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #8

PHP Code:
new pKill
new pHeadShot
new pKnife
new pTeamKill
new pPrefix
new gVault
new MaxPlayers
new SayText 
->

PHP Code:
new pKillpHeadShotpKnifepTeamkillpPrefixgVaultMaxPlayersSayText 



PHP Code:
new iPlayerLevel[33]
new 
iPlayerXP[33]
new 
szPrefix[33]
new 
iFlashBang[33]
new 
iSmoke[33
->

PHP Code:
new iPlayerLevel[33], iPlayerXP[33], szPrefix[33], iFlashBang[33], iSmoke[33
Just those things should be changed, makes it look bit more 'professional'
__________________
www.Gstar-Gaming.net

Servers:
Jailbreak
HidenSeek
Knife
Deathrun
Public

Join us now: www.gstar-gaming.net

Last edited by BeeFighter; 05-02-2012 at 16:15.
BeeFighter is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 05-02-2012 , 16:25   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #9

Quote:
Originally Posted by BeeFighter View Post
PHP Code:
new pKill
new pHeadShot
new pKnife
new pTeamKill
new pPrefix
new gVault
new MaxPlayers
new SayText 
->

PHP Code:
new pKillpHeadShotpKnifepTeamkillpPrefixgVaultMaxPlayersSayText 



PHP Code:
new iPlayerLevel[33]
new 
iPlayerXP[33]
new 
szPrefix[33]
new 
iFlashBang[33]
new 
iSmoke[33
->

PHP Code:
new iPlayerLevel[33], iPlayerXP[33], szPrefix[33], iFlashBang[33], iSmoke[33
Just those things should be changed, makes it look bit more 'professional'
In this post no sense.

Good work Napoleon_be!

Last edited by Lolz0r; 05-02-2012 at 16:26.
Lolz0r is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-02-2012 , 16:53   Re: Experience Mode [Hide'N'Seek]
Reply With Quote #10

Quote:
Originally Posted by Swaycher View Post
You can pass this:

PHP Code:
new szPrefix[33]
new 
pPrefix

pPrefix 
register_cvar("xp_prefix""XP Mode")
get_pcvar_string(pPrefixszPrefixcharsmax(szPrefix)) 
to:

PHP Code:
new const szPrefix[ ] = "XP Mode" 

And.. you use fun for only 1 function (give_item) OMFG!, look my plug: forums.alliedmods.net/showthread.php?t=183665, it have many stocks (give_item included ).
I'm making the prefix changeable for the admin. It's more "fun" for him

Im at my phone right one, but i will check it tomorrow. Thanks for the suggestion tho.

@lolz0r, thanks
__________________

Last edited by Napoleon_be; 05-02-2012 at 16:55.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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 19:27.


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