National Teams ?
National Teams ?
Why not put National Teams in it so we can play European Cup,World cup etc ?
hum.. i thought i'd already answered this post...
in principle it would be simple to make country files with names of countries instead of names of teams. there are two caveats, though: a) the concept of player transfers doesn't fit to national teams b) the current player names aren't sorted. we'd need separate files for different countries (and i'm not too inclined to do this work ).
other than these, we could as well have national teams. especially in 1.9 it should be rather easy to make a world cup or such.
gyözö
in principle it would be simple to make country files with names of countries instead of names of teams. there are two caveats, though: a) the concept of player transfers doesn't fit to national teams b) the current player names aren't sorted. we'd need separate files for different countries (and i'm not too inclined to do this work ).
other than these, we could as well have national teams. especially in 1.9 it should be rather easy to make a world cup or such.
gyözö
Press any key to continue or any other key to quit.
World Cup
Well, i know the transfers will be the main problem to implement World Cups in bygfoot, but i'll try to offer a simple solution for the issue B.
I play ManagerZone, and they use a good rule for player names. The game have a field for first names and a field for last names, and when the rando routine is called, the routine just combine first and last names.
e.g:
XML File A(brazil_fname)
First_names
Celso
Ronaldo
Romário
XML File B(brazil_lname)
Last_names
Goya
da Silva
Sampaio
With 3 records in each file, we could randon 9 names. The only work we have to do will be to write common names by country.
I think, it's a good way to solve this problem, and it's my suggestion.
[]'s
Celso Goya
I play ManagerZone, and they use a good rule for player names. The game have a field for first names and a field for last names, and when the rando routine is called, the routine just combine first and last names.
e.g:
XML File A(brazil_fname)
First_names
Celso
Ronaldo
Romário
XML File B(brazil_lname)
Last_names
Goya
da Silva
Sampaio
With 3 records in each file, we could randon 9 names. The only work we have to do will be to write common names by country.
I think, it's a good way to solve this problem, and it's my suggestion.
[]'s
Celso Goya
celsogoya@jabber.org
Re: World Cup
great idea. maybe i'll even implement it for 1.9.0, it captured my imaginationOki wrote:I play ManagerZone, and they use a good rule for player names. The game have a field for first names and a field for last names, and when the rando routine is called, the routine just combine first and last names.
i'd introduce a names file tag for leagues, so that each league can have the player names loaded from different files.
also, the last and first names would be in the same file, like <first_name>Celso</first_name> and <last_name>Goya</last_name>.
gyözö
Press any key to continue or any other key to quit.
i've added support for player names files, see this post:
http://bygfoot.sourceforge.net/forum/vi ... =1381#1381
gyözö
http://bygfoot.sourceforge.net/forum/vi ... =1381#1381
gyözö
Press any key to continue or any other key to quit.