[TF2] ServerGifts
3 Attachment(s)
Information:
Spawns a gift with a random weapon in it on Domination, Revenge, First Blood or command. This also has a very rare chance of giving the player a rare weapon (Golden Wrench, Saxxy, Big Kill, etc.) Commands: sm_servergifts - Creates a gift. ConVars: sm_servergifts_giftsondeath [Default: 1] - Enable/Disable creating gifts on victim death. sm_servergifts_rareweapons [Default: 1] - Enable/Disable rare weapons. sm_servergifts_rarechance [Default: 200] - The chance for a rare weapon to drop. sm_servergifts_bots [Default: 1] - Enable/Disable spawning gifts on bots. sm_servergifts_botsonlymvm [Default: 1] - Enable/Disable spawning gifts on bots only in Mann vs Machine. Requires sm_servergifts_bots to be 1. Credits: DarthNinja for the Fake Gifts plugin, from which this was made out of. Chaosxk for some code from his Gift mod. (spawning code, particles, etc.) To do: - Add Updater support. - Add different abilities using TF2Attributes, as well as a ConVar to enable/disable the abilities and weapons. Changelog: 1.2.1: - Added the sm_servergifts_bots and sm_servergifts_botsonlyinmvm ConVars. 1.2.0: - Added new weapons from the "Love & War" update. - The plugin now accurately shows the version number. - Added the Gold Frying Pan as a rare item. - Added all "Bread Monster" items as rare items. 1.1.2: -Fixed a crash that involved trains. 1.1.1: - Fixed "Array index is out of bounds" error. - Added "sm_servergifts_rarechance", which allows the ability to change the drop chance of rare weapons. 1.1.0: - Added more rares: - All Botkiller weapons. - The Horseless Headless Horsemann's Headtaker. - Added "sm_servergifts_rareweapons", which allows enabling or disabling of rare weapons. - Added translations. 1.0.0: - Release Requirements: - TF2Items: Get it here. - TF2Items Give Weapon: Get it here. - TF2Attributes (Will be added in a future version.): Get it here. - Updater (Will be added in a future version.): Get it here. |
Re: [TF2] ServerGifts
I like it. Good work.
|
Re: [TF2] ServerGifts
Quote:
NEW VERSION RELEASED! 1.1.0: - Added more rares: - All Botkiller weapons. - The Horseless Headless Horsemann's Headtaker. - Added "sm_servergifts_rareweapons", which allows enabling or disabling of rare weapons. - Added translations. 1.1.1: - Fixed "Array index is out of bounds" error. - Added "sm_servergifts_rarechance", which allows the ability to change the drop chance of rare weapons. |
Re: [TF2] ServerGifts
Very cool idea, nice work.
|
Re: [TF2] ServerGifts
Valve allowed this??
Thanks. |
Re: [TF2] ServerGifts
Quote:
|
Re: [TF2] ServerGifts
Quote:
https://forums.alliedmods.net/showthread.php?p=1337899 |
Re: [TF2] ServerGifts
I was testing this and appears its causing a server crash when you go to pick them up.
|
Re: [TF2] ServerGifts
Quote:
Then the case of crash might be killing entity without restoring it's normal size. |
Re: [TF2] ServerGifts
Quote:
|
All times are GMT -4. The time now is 23:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.