National Teams ?

You can add your ideas on how to make Bygfoot better here.
Locked
MisterX
Posts: 14
Joined: Sun Jan 23, 2005 8:05 pm

National Teams ?

Post by MisterX »

Why not put National Teams in it so we can play European Cup,World cup etc ?
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

Post by atd »

That is a good idea. In that case Bygfoots football players needs nationalities.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

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ö
Press any key to continue or any other key to quit.
Oki
Posts: 77
Joined: Wed Mar 30, 2005 12:50 pm
Location: São Paulo/SP-Brazil
Contact:

World Cup

Post by Oki »

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
celsogoya@jabber.org
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Re: World Cup

Post by gyboth »

Oki 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.
great idea. maybe i'll even implement it for 1.9.0, it captured my imagination ;-)

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.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

:arrow: i've added support for player names files, see this post:
http://bygfoot.sourceforge.net/forum/vi ... =1381#1381

gyözö
Press any key to continue or any other key to quit.
Locked