If someone could make a version of this plugin with translations I would be grateful.
All the sounds and source code is in the zip file. There is no compiled version as you will need to compile it yourself.
4 sounds, cheer, holy shit, oh disappointment, and pigs
There are about 4 gifts out of 25 that are "bullshit" gifts, in other words they will do something bad to the player whom picks them up.
You will need sm_beacon, and sm_timebomb in order for those to work correctly.
If a player grabs more than 3 gifts in the round the player will hear the pigs sound and run around in the loser state for about 6 seconds. At one time we had it at 30 seconds, but players sometimes bump into the packages and get into that state for no reason.
Feel free to modifiy this plugin how it fits your server.
I'm sorry, most of the coding is for TF2 only. Maybe you can create a MODEL of a present for your server if it is not TF2 and create non-TF2 stuff for your server. If you do create a version that is not TF2, please share it with the War3Source community

The gifts are Gold, XP, And Diamonds.
It uses the Halloween Present Model for TF2.
Please use the GPS Race I created in order to find locations on your map for placements of presents.
Default we used pl_barnblitz map. You can change the name in the source code and also change the locations.
It will not start until the setup is complete, it is preferable you create a different map using a Payload structure.
REQUIRES SDKHOOKS AND WAR3SOURCE
Download and compile the War3Source_Addon_Gifts.sp and War3Source_Addon_GPS_RACE_map_location.sp
The War3Source_Addon_GPS_RACE_map_location.sp will be the race to help you find new locations for presents, if you wish to use new locations or even a different map. It has the map location on +ability and no clip on/off with using +ability2. I only suggest using this on your test server and don't let your players use it.

The War3Source_Addon_Gifts.sp you can modify as you feel fit for your server. It is the main core of this project. You will need sounds, you can download them from the ZIP file (which includes the source code too)
-----
updated:
- added game check for CS model
- Now no longer prints to chat all for every map, and only for the map that you entered in the source code.




Logged





DarkEnergy