LuaGameplay.wiki
changeset 1906 7891546b4ff8
parent 1840 37d979124fc4
child 1907 806491e9ef60
equal deleted inserted replaced
1905:f94d74ad5939 1906:7891546b4ff8
   355  * `teamname`: The name of the team.
   355  * `teamname`: The name of the team.
   356  * `color`: Team color, usually a number from -9 to -1 (see below)
   356  * `color`: Team color, usually a number from -9 to -1 (see below)
   357  * `grave`: The name of the team’s grave (equals file name without the suffix)
   357  * `grave`: The name of the team’s grave (equals file name without the suffix)
   358  * `fort`: The name of the team’s fort (equals file name without the suffix and without the letter “L” or “R” before that suffix)
   358  * `fort`: The name of the team’s fort (equals file name without the suffix and without the letter “L” or “R” before that suffix)
   359  * `voicepack`: The name of the team’s voice pack (equals the directory name)
   359  * `voicepack`: The name of the team’s voice pack (equals the directory name)
   360  * `flag`: Optional argument for the name of the team’s flag (equals file name without the suffix). If set to `nil`, the flag “hedgewars” is used.
   360  * `flag`: Optional argument for the name of the team’s flag (equals the file name case-sensitively without the suffix). If set to `nil` or the flag can not be found on the local computer, the flag “hedgewars” is used.
   361 
   361 
   362 ==== Clan color ====
   362 ==== Clan color ====
   363 Each team must have a color. The color also determines clan membership: Teams with equal color are in the same clan.
   363 Each team must have a color. The color also determines clan membership: Teams with equal color are in the same clan.
   364 
   364 
   365 The team color is specified as a number from -9 to -1. This will select one of the 9 possible team colors as specified in the player's settings. As the actual colors are set by the player, you can't predict them, but you can usually trust these defaults:
   365 The team color is specified as a number from -9 to -1. This will select one of the 9 possible team colors as specified in the player's settings. As the actual colors are set by the player, you can't predict them, but you can usually trust these defaults: