Hi guys. I've been wondering if you can help me on creating a bank for my in progress map.
I want my bank to score the kills made by the two human players on the game, but only the kills done by this to enemies, not the kills made by mistake to friends.
Then (this part I know how to do it) refering to the rank player (this I don't know how) apply a buff to every unit the player's has on the map (every 0.1 seconds do this action). Is there a way of only affect this trigger to the current game? I mean if the player has a buff of, for example 300 kills and there's a buff of 400 kills, the player reaches that limit but not recieve the buff, he recieves it in the next game.
If you can explaim me, please do it with every and single detail, cuz I'm not the best in triggers, I'm good in data not in triggers.
Another question: Is there a way on reduing streaming data in maps?
Forgive me for not being able to understand you perfectly, but I believe this is like what you are trying to achieve:
Player 1 achieves 400 kills over the course of 5 games (with the total kills being banked at the end of each game.) From now on, all of Player 1's units receive a buff which causes them to increase in scale by 10%. When Player 1 achieves 500 kills, his units will receive another buff which will cause his units to grow an additional 10%. So after he achieves 500 kills, in every game from then on, his units will be 20% bigger than normal.
The means by which you can accomplish this using banks is actually quite simple. You will need to store Player 1's kills in a bank file (which I think you have already figured out.) From there, you just need to create a trigger which periodically checks to see if Player 1's kills >= 400. If TRUE, apply the buff, else do nothing. At the beginning of each game, load Player 1's kill total. At the end of each game, save the new kill total.
Ah! But this will cause the buff to be created on Player 1's units the instant he achieves 400 kills! Fear not, there is a simple solution to this problem. Right click the trigger which periodically applies the buff and uncheck the "Initially On" option. At the start of each game and after your bank values are loaded, check to see if Player 1's kills >= 400. If TRUE, create an action which turns your buff application trigger ON.
From this you should be able to figure out how to do this for each player and for different buffs.
I do not mean it, I mean how to create the bank itself, I've ben looking for tutorials but those tutorials are not enought explained. I know how to apply the buff.
here is an example map by Ahli634, it is what i used for my bank example and is mostly up to date. I can't find the original thread or I'd direct you to it. when doing banks just remember, preload open in that order
Hi guys. I've been wondering if you can help me on creating a bank for my in progress map. I want my bank to score the kills made by the two human players on the game, but only the kills done by this to enemies, not the kills made by mistake to friends. Then (this part I know how to do it) refering to the rank player (this I don't know how) apply a buff to every unit the player's has on the map (every 0.1 seconds do this action). Is there a way of only affect this trigger to the current game? I mean if the player has a buff of, for example 300 kills and there's a buff of 400 kills, the player reaches that limit but not recieve the buff, he recieves it in the next game. If you can explaim me, please do it with every and single detail, cuz I'm not the best in triggers, I'm good in data not in triggers.
Another question: Is there a way on reduing streaming data in maps?
@TheSC2Maniac: Go
Forgive me for not being able to understand you perfectly, but I believe this is like what you are trying to achieve:
Player 1 achieves 400 kills over the course of 5 games (with the total kills being banked at the end of each game.) From now on, all of Player 1's units receive a buff which causes them to increase in scale by 10%. When Player 1 achieves 500 kills, his units will receive another buff which will cause his units to grow an additional 10%. So after he achieves 500 kills, in every game from then on, his units will be 20% bigger than normal.
The means by which you can accomplish this using banks is actually quite simple. You will need to store Player 1's kills in a bank file (which I think you have already figured out.) From there, you just need to create a trigger which periodically checks to see if Player 1's kills >= 400. If TRUE, apply the buff, else do nothing. At the beginning of each game, load Player 1's kill total. At the end of each game, save the new kill total.
Ah! But this will cause the buff to be created on Player 1's units the instant he achieves 400 kills! Fear not, there is a simple solution to this problem. Right click the trigger which periodically applies the buff and uncheck the "Initially On" option. At the start of each game and after your bank values are loaded, check to see if Player 1's kills >= 400. If TRUE, create an action which turns your buff application trigger ON.
From this you should be able to figure out how to do this for each player and for different buffs.
I do not mean it, I mean how to create the bank itself, I've ben looking for tutorials but those tutorials are not enought explained. I know how to apply the buff.
Yeah, i was looking into taht too, for some kind of template of banks creation that is up to date.
here is an example map by Ahli634, it is what i used for my bank example and is mostly up to date. I can't find the original thread or I'd direct you to it. when doing banks just remember,
preload
open
in that order
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Also: the preload has to be done early in the game in one of the MapInit triggers.
@TheSC2Maniac: Go
Look at my leaderboard sample. It tracks kills across games.