Staredit Network > Forums > SC2 Assistance > Topic: Changing one building into another
Changing one building into another
Aug 15 2010, 9:58 pm
By: Keyeszx117  

Aug 15 2010, 9:58 pm Keyeszx117 Post #1



I want a probe or something to walk up to an obelisk and have it bring up a menu to change it into a variety of buildings. Right now I'm trying to get just the abilities and command cards set up so I can test it out. As of right now it's not going so well since I'm not too good with the editor.

Also so I don't create multiple topics, how would I make a stargate shoot out interceptors and keep them out and flying about the building until an enemy passed by?



None.

Aug 16 2010, 1:28 am Temp Post #2



You are asking for a lot of complicated things.

I would suggest starting out a little simpler and learning your way up. You can start with looking into the morph abilities (there are examples with the command center) for learning how to morph buildings into other buildings.



None.

Aug 16 2010, 1:48 am Roy Post #3

An artist's depiction of an Extended Unit Death

Look at how the Zerg buildings evolve, such as from Hatchery to Lair. This relationship is likely what you want for your cause.

As for the interceptors (and the above problem, too), you can use triggers to detect when a unit is in certain range of another unit. For your first problem, you would say a unit comes within range of a probe as the event, the unit type is an obelisk for the condition, and use "triggering unit" to reference the obelisk in the actions.

For the interceptors, you'd have to detect when an enemy is in range of a stargate for the event, detect that the unit is an enemy of the player owning the stargate, and then reference then order/remove the interceptors "into" the stargate. To check that no enemies are around, you'd have to have a periodic event with a condition that no enemy unit is in range of the stargate.




Aug 16 2010, 6:06 am Keyeszx117 Post #4



I found out how to do it. I used the information here and the information from sc2mapster and figured it out. But it doesn't change to the new building. It stays as the Obelisk. Would that have to deal with actors?



None.

Aug 16 2010, 6:14 am DevliN Post #5

Woah

It depends on how you did it. If you used an evolve ability, then it should evolve into a new building with a different actor.



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:32 pm]
Oh_Man -- yea APM vs eAPM
[08:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[08:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
[08:06 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
*Pluto's wraiths
[08:05 am]
NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
[02:18 am]
Oh_Man -- Close enuf
[2026-9-21. : 4:14 pm]
Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
[2026-9-21. : 4:14 pm]
Vrael -- 240*12*2 is 5760, where is the other 240 APM?
[2026-9-21. : 3:44 pm]
Oh_Man -- 1 action is selecting the unit and another action is moving it
[2026-9-21. : 2:58 pm]
Vrael -- 240*12 is 2880, where is the other 3000 APM?
Please log in to shout.


Members Online: Sie_Sayoka