Raised This Month: $ Target: $400
 0% 

[L4D2] Gun Xp Mod + Unlocks Shop


Post New Thread Reply   
 
Thread Tools Display Modes
Author
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Plugin ID:
1472
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Kill enemies to get stronger and to get better weapons!
Old 02-14-2010 , 13:56   [L4D2] Gun Xp Mod + Unlocks Shop
Reply With Quote #1

-.Description.-

It displays menu with weapons, each weapon requires needed level, by killing enemy you get experience points. And with needed experience points you get level up!
-.Requirements.-

SDK Hooks 1.3 - Download pack for Left 4 Dead 2 game.
SourceMod >=1.3.4

-.Commands / Cvars.-

!level - To show your data info.
!guns - To re-open weapon menu.
!ul - Open Unlocks Shop.

gxm_saveby "0" - Save Data by : 1 = MySQL, 0 = SQLite.
gxm_savetype "2" - Save Data by : 0 = SteamID, 1 = IP, 2 = Name.

gxm_restrict_guns "1" - Restrict weapon picking, based on levels? 1 - Yes, 0 - No.
gxm_remove_guns "1" - Remove weapons from the ground? 1 - Yes, 0 - No.

gxm_xp_kill_infected "2" - XP for killing infected/entity.
gxm_xp_kill_survivor "5" - XP for killing survivor.
gxm_xp_kill_smoker "5" - XP for killing smoker.
gxm_xp_kill_boomer "5" - XP for killing boomer.
gxm_xp_kill_hunter "5" - XP for killing hunter.
gxm_xp_kill_spitter "5" - XP for killing spitter.
gxm_xp_kill_jockey "5" - XP for killing jockey.
gxm_xp_kill_charger "5" - XP for killing charger.
gxm_xp_kill_witch "5" - XP for killing witch.
gxm_xp_kill_tank "5" - XP for killing tank.

gxm_menu_time "30" - Time when the menu will be destroyed.
gxm_menu_delay "3.0" - Delay to diplay menu when player spawned.
gxm_menu_reopen "1" - Enable menu re-open by command !guns ? 1 - Yes, 0 - No.
gxm_menu_reopen_auto "180.0" - >0 - Amount of time that menu shall open, 0 - Don't reopen.

gxm_enable_top10 "1" - Enable !top10 ? 1 - Yes, 0 - No.

Note : Go to configs/databases.cfg to edit MySQL settings.
Attached Files
File Type: zip GunXpMod.zip (12.8 KB, 7671 views)
__________________

Last edited by xbatista; 02-23-2011 at 05:57. Reason: Update
xbatista is offline
Send a message via Skype™ to xbatista
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-14-2010 , 13:57   Re: [L4D2] Gun Xp Mod
Reply With Quote #2

It's only BETA for now.
__________________
xbatista is offline
Send a message via Skype™ to xbatista
kiwi87
Member
Join Date: Sep 2009
Old 02-14-2010 , 18:26   Re: [L4D2] Gun Xp Mod
Reply With Quote #3

Care to elaborate on this instruction?
"Note : Go to configs/databases.cfg to edit MySQL settings."

Something like this?
"xxx"
{
"xxx"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "xxx"
"user" "xxx"
"pass" "xxxx"
}

}

what should it be for yours to work?
name of the database?

>.<! thanks.
kiwi87 is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-14-2010 , 22:23   Re: [L4D2] Gun Xp Mod
Reply With Quote #4

You need to install MYSQL
alexip121093 is offline
Send a message via MSN to alexip121093
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-15-2010 , 03:00   Re: [L4D2] Gun Xp Mod
Reply With Quote #5

Code:
	"default"
	{
		"driver"			"default"
		"host"				"HOST" // <-- your host "IP" adress
		"database"			"DATABASE NAME" // <-- The database name
		"user"				"USER" // <-- User of this host
		"pass"				"PASSWORD" // <-- User's password
		//"timeout"			"0"
		//"port"			"0"
	}
__________________
xbatista is offline
Send a message via Skype™ to xbatista
kiwi87
Member
Join Date: Sep 2009
Old 02-15-2010 , 04:43   Re: [L4D2] Gun Xp Mod
Reply With Quote #6

Hello xbatista!
  • The plugin actually restricts the type of weapons you can use. Basically a lvl 0 can only use pistol. A level 10 maybe AK47?
  • Plugin allows you you to select your weapon at start which means you can use tier2 weapons even if the safe-room only have tier1, could be imbalanced especially Dead Center first map.
  • Another thing i notice is !guns doesn't seem to work. Only at start the menu pops by default.
  • Database trace xp by ip. Is it possible to make it trace by name? As clients ip could be dynamic and prone to changes
  • Some other perks i can think of from levels are
  1. More Health if higher level
  2. Can revive faster
  3. Basically unlock perks such as the one in perkmod? As weapons are kind of imbalanced unless you set the exp to really high to be able to select weapons at start
  • Probably something like !top10 to view the top level players like most MMORPG would do haha~
  • Auto create cfg would be nice too
As i'm using rank system now but often players ask me, whats rank for? I tell them, "self-achievement". If they ask me whats level for? I'll tell them. Perks

Thanks for plugin i hope u can continue supporting it and eventually full release from beta!

Last edited by kiwi87; 02-15-2010 at 04:49.
kiwi87 is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-15-2010 , 04:48   Re: [L4D2] Gun Xp Mod
Reply With Quote #7

Thanks! I'll correct bugs and add your requests.
__________________
xbatista is offline
Send a message via Skype™ to xbatista
kiwi87
Member
Join Date: Sep 2009
Old 02-15-2010 , 05:27   Re: [L4D2] Gun Xp Mod
Reply With Quote #8

Hey xbatista, you might wanna upload the .smx directly cause of the the color.inc it cannot be compiled by the web compiler

Haha let more people test this out~
kiwi87 is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-15-2010 , 06:09   Re: [L4D2] Gun Xp Mod
Reply With Quote #9

@kiwi87 Look at the Requirements, also needs to download SDK Hooks, compile gunxpmod.sp localy.

Btw
Quote:
The plugin actually restricts the type of weapons you can use. Basically a lvl 0 can only use pistol. A level 10 maybe AK47?
Yes, you can pick up guns only that ,which level you are.
Quote:
Another thing i notice is !guns doesn't seem to work. Only at start the menu pops by default.
Fixed.
Quote:
Database trace xp by ip. Is it possible to make it trace by name? As clients ip could be dynamic and prone to changes
Done, added new cvar.
Quote:
Probably something like !top10 to view the top level players like most MMORPG would do haha~
Done top10.
Quote:
Auto create cfg would be nice too
For what?

And about perks, there are already made in Approved Plugins.
__________________

Last edited by xbatista; 02-15-2010 at 06:24.
xbatista is offline
Send a message via Skype™ to xbatista
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-15-2010 , 06:48   Re: [L4D2] Gun Xp Mod
Reply With Quote #10

if there are perks unlock in this plugin will be perfect.

eg 5 lv. more ammo reserve
10 lv . more ammo damage
12 lv . Fast Reloading
15 lv . exploive ammo
alexip121093 is offline
Send a message via MSN to alexip121093
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 09:24.


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