Let's say I want to make my mod only available for Terran for now, what is the best way to exclude Protoss and Zerg from the game?
Of course the best option would be to tweak the lobby drop-down, but in case this is impossible I'd be satisfied with just changing all player's races to Terran when the game starts. I'm not sure how to do that either though:D
Why do you say it is impossible? I think both your options you state are valid and common options. You can limit the lobby drop downs through the use of "Game Variants" which I'm sure there is a tutorial for in the link in my signature.
For simply disregarding the race dropdown in the lobby, I would hide it, using the "Player attributes" tab of Game Variants to set access to "hidden". Then use the trigger "Set Player Race" to set everyone to what you want.
I hope this was explained in a way that helps you, let me know if you want me to go further on part of this.
Interesting, I've never seen that before as I don't work with mods often.
I found a potential solution though:
In Data, open the tab for Edit Advanced Game Data -> Races. Pick a race there and you'll see a field called Flags+ which has a field called "Selectable". Try unchecking that and see if that prevents people from picking that race.
Wow, never knew this even existed! And it allows a lot of tweaking too, like change the starting units for a race etc.
As for my specific problem, this semi-worked - the drop-down in the lobby still lists all races, but regardless of the choice it now switches player to Terran before map initialization.
This will most definetly suffice for me, so I'll mark this as solved, but the question of wheter it is possible to exclude the races from the lobby remains for now:)
Thank you!
@AlexO6 - was that a race joke?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Let's say I want to make my mod only available for Terran for now, what is the best way to exclude Protoss and Zerg from the game?
Of course the best option would be to tweak the lobby drop-down, but in case this is impossible I'd be satisfied with just changing all player's races to Terran when the game starts. I'm not sure how to do that either though:D
Thanks!
Why do you say it is impossible? I think both your options you state are valid and common options. You can limit the lobby drop downs through the use of "Game Variants" which I'm sure there is a tutorial for in the link in my signature.
For simply disregarding the race dropdown in the lobby, I would hide it, using the "Player attributes" tab of Game Variants to set access to "hidden". Then use the trigger "Set Player Race" to set everyone to what you want.
I hope this was explained in a way that helps you, let me know if you want me to go further on part of this.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Thanks for the answer!
To have that option would be really nice, but as I've (probably a bit too subtle) mentioned, I'm dealing with an extension mod here, not a map.
As far as I can see it doesn't even have "Game Variants" available at all, only "Game Attributes". A shame, really, would've solved all my troubles:(
Interesting, I've never seen that before as I don't work with mods often.
I found a potential solution though:
In Data, open the tab for Edit Advanced Game Data -> Races. Pick a race there and you'll see a field called Flags+ which has a field called "Selectable". Try unchecking that and see if that prevents people from picking that race.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
nevermind, changed my mind about the joke, please delete this.
Wow, never knew this even existed! And it allows a lot of tweaking too, like change the starting units for a race etc.
As for my specific problem, this semi-worked - the drop-down in the lobby still lists all races, but regardless of the choice it now switches player to Terran before map initialization.
This will most definetly suffice for me, so I'll mark this as solved, but the question of wheter it is possible to exclude the races from the lobby remains for now:)
Thank you!
@AlexO6 - was that a race joke?