Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-01-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
January 24, 2013, 09:55:28 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [TF2] XP, GOLD, and DIAMOND Presents "GIFTS"  (Read 106 times)
-El Diablo
Sr. Member
****
Posts: 252


View Profile
« on: December 24, 2012, 05:25:03 AM »

Thsi plugin was made in a quick hurry, sorry it has no translations files requirement or what not.

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 Smiley


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. Tongue

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.

« Last Edit: December 24, 2012, 07:08:11 AM by -El Diablo » Logged
Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #1 on: December 24, 2012, 05:49:14 AM »

Hey, thats cool Cheesy

CS:S has a gift model by default:
Code:
models/items/cs_gift.mdl

« Last Edit: December 24, 2012, 05:52:20 AM by Revan » Logged

#war3source
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2169



View Profile WWW
« Reply #2 on: December 24, 2012, 12:43:28 PM »

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

so what model does cs get?
Logged

DarkEnergy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!