View Single Post
Author Message
Leeson
New Member
Join Date: Nov 2020
Old 11-24-2020 , 20:13   [CSS] Gift Grab Achievement Fix (1.00) [25-Nov-2020]
Reply With Quote #1

About:
  • Replicates the Gift Grab 2011 event that Valve had for the game.
  • Same event window used for what v72 (2011 Chirstmas) of the game had.
  • Event window of 1st of December to 1st of January the next year (inclusive).
  • Gifts have a drop rate of 20% when players die (same as 2011 event).
  • Fixes the Gift Grab achievement by allowing progress to be made by the dropped gifts.

Installation:
  1. Download the .smx file and place it in your servers \addons\sourcemod\plugins folder.

To note:
The gifts won't drop or count unless the machine running the server has it's system date between 1st December to 1st January. So you can either wait for this date or if your okay with changing your date for seasonal achievements then that's also an option.

Credit to:
Zephyrus for code around rotating the gift box from their Gifts plugin
Silvers for the really helpful UserMsg Hooks plugin that helped me understand usermessages.
Attached Files
File Type: sp Get Plugin or Get Source (giftgrab.sp - 2030 views - 2.9 KB)

Last edited by Leeson; 11-24-2020 at 20:26.
Leeson is offline