These menus seem simple enough: the former allows you to define attributes and the latter allows you to change them. This will probably be linked to that dropdown box we've seen on screenshots of Bnet2.0 where you can choose a game type.
Ok, fine, so this will work later, but not now. However, you can already implement this functionality.
Except for one thing. How the holy hell do you actually use those attributes? You define them, define the variants and... what next?
You can access them via triggers, there is a variable type called "Attribute Value" and there's a function "Attribute Game Value"/"Attribute Player Value" which returns the selected value (values can either be linked to the game or you can have separate values for each player). From there, you can do whatever you want with it.
Game variants basically define default (or even locked) values for different attribute plus some other stuff.
I can't make any sense out of this either. I'm trying to detect which team a player was on at the lobby screen, to properly set teams with triggers. Has anyone got teams working on a map?
I've been trying to set up the game variant properties for four hours now without success, playing around with the Teams and Teams [Premade] settings. This is downright frustrating!
Just to try things out, I attempted the what's below. "Test" didn't show up for any player. What am I missing?
If you are publishing a normal melee or multiplayer map; you can just click Generate Defaults in the bottom left of the Game Variant menu which is located in the editor under MAP, at the bottom. This make it work perfectly for multiplayer, except for making it open to create a public game, which i don't you can do at this point in beta.
It's not a melee map. I'm attempting to read in the teams with triggers, as described above. I can't figure out how to detect what team a player was on at the custom game lobby screen.
Attempted Closing slots not being used inbetween players in the (Player)Controller Varriants Attributes and it was as if i did nothing, the players just slotted into those closed slots as if i had done nothing.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
These menus seem simple enough: the former allows you to define attributes and the latter allows you to change them. This will probably be linked to that dropdown box we've seen on screenshots of Bnet2.0 where you can choose a game type.
Ok, fine, so this will work later, but not now. However, you can already implement this functionality.
Except for one thing. How the holy hell do you actually use those attributes? You define them, define the variants and... what next?
@BrotherLaz: Go
You can access them via triggers, there is a variable type called "Attribute Value" and there's a function "Attribute Game Value"/"Attribute Player Value" which returns the selected value (values can either be linked to the game or you can have separate values for each player). From there, you can do whatever you want with it.
Game variants basically define default (or even locked) values for different attribute plus some other stuff.
I can't make any sense out of this either. I'm trying to detect which team a player was on at the lobby screen, to properly set teams with triggers. Has anyone got teams working on a map?
I've been trying to set up the game variant properties for four hours now without success, playing around with the Teams and Teams [Premade] settings. This is downright frustrating!
Just to try things out, I attempted the what's below. "Test" didn't show up for any player. What am I missing?
http://img171.imageshack.us/img171/6720/variants1.jpg
http://img256.imageshack.us/i/variants2.jpg/
http://img337.imageshack.us/i/variants3.jpg/
Surely someone out there has succeeded in reading teams with triggers? I've been bashing my head at this all day . . .
If you are publishing a normal melee or multiplayer map; you can just click Generate Defaults in the bottom left of the Game Variant menu which is located in the editor under MAP, at the bottom. This make it work perfectly for multiplayer, except for making it open to create a public game, which i don't you can do at this point in beta.
It's not a melee map. I'm attempting to read in the teams with triggers, as described above. I can't figure out how to detect what team a player was on at the custom game lobby screen.
Attempted Closing slots not being used inbetween players in the (Player)Controller Varriants Attributes and it was as if i did nothing, the players just slotted into those closed slots as if i had done nothing.