Thread: [Release] [Store] Kill Awards
View Single Post
404UserNotFound
BANNED
Join Date: Dec 2011
Old 03-12-2013 , 20:13   Re: [Store] Kill Awards
Reply With Quote #5

Quote:
Originally Posted by eXemplar View Post
It should work with any mod that has userid and attacker fields in the player_death event, which as far as I'm aware is most (if not all) mods.

If you want to hold off a few days on your TF2 dealio I'll be looking at making this more generic into a "tasks" system, which let you give points based on any game event all done via config file. Should be relatively easy, just think I'm going to have to hardcode some common conditions (like same team) which some events would use.
I would hold off, but I'm actually very close to being done. I've just hit a snag or two with some of the events and the way I want to set them up. As I said earlier, I like your plugin, but it's very simplistic. The one I'm working on takes everything in TF2 into account, and enables a wide range of customization in the amount of credits you can get for getting kills via certain methods. For example, the event for when a player captures a point. I'm making it give all the players who captured a point some credits, then there's an additional CVAR that can be enabled to give the entire team a bonus amount of credits if one or more of their players captures the point.

As well, I've got it set up to use the Updater plugin, and I signed up over at BitBucket.org, so I can commit new versions whenever TF2 updates include new weapons or events, or if there's bugs to be fixed. As for config files, I'm just going to have mine do AutoExecConfig for now, just so I can get the plugin finished, and start testing it. If I feel like it, I might try my hand at making it use a config file like this one does.

OH, and by the way, I have to thank you. By checking this plugin's source code, I learned about the "new string: g_currencyname[64];" thing that I didn't know about originally, and I've been able to start converting my standard PrintToChat functions to use g_currencyname, and also utilize a translations file. I've already credited you in my "Credits & Special Thanks" part of the plugin's source code;

PHP Code:
// -------------------------------------------------------------------------------
// eXemplar
// I got the 'currencyname' stuff from his "[Store] Kill Awards" plugin. I had no
// prior clue about the "currencyname" string stuff before I looked at the source
// code of his plugin, then I was like "Oh snap, I should really implement that."
// ------------------------------------------------------------------------------- 

Last edited by 404UserNotFound; 03-12-2013 at 20:14.
404UserNotFound is offline