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

War3:Source

General Discussion => War3: Source - Requests => Topic started by: yprovost on January 17, 2016, 03:13:06 PM

Title: Request Help for win/lose gold
Post by: yprovost on January 17, 2016, 03:13:06 PM
Is it possible if you are in profit / loss each round gets gold?
If someone have this code / cvar, you would like him to share with me?
thanks.
Title: Re: Request Help for win/lose gold
Post by: Ownz on January 18, 2016, 08:17:58 AM
I don't understand your request
Title: Re: Request Help for win/lose gold
Post by: yprovost on January 18, 2016, 08:34:56 AM
I don't understand your request

If you win the round you get 2 gold and if you lose the round you get 1 gold
gold for the shopmenu :)

Thanks
Title: Re: Request Help for win/lose gold
Post by: Ownz on January 19, 2016, 12:12:20 PM
possible, but requires additional programming to support the feature
Title: Re: Request Help for win/lose gold
Post by: Remy Lebeau on February 10, 2016, 05:11:34 PM
You could write your own plugin very easily that does that...

You already win 2 gold on round win, so you would need to check each player, and if they are on the losing team give them 1 gold.
Title: Re: Request Help for win/lose gold
Post by: yprovost on February 17, 2016, 06:53:47 AM
You could write your own plugin very easily that does that...

You already win 2 gold on round win, so you would need to check each player, and if they are on the losing team give them 1 gold.

Nope i just got gold when i kill someone, is there a cvar of it ?
Title: Re: Request Help for win/lose gold
Post by: Remy Lebeau on February 18, 2016, 11:16:27 PM
Ah, maybe it's only XP.

Still, it's a very easy plugin to write.

Use the OnRoundEnd function, check the player against winning team, give them 2 gold if so, 1 if not...  Very easy plugin.
Title: Re: Request Help for win/lose gold
Post by: yprovost on February 19, 2016, 05:44:48 PM
Ah, maybe it's only XP.

Still, it's a very easy plugin to write.

Use the OnRoundEnd function, check the player against winning team, give them 2 gold if so, 1 if not...  Very easy plugin.

I have it, Thanks anyway
Title: Re: Request Help for win/lose gold
Post by: doctavio on May 24, 2016, 06:02:50 AM
Can you explain your fix for this I'm looking for it as well thank you