Page 1 of 1

Help whit two things

Posted: Fri Oct 08, 2010 11:35 am
by Squall
If its Possible, in roc, if not, in tft, thank you.
Hello, can you help me whit 2 small things, Please?
First, Im not so good at tables, i want to make a table whit all the players. They should have in the table: I made some buildings and the buildings have upgrades. I want first in the table to show at the players what upgrades have all the players. Example:
Red Modern
Blue Medieval
Another things at the table that they have is their allies, i mean it show at other players what allies have the players.

Second thing i want is: when a player type "-ally blue" it ally blue whit shared vision and it change in the table.

Please, can anyone help me? I know its "hard", well, for me is. I dont know for you. Thanx in Advance.

Re: Help whit two things

Posted: Sun Mar 06, 2011 9:30 am
by 3ICE
How come this topic never got any replies?

Re: Help whit two things

Posted: Sun Mar 06, 2011 10:18 am
by samtre
this is gonna take quite some time to make it happen..... talking isn't doing much and I'm kinda busy for the next week for exams......so maybe a week later I might finish this

make a variable array:
Civ_Name[#] = STRING
Player_Civ[#] = INTEGER
Player_Civ_Name[#] = STRING

the # would be the numbers of the civilizations
Civ_Name[#] = STRING (this would be the names of the civilizations, e.g. 0=paleolithic, etc etc) (used in table/multiboard)

the # would be the player number/player triggering it
Player_Civ[#] = INTEGER (this would be the level of the civilization the player has achieved, e.g. 0=paleolithic,1=stone age, 8=medieval)
so whenever the player has achieved the certain upgrade, use this GUI

Code: Select all

set Player_Civ[#] = (Player_Civ[#] + 1)
set Player_Civ_Name[#] = Civ_Name[Player_Civ[#]] 
to increase the level and to set the name every time it levels

for the multiboard, i'll get onto the player listing and civilization things later or somebody can help me finish it

create multiboard with "[number of player] rows, 3 columns".
r1,c1 = Player Name ; r1,c2 = Civilization Rank ; r1,c3 = player allies
(and this part would be the long part)

hope this is correct......