HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How the hell would i do this..

05-24-2003, 01:07 PM#1
Dark Azonik
Ok im making a map now and well you remember those map like u click an building then build ur hero and there u go...like frost ctf or something like that....i want to do the same thing except not make like 15 buildings for every player i just want to do 1 which would have the full shared unit control to all player in the game..i did this trigger but when i test my map i always start as the comp.......so i need to know how to start as player 2...
05-24-2003, 01:11 PM#2
Draco
Well, I'm assuming all you are doing wrong is not editing the "Player Properties". Make Player 1 the comp., player 2 the user, and make sure that you check the check boxes in the Forcees window "Fixed Start Locations" and the other one. er sumthin like that.
05-24-2003, 01:12 PM#3
Dark Azonik
thats what i did and it works now thanx
05-24-2003, 01:15 PM#4
Draco
No problem. I forget that sometimes too. :D
05-24-2003, 01:16 PM#5
Dark Azonik
it isnt working really...the player 1 is the comp and 2 the user but i start as player 1 still...i did fixed locations and stuff but anyway heres my trigger
time-time elapsed in game is 1 second
condition-none
action-Player-make player 1 treat(red) treat player 2(blue) as an ally with shared vision and full shared unit control
05-24-2003, 01:17 PM#6
Dark Azonik
i guess its maybe my trigger cuz im not good with triggers and stuff
05-24-2003, 01:28 PM#7
Draco
No, if ur starting as Player 1 your Player Properties aren't right.

If Player 1 is set as comp. with no random start or anything and fixed locations, there is no way you would be player 1. (Make sure that the Map Initialization trigger still isn't there.)

Also, just create forces in the Forces Properties and make player 1 and 2 be allies....that way, you don't even need a trigger for it. Because when you make a trigger like that you need two actions. One for player 1 to treat player 2, and one for player 2 to treat player 1.
05-24-2003, 01:28 PM#8
Dark Azonik
Ok i fixed some small things i made player 2 the comp and it works now
05-24-2003, 01:29 PM#9
Dark Azonik
ok ima try it so when i start my map i dont see this message
you have been granted of 's units
05-24-2003, 01:31 PM#10
Dark Azonik
i dont want em to be allies i want the control of the units
05-24-2003, 01:52 PM#11
rwxr-xr-x
The bigger question is, did you get full shared unit control before you made the changes. I'm not sure if you were, but if you tested the map in Single Player, your units will be red, even though you will still be the appropriate player depending on the slot you are in. It adds to a little bit of confusion sometimes, but your units being red is not an indication that you are player 1.
05-24-2003, 02:28 PM#12
Dark Azonik
OHHHHHHHHHH OK ~!~!~thx
05-24-2003, 02:36 PM#13
Dark Azonik
now cant do this im so confused i cant make it work...i wanna make it work without that message

gained control of 's units

is there a damn way now im mad i cant make it work i worked all the morning for it
could u guys make me the trigger...its simple all i want is that people click the building and choose their heros without making a building for player 1 player 2 etc.....could u guys tell me the trigger?
05-24-2003, 04:33 PM#14
rwxr-xr-x
If the building in question for a team is guarded (i.e. the other team will not be able to reach it), you could do the following:

Create a neutral building (like a merchant shop), and if you are using UMSWE, or any other WE addon, you can then change the model to the building you want. Then create a custom unit based on a hero (you can also set the units scaling size to as close to 0 as you can if you don't want it to be seen, and set its movement speed to 0). Then place a custom hero unit for each player next to the building. When the game begins, the preplaced unit for each player will allow them to "purchase" a hero form the neutral building.

The only trigger you would need in this case would be to remove the child for a player if they choose a hero. This solution would work best if the hero gets moved to another location so they can't access the building after they chose their hero (unless you want them to be able to get additional heros later on in the game).
05-24-2003, 04:48 PM#15
Dark Azonik
dude i know this i alredy tough of this but theres a small icon at top left corner of a hero... i dont want this to be seen