Staredit Network

Staredit Network -> UMS Assistance -> Cloaking Buildings
Report, edit, etc...Posted by Random_X2 on 2006-05-09 at 16:26:53
Hey! I need a little help in map making, and if ANYONE could help me I'd be really glad. I'm making a map in which I need fire, but with an invisible building. What I mean is, a cloaked building (I can set it's hp to 1% to make it on fire) with fire, so JUST the fire is visible. This technique has been used in Zelda Bound, Mario Kart Battle and other such games. If anyone could tell me how to do it, I'd be REALLY grateful!
Report, edit, etc...Posted by Marandule1 on 2006-05-09 at 16:34:57
well unforturnatly you can only cloak protoss buildings that require a pylon example Gateway, Photons, Stargate etc but not pylon or nexus.

To clock them do this trigger to the location on the building....
disable...
wait0
enable...

and voila finished
Report, edit, etc...Posted by Random_X2 on 2006-05-09 at 16:37:47
Whoa, that was a REALLY fast response. Thanks! I'm gonna try it right away. So it's (at the location) Disable, Wait (for how long?) and Enable.
Report, edit, etc...Posted by Lord_RexJr on 2006-05-09 at 16:39:40
I'm guessing as long as you want or probaby 0 millisecs..
Report, edit, etc...Posted by Random_X2 on 2006-05-09 at 16:40:17
One more thing. I set the trigger for a enemy, right? So I can't see it. And the condition is always? O yea, and if it's cloaked, can it still be clicked on? Thx
Report, edit, etc...Posted by Kyuubi. on 2006-05-09 at 16:40:33
think the only way to make buildings cloaked is to disable them. but most buildings will crash the map when disabled and viewed in the game.

here's a few links on disabled units.
http://www.staredit.net/index.php?tutorial=32
http://www.staredit.net/index.php?tutorial=42
Report, edit, etc...Posted by Urmom(U) on 2006-05-09 at 16:56:05
Don't listen to Marandule1. Just read the tutorials that SlyShadow posted. Here is a tutorial with a list of disablable units.
http://www.staredit.net/index.php?tutorial=279
Report, edit, etc...Posted by sharf on 2006-05-09 at 21:20:32
sigh ive tested every building for disables, pylons, nexus crash sc the rest work and ALL the terran units work, and NONE of the zerg ones work

EDIT: i was a little unclear lol

DONT WORK:Pylon, Nexus, ALL Zerg Buildings, Addons

WORK: ALL Terrain Buildings, Rest of Protoss Buildings

P.S. i havnt tested the units, only the buildings, also havnt tested the SPECIAL buildings
Report, edit, etc...Posted by KaboomHahahein on 2006-05-09 at 21:26:21
Just don't set the HP to 1% or your terran building will slowly just burn to death and your fire will be gone. On defaul bunker HP I usually set it to 40%, it has lots of flame but is still in yellow and won't burn.
Report, edit, etc...Posted by Hurricane on 2006-05-10 at 10:45:32

Trigger
Description:
Cloaking a Building
Players:
¤ (Player 6) A computer or something that is not sharing vision with the players!
Conditions:
¤ Always.
Actions:
¤ Create 1 "Terran Bunker" at any location apply properties to invincible and maybe %20 HP.
¤ Disable doodad state for all Terran Bunkers owned by Player 6.
¤ Turn ON Shared Vision for players that you want to see the fire.
¤ Wait 0 milliseconds.
¤ Turn OFF Shared vision for those same players.
¤ Comment


You could then add another trigger to keep the building from burning to death...

Trigger
Description:
Keep Bunker or other Burning Building Alive.
Players:
¤ Player 6 Again
Conditions:
¤ Always.
Actions:
¤ Modify the HP for all Terran Bunker owned by Player 6 to %20.
¤ Preserve Trigger.
¤ Comment


And if you cannot get the shared vision AI script to work for you, you could always create observers at the same location as the bunker for all the players that you want to see the fire, and have the observers killed as soon as they are created.

The point here is, you have to have vision of the disabled building at some point to be able to have the cloaked effect.

Or maybe im just really stupid and have no idea what I just said smile.gif blink.gif
Report, edit, etc...Posted by sharf on 2006-05-10 at 15:41:17
um it wont look invisable UNLESS you have shared vision even if u view it heres how u cloak it:

Disable building(view it with a detecter to make it cloaked) it will only look cloak if you have shared vision with the building and if u own it it will look cloaked but it will not be invisable if its owned by some1 besides yourself it will be invisable(like you want i think)
Next Page (1)