Xmas and Easter Presents Spawner (with SQL support)
5 Attachment(s)
Xmas and Easter Presents Spawner (with SQL support) Version 1.5
by MaximusBrood Description: This plugin allows you to create spawnpoints, on which Xmas presents or Eastereggs will drop every round. You can also just drop the presents on command, while being alive or in spectator mode. With CS there is a money reward, all other mods have to do it without, although Lt. Llama made a modification of my original easteregg mod. http://www.gotjuice.nl/extImg/xmasPresents.jpg...http://www.gotjuice.nl/extImg/eastereggs.jpg Defines: Code:
#define EASTER Code:
#define USING_CSTRIKE Presents will not yield money if you comment it. Code:
#define USING_DATABASE You also need to fill in all the DATABASE_ defines. It's currently not possible to use the database functionality without having USING_CSTRIKE enabled. (The PHP webpages will be posted shortly) You will have to add the table manually, this is the layout: Code:
CREATE TABLE `presentStats` ( amx_spawnpresent - Spawn a present at your current location with a 2,5 sec delay. fillfillfillfillfillfillfillfillfillfiYou can do this when you are spectator too! amx_removepresents - Remove all presents on the map. amx_addpresentspawnpoint - This command will add you current location to a file with spawnpoints. fillfillfillfillfillfillfillfillfillfillfillf iffFrom then on, every new round, three eggs (default) will fall from that spot. Cvar's: sv_presentamount - Amount of presents that will fall from a spawnpoint every round (default is 3) sv_removepresents - Controls whether to remove all presents before spawning new ones at a new round. fillfillfillfillfillfillfillfillfillfillfiff This is recommended. If you don't turn this option on, the map will quickly become a mess. (default is 1) Required Modules:
About the downloads: You can see two versions of the plugin to download, but in fact, they are both the same. The only difference is that presentsSpawnerSQL.sma has "#define USING_DATABASE" uncommented, while presentsSpawner.sma has not. Special TFC Version: Lt Llama made a very nice modification on my original easteregg plugin, this is for Team Fortress Classic only. You can find that modification here: http://www.euroskillz.eu/amxmodx/chr.../christmas.zip Notes:
|
Re: Xmas and Easter Presents Spawner
Presents spawner with SQL stats!
As an extra I integrated my presents plugin with a MySQL database, this is the result: General info about the Easter contest Top 10 of the best collecting players on Gotjuice http://www.gotjuice.nl/extImg/easterStats.png The PHP sourcecode will be uploaded soon. |
Re: Xmas and Easter Presents Spawner
Two words: Frikking sweet! :up:
|
Re: Xmas and Easter Presents Spawner
Quote:
Nice plugin also! (Would give you ) +Karma (if i could) |
Re: Xmas and Easter Presents Spawner
I can only concur :D.
I was almost ready to start CS when I saw this plugin, but i restrained myself ;). I was thinking of something similar, and came to the plugins depository to look if there was anything in there. I found MaximumBroods plugin well written, and I began to chop it up and make it something he probably would be ashamed of having anything to do with :D. Well, anyway, christmas is christmas, and I was in a hurry, so if you want this for TFC and become a very popular admin, then download my version :D. Here is the info you need if you are going to use the TFC version: Code:
If you want to see it in action then download this avi http://files.filefront.com/Christmas...220;;/fileinfo. Thanks again Max for implementing some of my corny stuff. /Lt. |
Re: Xmas and Easter Presents Spawner
Very nice.
Approved. :wink: |
Re: Xmas and Easter Presents Spawner
I'll add this plugin to the Translation forum soon.
If you already want to provide translations, just PM me :) |
Re: Xmas and Easter Presents Spawner
Gj......+karma
|
Re: Xmas and Easter Presents Spawner
Quote:
|
Re: Xmas and Easter Presents Spawner
This plugin seems nice but i have some questions
1 Is there a cvar 2 stop Eastereggs and just leave Xmas presents on? 2 I see we have a folder with maps ini these ini's are in fact spawnspots 4 presents and if they are how will i go about adding spawnspots on the rest of my 40 maps? |
All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.