Ok so i made a multiboard using this tutorial http://www.hiveworkshop.com/forums/general-mapping-tutorials-278/all-about-multiboards-84942/#Customize
It's a good tutorial to help get someone started with multiboards but it doesn't cover everything.
I got the multiboard to only add players that are in the game, but (because the way i did it i guess) it will give players the wrong name/color. for example when i test the map i am using player 1 (me), player 4 (comp) player 12 (comp). it gives me to right color and player name but for anything past player one it will get the wrong name. player 4 becomes player 2 and will be blue and player 12 will be player 3 and teal. (and if i add more computers it does the same thing to them)
here is my create multi board trigger
here is my count active player trigger
here is a pic of what the multiboard looks like in game (looks the same after current edits.)
once again that shouldnt be player 2/3 on the board it should be player 4/12 and it should be purple and brown not blue and teal.
if you can help or spot what i am doing wrong let me know.
oh and idk if you need this but here is my set player colors trigger
It's a good tutorial to help get someone started with multiboards but it doesn't cover everything.
I got the multiboard to only add players that are in the game, but (because the way i did it i guess) it will give players the wrong name/color. for example when i test the map i am using player 1 (me), player 4 (comp) player 12 (comp). it gives me to right color and player name but for anything past player one it will get the wrong name. player 4 becomes player 2 and will be blue and player 12 will be player 3 and teal. (and if i add more computers it does the same thing to them)
here is my create multi board trigger
-
Create Board
-
Events
- Time - Elapsed game time is 1.00 seconds
- Conditions
-
Actions
- Multiboard - Create a multiboard with 3 columns and (ActivePlayers + 1) rows, titled Information
- Set Mboard = (Last created multiboard)
-
For each (Integer A) from 1 to (ActivePlayers + 1), do (Actions)
-
Loop - Actions
- Multiboard - Set the width for Mboard item in column 1, row (Integer A) to 10.00% of the total screen width
- Multiboard - Set the width for Mboard item in column 2, row (Integer A) to 5.00% of the total screen width
- Multiboard - Set the width for Mboard item in column 3, row (Integer A) to 5.00% of the total screen width
- Multiboard - Set the text for Mboard item in column 1, row ((Integer A) + 1) to PlayerColor[(Integer A)]
- Multiboard - Set the text for Mboard item in column 2, row ((Integer A) + 1) to (String(Income_Received[(Integer A)]))
- Multiboard - Set the text for Mboard item in column 3, row ((Integer A) + 1) to (String(Lumber_Received[(Integer A)]))
- Multiboard - Set the display style for Mboard item in column 1, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Mboard item in column 2, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Mboard item in column 2, row 1 to Show text and Show icons
- Multiboard - Set the display style for Mboard item in column 3, row (Integer A) to Show text and Hide icons
- Multiboard - Set the display style for Mboard item in column 3, row 1 to Show text and Show icons
- Multiboard - Set the text for Mboard item in column 1, row 1 to (|cffB0C4DE + (Player/Country + |r))
- Multiboard - Set the icon for Mboard item in column 2, row 1 to ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
- Multiboard - Set the text for Mboard item in column 2, row 1 to (|cffFFD700 + (Income + |r))
- Multiboard - Set the icon for Mboard item in column 3, row 1 to ReplaceableTextures\CommandButtons\BTNHumanLumberUpgrade2.blp
- Multiboard - Set the text for Mboard item in column 3, row 1 to (|cff00CC00 + (Income + |r))
- Multiboard - Minimize Mboard
- Multiboard - Maximize Mboard
-
Loop - Actions
-
Events
-
Count Active Players
-
Events
- Time - Elapsed game time is 0.50 seconds
- Conditions
-
Actions
-
For each (Integer Z) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player(Z)) slot status) Equal to Is playing
-
Then - Actions
- Set ActivePlayers = (ActivePlayers + 1)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer Z) from 1 to 12, do (Actions)
-
Events
here is a pic of what the multiboard looks like in game (looks the same after current edits.)
once again that shouldnt be player 2/3 on the board it should be player 4/12 and it should be purple and brown not blue and teal.
if you can help or spot what i am doing wrong let me know.
oh and idk if you need this but here is my set player colors trigger
-
Set Player Color
-
Events
- Map initialization
- Conditions
-
Actions
- Set PlayerColor[1] = (|cffff0000 + (Name of Player 1 (Red)))
- Set PlayerColor[2] = (|cff0000ff + (Name of Player 2 (Blue)))
- Set PlayerColor[3] = (|cff00ffff + (Name of Player 3 (Teal)))
- Set PlayerColor[4] = (|cffa020f0 + (Name of Player 4 (Purple)))
- Set PlayerColor[5] = (|cffffff00 + (Name of Player 5 (Yellow)))
- Set PlayerColor[6] = (|cffee9a00 + (Name of Player 6 (Orange)))
- Set PlayerColor[7] = (|cff00cd00 + (Name of Player 7 (Green)))
- Set PlayerColor[8] = (|cffdb7093 + (Name of Player 8 (Pink)))
- Set PlayerColor[9] = (|cff7f7f7f + (Name of Player 9 (Gray)))
- Set PlayerColor[10] = (|cff87ceeb + (Name of Player 10 (Light Blue)))
- Set PlayerColor[11] = (|cff006400 + (Name of Player 11 (Dark Green)))
- Set PlayerColor[12] = (|cff804000 + (Name of Player 12 (Brown)))
-
Events
Last edited: