I was hoping to have my problem solved by watching this tutorial but OneTwosc decides to go from making a killboard for players kills(older tutorial), to making a bank file for a units kills... im assuming he was aiming at helping those who were making an RPG.
I want to make a killboard that remembers (already have a killboard) a PLAYERS kills for future games.
I've copied everything that I could without having units(values) on the map from this video.
What I need form this map, and what I don't need, is hard to tell because of what I have from the original killboard... I'm having someone (hopefully) look at it at plug things in from the tutorial video i posted...
I ll post here if i have any questions about the killboard you provided.
Try to learn how you save and load values from that tutorial. Ignore what you are saving there. Just imagine you are saving integer variable A and load the integer into your variable at map start.
I've my own tutorial map which was useful for others, too.
I've just included the detection of first time players.
It contains a function that copies everything except stored units from 1 bank to another.
Have fun with it.
I. Bank
Events
Game - Map initialization
Local Variables
Conditions
Actions
Bank - Preload and synchronize bank "coolbanko" for player 1
Bank - Preload and synchronize bank "coolbanko" for player 2
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Bank - Open bank "coolbanko" for player (Picked player)
Variable - Set PlayerKills[(Picked player)] = (Load "Kills" of section "Player" from bank (Last opened bank) as integer value)
Leaderboard - Set Leaderboard item text at column 2 and row (Picked player) to (Text(PlayerKills[(Picked player)]))
II. Kills
Events
Unit - Any Unit dies
Local Variables
Conditions
(Killing player) != (Triggering player)
(Player (Killing player) treats player (Triggering player) as Enemy) == True
Actions
Variable - Modify PlayerKills[(Killing player)]: + 1
Leaderboard - Set Leaderboard item text at column 2 and row (Killing player) to (Text(PlayerKills[(Killing player)]))
Bank - Open bank "coolbanko" for player (Killing player)
Bank - Store integer PlayerKills[(Killing player)] as "Kills" of section "Player" in bank (Last opened bank)
Bank - Save bank (Last opened bank)
now to get a hero (according to race) to spawn at 1000 kills. and remain selectable through future games..
a different hero at 5000 kills.. etc. and also remain selectable.
just like your unit selection bar between rounds in your Team Blitz Tactics map.
I was hoping to have my problem solved by watching this tutorial but OneTwosc decides to go from making a killboard for players kills(older tutorial), to making a bank file for a units kills... im assuming he was aiming at helping those who were making an RPG.
I want to make a killboard that remembers (already have a killboard) a PLAYERS kills for future games.
I've copied everything that I could without having units(values) on the map from this video.
Jus tell me the few things i need to change.
"You either are doing it, or you are not": Me
Team Genesis: Founder/Leader
Skype: Grasso2012 or Add me in-game 558
Free Model Developing Program: http://www.autodesk.com/education/free-software/maya
I suggest you read my bank facts thread, it also have a showcase map: http://www.sc2mapster.com/forums/resources/tutorials/28875-trigger-bank-facts
What I need form this map, and what I don't need, is hard to tell because of what I have from the original killboard... I'm having someone (hopefully) look at it at plug things in from the tutorial video i posted...
I ll post here if i have any questions about the killboard you provided.
"You either are doing it, or you are not": Me
Team Genesis: Founder/Leader
Skype: Grasso2012 or Add me in-game 558
Free Model Developing Program: http://www.autodesk.com/education/free-software/maya
Try to learn how you save and load values from that tutorial. Ignore what you are saving there. Just imagine you are saving integer variable A and load the integer into your variable at map start.
I've my own tutorial map which was useful for others, too.
I've just included the detection of first time players.
It contains a function that copies everything except stored units from 1 bank to another.
Have fun with it.
Here you go.
I. Bank
Events
Game - Map initialization
Local Variables
Conditions
Actions
Bank - Preload and synchronize bank "coolbanko" for player 1
Bank - Preload and synchronize bank "coolbanko" for player 2
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Bank - Open bank "coolbanko" for player (Picked player)
Variable - Set PlayerKills[(Picked player)] = (Load "Kills" of section "Player" from bank (Last opened bank) as integer value)
Leaderboard - Set Leaderboard item text at column 2 and row (Picked player) to (Text(PlayerKills[(Picked player)]))
II. Kills
Events
Unit - Any Unit dies
Local Variables
Conditions
(Killing player) != (Triggering player)
(Player (Killing player) treats player (Triggering player) as Enemy) == True
Actions
Variable - Modify PlayerKills[(Killing player)]: + 1
Leaderboard - Set Leaderboard item text at column 2 and row (Killing player) to (Text(PlayerKills[(Killing player)]))
Bank - Open bank "coolbanko" for player (Killing player)
Bank - Store integer PlayerKills[(Killing player)] as "Kills" of section "Player" in bank (Last opened bank)
Bank - Save bank (Last opened bank)
Thank you so much. it works now.
now to get a hero (according to race) to spawn at 1000 kills. and remain selectable through future games.. a different hero at 5000 kills.. etc. and also remain selectable.
just like your unit selection bar between rounds in your Team Blitz Tactics map.
"You either are doing it, or you are not": Me
Team Genesis: Founder/Leader
Skype: Grasso2012 or Add me in-game 558
Free Model Developing Program: http://www.autodesk.com/education/free-software/maya