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

[TF2] Cosmetic Leveling Mod (v0.1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Matheus28
Senior Member
Join Date: Aug 2009
Old 02-22-2010 , 14:05   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #21

The levels should be permanent
Or maybe you don't know how to do it
Matheus28 is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 02-22-2010 , 17:06   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #22

hacked together using clientprefs and my include: permanent levels.
not pretty yet, it says "level up" when you spawn the first time.
Attached Files
File Type: sp Get Plugin or Get Source (permanentlevels.sp - 171 views - 1.6 KB)
Thrawn2 is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 02-22-2010 , 17:12   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #23

Yeah, but I think that if the server crashes for any reason, the levels will be lost.
Mysql is the best solution for this.
Matheus28 is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 02-22-2010 , 17:18   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #24

uhm, wait, what?
Quote:
The Client Preferences extension is bundled with SourceMod 1.1 and higher. It lets you associate key/value pairs with clients who connect to servers. This information persists across client connections, and therefore across map changes and server restarts, and even servers.
clientprefs api
you can configure clientprefs to use mysql.
Or maybe you don't know how to do it

Last edited by Thrawn2; 02-22-2010 at 17:22.
Thrawn2 is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 02-23-2010 , 01:01   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #25

Yay, I'm lazy again. Sorry, I was working on a map today. Use the plugin Thrawn posted above for permanent levels, I'll update everything ASAP.
noodleboy347 is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 02-27-2010 , 11:06   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #26

Some feedback / ideas :

- Work very nice
- Medic assist isn't considered (?)
- Customizable hud colors (?)
- The fact that it's only cosmetic makes it fun
__________________
Cerise is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 02-27-2010 , 14:33   Re: [TF2] Cosmetic Leveling Mod (v0.1b)
Reply With Quote #27

Quote:
Originally Posted by Cerise View Post
Some feedback / ideas :

- Work very nice
- Medic assist isn't considered (?)
- Customizable hud colors (?)
- The fact that it's only cosmetic makes it fun
Thanks for the feedback.

Medic will get EXP for assists in the next update. HUD colors is possible I suppose.
noodleboy347 is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 02-27-2010 , 15:23   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #28

Quote:
  • Version 0.1.2 - [2/27/10]
    -Added cvar clm_exp_onassist
    -Added cvar clm_exp_onassist_medic
    -Added cvar clm_exp_damage_mult
    -Improved client checks
    -Added FCVAR_NOTIFY to the version cvar
Untested, I can't really test assists on a LAN server with bots.
noodleboy347 is offline
Keiii
Junior Member
Join Date: Mar 2010
Location: Austria, Linz
Old 03-03-2010 , 18:22   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #29

the assist cvar doesnt work (at least for me)
medic assist cvar doesnt work too

with permanentlevels if you rejoin you everytime just need 60 EXP
if you are level 4 (80 EXP needed) you just rejoin and you just need 60 for level 5

but every other thing is just great!
FANTASTIC PLUGIN!
Keiii is offline
Send a message via Skype™ to Keiii
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 03-04-2010 , 00:15   Re: [TF2] Cosmetic Leveling Mod (v0.1.2)
Reply With Quote #30

Quote:
Originally Posted by Keiii View Post
the assist cvar doesnt work (at least for me)
medic assist cvar doesnt work too

with permanentlevels if you rejoin you everytime just need 60 EXP
if you are level 4 (80 EXP needed) you just rejoin and you just need 60 for level 5

but every other thing is just great!
FANTASTIC PLUGIN!
Thanks for the heads up. I'll look into that. The permanent levels is not my problem though, I never wrote that part.
noodleboy347 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 20:23.


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