Selecting Race
This topic is locked. You can no longer write replies here.
Jan 3 2009, 2:32 am
By: New-Guy  

Jan 3 2009, 2:32 am New-Guy Post #1



I want to know how you can detect what race a player chooses in the pre-game lobby.
ex. A player chooses protoss for a UMS game, and they start with a Protoss Nexus on the map.

Can they only start with a Start Location and nothing more? Or is it more complicated?



None.

Jan 3 2009, 2:35 am Symmetry Post #2

Dungeon Master

The condition 'command' should be what you're looking for. You can use it to detect whether the player has a nexus, hatchery or command center at the beginning of the game, and do your actions as you would like.



:voy: :jaff: :voy: :jaff:

Jan 3 2009, 2:37 am BiOAtK Post #3



I think he wants it to detect if the player is protoss and then place a nexus. For this, I have no fucking idea ;D



None.

Jan 3 2009, 2:37 am New-Guy Post #4



Wait...
Does that mean that on every UMS map it automatically has those units at the very start?
Or can you only have the Start Location for them at start?

Can you start the map with other units already owned by that player?



None.

Jan 3 2009, 2:39 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Doubtful. This is UMS, so you won't start with anything.

I don't know of any good way. The only thing that pops into head is EUD, which is never a good thing.

If there was a difference in race other than the gui, it would be easy. Perhaps you can start with all 3, and have the player build drone/scv/probe to start with that particular race?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 3 2009, 2:47 am New-Guy Post #6



Well, I know that in the World of Starcraft RPG it has a system like this. You can choose your race a start, and it decides what you do in-game.



None.

Jan 3 2009, 2:51 am Pigy_G Post #7



If you select your race it creates the respective home building at the start location I think, so maybe the map just detects that they have either a hatchery/nexus/command center, kills it, and bases the rest of the players triggers from that.



None.

Jan 3 2009, 2:59 am NudeRaider Post #8

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yup, when the player's race is set to 'User select' that player will ONLY have the main building of his race and 4 workers. Any preplaced units/buildings for that player will be removed.




Jan 3 2009, 3:02 am New-Guy Post #9



So, if I were to have that player have other units besides the hatchery/CC/nexus, I would have to give it to them by trigger?



None.

Jan 3 2009, 3:08 am NudeRaider Post #10

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

exactly. Preplace for P12 (or other players), then use give action.




Jan 3 2009, 3:18 am New-Guy Post #11



Okay then. Tyvm!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:47 pm]
Ultraviolet -- zsnakezz
zsnakezz shouted: ultra you have any thought or notes on undead invasion?
I still haven't gotten a chance to play it yet unfortunately. I just downloaded, but today I'm working on a project with a deadline so won't be able to play it today
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
Please log in to shout.


Members Online: Roy