Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Disabled Bunkers
Disabled Bunkers
Dec 21 2008, 5:22 am
By: UnholyUrine  

Dec 21 2008, 5:22 am UnholyUrine Post #1



I want to make it so that when a player builds an Academy, the academy is removed and switched to a Computer's Bunker (P7) with 2 marines taht will be loaded onto the bunker..

Then, I want the bunker to turn into the state where when you click it, it says it's "Disabled" like a protoss building w/o pylon, and is cloaked, and still be able to attack.

In my triggers, i used "Disable bunker" and then "Enable bunker" .. so Disable+Enable .... It works for some bunkers, and some of the bunkers are just Disabled, where they don't have the "Disabled" phrase, and don't make that cool turning-a-building-off sound when you click on it, and is cloaked differently (Only seeable if you control the bunker, but can't see the bunker if it's owned by the computer even if the shared vis is on)



None.

Dec 21 2008, 5:29 am Vrael Post #2



Just load them in and use disable doodad state once. I think that's what you mean.



None.

Dec 21 2008, 10:11 am Devourer Post #3

Hello

Quote from Vrael
Just load them in and use disable doodad state once. I think that's what you mean.
yes...
Complete Trigger:

Player: X
Condition: PLAYER commands at least 1 Academy (or bring to "battleffield")
Action: Preverse Trigger
Action: Move Location Y on Academy owned by PLAYER
Action: Remove Academy owned by PLAYER at Y
Action: Create 1 Bunker for PLAYER at Y
Action: Create 2 Marines for PLAYER at Y
Action: Run AI-Ascript: enter closest Bunker at Y
Action: wait 50 MS
Action: Dsiable all Bunkers at Y

-> Extra: if you want the bunker be cloaked (completly cloaked, so you either can't see the graphic) you should add this:
Action: Remove 1 FLeetbeacon for PLAYER at X
Action: Move all Bunker for PLAYER at Y to X

NOTE: to do the extra you need a location (in this example X) with a 3x2 proporties, and in that location have to be around 50 fleetbeaocns
[50 fleetbeacons = 50 possible bunkers; 20 fleetbeacons = 20 possible bunkers and so on (for each fleetbeacon which was removed can a new bunker be moved to it)]

Hope that helps



Please report errors in the Staredit.Network forum.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[05:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[05:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[03:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[12:51 am]
Oh_Man -- definitely EUD
[09:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[09:35 pm]
Vrael -- that is insane
[09:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: NudeRaider