SC2Mapster Wiki
Advertisement

General Info[ | ]

Use Game Attributes to define custom choice for the Host, before the game start. Basically all options for a custom game are game attributes. Use Player Attributes to define custom choice for individual players, before the game start.


Game Attirbutes1

Fields Description[ | ]

General[ | ]

Type[ | ]

  • Determines if the attribute is a Game or Player attribute
  • Game: Only one value can be selected per game
  • Player: Each player can select a value
    • Commonly used for adding additional races/factions

Name[ | ]

  • String used to name the attribute

Description[ | ]

  • String used to describe what the attribute does

Usage[ | ]

Requirements[ | ]

  • Attribute Values required to enable the selected attribute
  • Typically Game Attributes to enable specific Player Attributes

Availability[ | ]

  • Always: The attribute can always be chosen
  • First Come, First Serve: Removes a Value choice from the list in the game setup if it has already been chosen by a player. Only useful for Player Attributes

Visibility[ | ]

  • Determines who can see the attribute in the game setup
  • All Players: All players can see what is picked
  • Host Only: Only the host can see the picked attribute values
  • None: Nobody can see what has been picked
  • Self Only: Only the picking player can see the chosen attribute. Only useful for Player Attributes
    • Use this for pvp maps

Access[ | ]

  • Who can set the attribute
  • All Players: All players can change the attribute. Best avoided to stop trolling
  • Host Only: Only the host can set the attribute values. Commonly used for Game Attributes
  • None: Nobody can set the attribute. Only use this if there is only one option or triggers are used to set the player choices in-game
  • Self Only: Only the picking player can select the chosen attribute. Mostly used for Player Attributes

Options[ | ]

  • Locked When Public: Makes the attribute value unable to be changed when the game setup is opened to the public
  • Hidden: (Unknown)

Values[ | ]

Values[ | ]

  • Index list of the values

Name[ | ]

  • String name of the value seen in the game setup

Description[ | ]

  • String description/tooltip for the value seen in the game setup

Icon[ | ]

  • Texture seen to the left of the value name in the game setup
  • Uses .dds format files

Defaults[ | ]

Value[ | ]

  • The default value for each player
  • Must be set for each player

Locked[ | ]

  • Flag to determine if the player can change from the default value

Trigger Aspects[ | ]

The chosen game attribute can be detected using the Attribute Game Value condition while chosen player attributes can be detected using the Attribute Player Value condition. These are typically placed under a General - If Then Else trigger action.

This allows gameplay to be customised according to the chosen attribute

Advertisement