It would be great to do this:
/create Churchill
/create Truman
/nation Churchill "United Kingdom"
/nation Truman "United States"
/team Churchill 0
/team Truman 0
/create Hitler
/create Mussolini
/nation Hitler Germany
/nation Mussolini Italy
/team Hitler 1
/team Mussolini 1
Otherwise, nations are assigned randomly to created players.
The server command syntax could be:
/nation <player-name> <valid-nation>
Thanks!
Assign nation to a player
Re: Assign nation to a player
In all versions, if you /create player with one of the leader names from the rulesets, server assigns correct nation for him/her. You just need to use the exact name from the ruleset, i.e., not /create Churchill but /create "Winston Churchill"
Freeciv-3.1 has a new playernation command:
Freeciv-3.1 has a new playernation command:
Code: Select all
> help playernation
Command: playernation - Define the nation of a player.
Synopsis: playernation <player-name> [nation] [is-male] [leader] [style]
Level: admin
Description:
This command sets the nation, leader name, style, and gender of a
specific player.
The gender parameter should be 1 if male, otherwise 0. Omitting any of
the player settings will reset the player to defaults.
This command may not be used once the game has started.
Re: Assign nation to a player
Good to know, but that only works for leader mames. That is, it wouldn't work for "/create Angela Merkel".You just need to use the exact name from the ruleset
That is really great, thanks!Freeciv-3.1 has a new playernation command