So, what I can't figure out with making a tutorial game variant is how to control the amount of players in different variants?
E.g. In the default mode my map must be played by 2-4 players, but in the tutorial I need only 1. Saw a similar thing in the Kobold tribes. Where do we set this?
Map -> Game Variants... Click on Player Attributes (Setup Teams)
Map -> Game Attributes... setup attribute so you can determine what variant was picked in game
Well you are trying to set number of players right?
First you must set how many players Max there can be so you want 4
So step one is Go to Player Properties and setup your 4 players
Then go to Variants and click Add name it what ever you want
So you will want 2 variants one for tutorial and one for regular play
Set Max Team Size to 1 or whatever you want for the Tutorial Variant
Then Switch to the Player Attribute Tab
In your Tutorial Variant Set all other players to Closed accept for 1 of them
This will give you the option on the starcraft arcade to choose a variant from the list
Depending on how you are going to check for the Variants you can create a custom Attribute
Attributes are those things that let you pick options in the Game lobby like the speed of your game
They can be used in your triggers to find out what variant was picked because there is no way to directly check using triggers without a game attribute
Then you would enable the players in the Regular Game Variant so that all can play
Pretty sure this answers your question else im not sure what your looking for
Not sure if you still wondering about attributes but there really easy
You first open Game Attributes then Click Add
Select the Attribute you just Created and Click the Values Tab
Set any Values you wish
Then Set the Default Value
An Example for my map i have an Attribute called Game Style
In Game Style i Have 4 Choices
Normal
Frost vs Dark
Frost vs Forest
Forest vs Dark
All these attributes i set to locked so no one can change them they are strictly for Determining what game style was picked
In your Game Variants page under the Game Attributes Tab you should now see the attribute you created.
For each Variant Choose the Attribute value by clicking and selecting your custom values created.
Then depending on what must change in your map create an if then else statement and check for
Attribute Game Value == your value
So, what I can't figure out with making a tutorial game variant is how to control the amount of players in different variants?
E.g. In the default mode my map must be played by 2-4 players, but in the tutorial I need only 1. Saw a similar thing in the Kobold tribes. Where do we set this?
Map -> Game Variants... Click on Player Attributes (Setup Teams)
Map -> Game Attributes... setup attribute so you can determine what variant was picked in game
@zaysite: Go
Errm... Either you didn't get my point or i didn't get yours, but this doesn't seem to be an answer to what i asked...
Well you are trying to set number of players right?
First you must set how many players Max there can be so you want 4
So step one is Go to Player Properties and setup your 4 players
Then go to Variants and click Add name it what ever you want
So you will want 2 variants one for tutorial and one for regular play
Set Max Team Size to 1 or whatever you want for the Tutorial Variant
Then Switch to the Player Attribute Tab
In your Tutorial Variant Set all other players to Closed accept for 1 of them
This will give you the option on the starcraft arcade to choose a variant from the list
Depending on how you are going to check for the Variants you can create a custom Attribute
Attributes are those things that let you pick options in the Game lobby like the speed of your game
They can be used in your triggers to find out what variant was picked because there is no way to directly check using triggers without a game attribute
Then you would enable the players in the Regular Game Variant so that all can play
Pretty sure this answers your question else im not sure what your looking for
Much thanks, that's definitely what I wanted to know from th beginning.
Yet I didn't get how to link everything so that the variant will affect attribute...
Not sure if you still wondering about attributes but there really easy
You first open Game Attributes then Click Add
Select the Attribute you just Created and Click the Values Tab
Set any Values you wish
Then Set the Default Value
An Example for my map i have an Attribute called Game Style
In Game Style i Have 4 Choices
Normal
Frost vs Dark
Frost vs Forest
Forest vs Dark
All these attributes i set to locked so no one can change them they are strictly for Determining what game style was picked
In your Game Variants page under the Game Attributes Tab you should now see the attribute you created.
For each Variant Choose the Attribute value by clicking and selecting your custom values created.
Then depending on what must change in your map create an if then else statement and check for
Attribute Game Value == your value
@zaysite: Go
Thanks, that's all the info I needed. Much thanks.
P.S. Why do you always write sooooo long posts where it's not needed?
@FunBotan: Go only to make sure i cover all the bases what if in the future a complete noob were to come upon this thread..
The more detail that i put into an answer the less questions that will need to be answered in the future
Im having trouble detecting what game mode is selected well on battlenet
Works fine offline but doesnt detect what mode when online any ideas anyone?