Hey, I have two quick questions which I haven't been able to resolve by looking through the available tutorials.
For a brief background: I'm making a 3v3 custom map in the same spirit as the 'War of the Rings'-style games. That is, a few heroes, regularly spawning units to form an army, etc. There are 6 factions, 3 good and 3 evil.
First question: is there any way to choose which faction I play when I use the Test Document function in the editor? Development on faction 1 is basically finished, so it is little help to me to use Test Document and end up as as faction 1 every time. I want to be able to choose which player I am in-game so I can easily test the custom units, check tooltips and triggers, etc. Is this possible?
Second question: how in the name of all that is holy do I allow players to choose which faction they are in the lobby? I've looked over the Lobby tutorial which was recently posted, but all I got from that was the idea that I could set up a Player Attribute in the lobby and then make a god-awful number of triggers which spawn all of the desired starting buildings and units. (Please god tell me I don't have to do that.) In the editor, I have Player 1 as 'The Damned' and I want someone to be able to click a little drop-down box and select 'The Damned,' etc. It seem intuitive to me that there has to be some easy way to let players in the lobby select which in-editor 'Player' they will control, but I don't see any easy or obvious way to do it with the Player Attribute system or otherwise.
1. maybe over the menu - map - player properties - controlled by user. make player 1 controlled by computer.
BUT
2. I agree with the tutorial there. Use an variable for the lobby and Triggers should make the units change the player at the very start of the game. Maybe you could do a repeat with all units changing from player 1 to player 2. and so on. like this with unit groups:
General - Repeat (Actions) (Number of Living units in Unit Group) times
Variable - Modify Variable: + 1
Unit - Change ownership of (Unit x from Unit Group 1) to player 2 and Change Color
OR you spawn them all directly via trigger with the right playercontrol
2. In the data editor go to the 'Races' Tab... Select the default races and uncheck the selectable flags. Then make 6 new races for each faction and change the starting units... NOTE: You might have to play around with the offsets of the units to get it right... 0 is smack in the middle of the SL
Hey, I have two quick questions which I haven't been able to resolve by looking through the available tutorials.
For a brief background: I'm making a 3v3 custom map in the same spirit as the 'War of the Rings'-style games. That is, a few heroes, regularly spawning units to form an army, etc. There are 6 factions, 3 good and 3 evil.
First question: is there any way to choose which faction I play when I use the Test Document function in the editor? Development on faction 1 is basically finished, so it is little help to me to use Test Document and end up as as faction 1 every time. I want to be able to choose which player I am in-game so I can easily test the custom units, check tooltips and triggers, etc. Is this possible?
Second question: how in the name of all that is holy do I allow players to choose which faction they are in the lobby? I've looked over the Lobby tutorial which was recently posted, but all I got from that was the idea that I could set up a Player Attribute in the lobby and then make a god-awful number of triggers which spawn all of the desired starting buildings and units. (Please god tell me I don't have to do that.) In the editor, I have Player 1 as 'The Damned' and I want someone to be able to click a little drop-down box and select 'The Damned,' etc. It seem intuitive to me that there has to be some easy way to let players in the lobby select which in-editor 'Player' they will control, but I don't see any easy or obvious way to do it with the Player Attribute system or otherwise.
Thanks a bunch for any assistance! :)
@HaifischSC2: Go
1. maybe over the menu - map - player properties - controlled by user. make player 1 controlled by computer. BUT
2. I agree with the tutorial there. Use an variable for the lobby and Triggers should make the units change the player at the very start of the game. Maybe you could do a repeat with all units changing from player 1 to player 2. and so on. like this with unit groups:
General - Repeat (Actions) (Number of Living units in Unit Group) times
Variable - Modify Variable: + 1
Unit - Change ownership of (Unit x from Unit Group 1) to player 2 and Change Color
OR you spawn them all directly via trigger with the right playercontrol
1. Change the Starting race for player 1.
2. In the data editor go to the 'Races' Tab... Select the default races and uncheck the selectable flags. Then make 6 new races for each faction and change the starting units... NOTE: You might have to play around with the offsets of the units to get it right... 0 is smack in the middle of the SL