Author Topic: [Packaged][TF2] More ressources for medics  (Read 2954 times)

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
[Packaged][TF2] More ressources for medics
« 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 »

iceman

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: [TF2] More ressources for medics
« Reply #1 on: October 16, 2010, 08:26:05 AM »
Thanks, been needing this for a long time. I will try it out.

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [TF2] More ressources for medics
« Reply #2 on: October 16, 2010, 11:48:04 AM »
tf2 only rite?

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [TF2] More ressources for medics
« 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)

 ;)

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [TF2] More ressources for medics
« 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");
}

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [TF2] More ressources for medics
« Reply #5 on: October 17, 2010, 01:24:30 PM »
Updated  :)

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [TF2] More ressources for medics
« Reply #6 on: October 18, 2010, 01:13:48 PM »
try adding cvars, external or internal if fine

Glider⠠⠵

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 472
  • ⠠⠵
    • View Profile
Re: [TF2] More ressources for medics
« Reply #7 on: October 19, 2010, 09:59:51 AM »
Added cvars

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [TF2] More ressources for medics
« Reply #8 on: October 19, 2010, 06:52:20 PM »
i edited ur .sp

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [Packaged][TF2] More ressources for medics
« Reply #9 on: December 05, 2010, 10:56:47 PM »
will be packaged with some changes