Create units that can be seen by all players

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
Hello

I want to make a UMS Multiplayer map that can be played 4v4
and I have to create units (such as crystals) that can be seen by the 8 Players.
Can anybody tell me if there's a way to perform that ?

I tried to create the crystals for player1
then give them to player12 and turn on player12's share vision but it does not work.
(Player 12 cannot share vision with other players i guess)

It seems difficult to use map revealers since I don't know how much crystals there will be during the game (they appear from time to time randomly and there can be 30 crystals or more)

Some clever guy does know the answer ?

Thank you all.
 

Romanian

Member!
Joined
Dec 14, 2003
Messages
107
Reaction score
0
Location
Aus
Website
www.romanian.vze.com
Actually, if you just put the minerals from the start and remove fog of war, they will appear on the map, if you have buildings that are initially there, leave fog of war over them so they do not appear on the screen. If you don't understand what i'm saying, post here and i'll give u more detailed answers.
 

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
I want crystals (uraj,khalis or khaydarin) to appear during the game
The crystals are not there from the start , they can't be discovered at the start of the game.
They appear later and after that they must be seen by anyone even if they are transported by a drone...
 

Sakuhta

BattleForums Senior Member
Joined
Jun 9, 2003
Messages
3,019
Reaction score
0
Location
Texas
er... make it an invincible unmovable marine with 0 damage and make every player have a queen that parasites it :D
 

Tuxedo Templar

Member!
Joined
Aug 15, 2003
Messages
237
Reaction score
0
Location
Here!
Website
Visit site
Powerup crystals? Well one thing you could do is cycle their ownership, as in have a trigger that passes them around between all players in the game constantly. Be sure though that it passes around ONLY between players actually in the game, because there is a glitch where if you 'give' a unit to a player not in the game (either they left or never joined), the unit will then become what I call a zombie and be totally untouchable by triggers (and have it's alliances/vision turned off to all players to boot.)
 

Romanian

Member!
Joined
Dec 14, 2003
Messages
107
Reaction score
0
Location
Aus
Website
www.romanian.vze.com
I think what he means is:
At start of the game do:


Trig 1
COND: Player 1 commands at least 1 unit
ACTION: Create 1 uraj crystal at location 1 for player 1
/////////////////////////OR///////////////////////////
COND: Player 1 commands at most 0 unit
COND: Player 2 commands at least 1 unit
ACTION: Create 1 uraj crystal at location 1 for player 2
///////////////////////AND SO ON /////////////////////////
COND: Player 1 commands at most 0 unit
COND: Player 2 commands at most 0 unit
COND: Player 3 commands at least 1 unit
ACTION: Create 1 uraj crystal at location 1 for player 3

Trig 2

COND: Player 1 commands at least 1 unit
COND: Player 2 commands at least 1 unit
COND: Player 3 commands at least 1 unit
COND: Player 4 commands at least 1 unit
COND: Player 5 commands at least 1 unit
COND: Player 6 commands at least 1 unit
COND: Player 7 commands at least 1 unit
COND: Player 8 commands at least 1 unit
ACTION: Give 1 uraj crystal owned by player 1 at location 1 to player 2
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 2 at location 1 to player 3
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 3 at location 1 to player 4
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 4 at location 1 to player 5
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 5 at location 1 to player 6
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 6 at location 1 to player 7
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 7 at location 1 to player 8
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 8 at location 1 to player 1
Preserve trigger


Trig 3

COND: Player 1 commands at least 1 unit
COND: Player 2 commands at most 0 units
COND: Player 3 commands at least 1 unit
COND: Player 4 commands at least 1 unit
COND: Player 5 commands at least 1 unit
COND: Player 6 commands at least 1 unit
COND: Player 7 commands at least 1 unit
COND: Player 8 commands at least 1 unit
ACTION: Give 1 uraj crystal owned by player 1 at location 1 to player 3
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 3 at location 1 to player 4
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 4 at location 1 to player 5
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 5 at location 1 to player 6
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 6 at location 1 to player 7
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 7 at location 1 to player 8
ACTION:Wait 100 miliseconds
ACTION: Give 1 uraj crystal owned by player 8 at location 1 to player 1
Preserve trigger

And so on...
Once you make the first one, the rest will be easy cos u just gotta copy em.
 

titoufred

Member!
Joined
Feb 11, 2004
Messages
18
Reaction score
0
Website
Visit site
Ok Thank you for your ideas
I did the cycling owner thing of Tuxedo Templar but did not use the romanian implementation.
I don't want to use Wait since it freezes all other triggers...
I use 3 switches that determine which player owns the crystal.

Trigger1: Toggle Switch3 (preserve)

Trigger2: COND: Switch 3 is 0
ACTION:Toggle Switch2 (preserve)

Trigger3:COND: Switch 3 is 0
Switch 2 is 0
ACTION:Toggle Switch1 (preserve)

Trigger4:COND:Switch 1 is 0
Switch 2 is 0
Switch 3 is 0
Player 1 commands at least 1 unit
ACTION:give crystal to Player1 (preserve)

Trigger5:COND: Switch 1 is 0
Switch 2 is 0
Switch 3 is 1
Player 2 commands at least 1 unit
ACTION:give crystal to Player2 (preserve)

and so on....

I use Hyper-Trigger too.


It works pretty well although the crystal disappears from time to time. When the crystal is held by a drone it remains invisible for other players but this is impossible to deal with i think.

Tell me what you think
 

New threads

Top