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

War3:Source
September 21, 2012, 09:39:52 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: [Packaged][TF2] More ressources for medics  (Read 788 times)
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« on: October 16, 2010, 07:53:49 AM »

This plugin gives Medics more exp and gold when they assist in a kill. The multiplier for this can be set with 2 cvars, default is 1.5x XP and 2x gold. This obviously does not work on anything but TF2.

Requires tf2_stocks to compile.

Changelog:
  • 1.2: Added convars war3_addon_medic_ressources_xp_mul and war3_addon_medic_ressources_gold_mul
  • 1.1: Updated with failstate accordingly to Ownz suggestion
  • 1.0: Release
« Last Edit: December 05, 2010, 10:56:28 PM by Ownz » Logged

iceman
Full Member
***
Posts: 160



View Profile
« Reply #1 on: October 16, 2010, 08:26:05 AM »

Thanks, been needing this for a long time. I will try it out.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #2 on: October 16, 2010, 11:48:04 AM »

tf2 only rite?
Logged

DarkEnergy
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #3 on: October 17, 2010, 07:46:19 AM »

tf2 only rite?

Quote
This obviously does not work on anything but TF2.

Quote
if(War3_GetGame()==Game_TF)

 Wink
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #4 on: October 17, 2010, 12:58:06 PM »

rename it War3Source_Addon_MedicXPChange

in plugin start
if(War3_GetGame()!=Game_TF){
 SetFailState("Only works in TF2");
}
Logged

DarkEnergy
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #5 on: October 17, 2010, 01:24:30 PM »

Updated  Smiley
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #6 on: October 18, 2010, 01:13:48 PM »

try adding cvars, external or internal if fine
Logged

DarkEnergy
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #7 on: October 19, 2010, 09:59:51 AM »

Added cvars
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #8 on: October 19, 2010, 06:52:20 PM »

i edited ur .sp
Logged

DarkEnergy
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #9 on: December 05, 2010, 10:56:47 PM »

will be packaged with some changes
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!