Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: how do you make a barracks 'light up'
how do you make a barracks 'light up'
Jul 25 2008, 12:44 pm
By: frank  

Jul 25 2008, 12:44 pm frank Post #1



so i'm making an SF map and i want every player's barracks to merely light up, as if making a unit, but instead of letting it make a unit (marine, firebat, ghost, or medic)... i create a civilian next to the barracks in a 1-by-1 location after the barracks finishes 'lighting up'.

this will create the illusion of the barracks making the civilian.

do i need to make this illusion, or can i modify a barracks to actually create a non-marin-firebat-ghost-medic unit? if i can, well, i'll need help creating a trigger that has each barracks auto-create the civilian.

actually now that i mention it... i would rather have the barracks create the civilian, and then have the civilian auto-move to the 1-by-1 location originally created to spawn a civilian.



None.

Jul 25 2008, 1:15 pm lil-Inferno Post #2

Just here for the pie

You can make it so that when the barracks creates a marine, firebat, ghost, or medic, it centers the location on the unit that it created, removes the original unit, and creates a civilian to replace it. To make it simpler, just make it so that the barracks can only create marines.




Jul 25 2008, 1:22 pm Clokr_ Post #3



Yeah, replace the units with civilians. You cannot edit the techtree.



?????

Jul 25 2008, 2:38 pm Falkoner Post #4



Of course, a problem is that there is no way to send the barracks the order to build, so getting it to start lighting up originally may be a problem.



None.

Jul 25 2008, 3:11 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Falkoner
Of course, a problem is that there is no way to send the barracks the order to build, so getting it to start lighting up originally may be a problem.
A terran melee ai should do it since marines are the first things it will build.




Jul 25 2008, 5:16 pm Scottp45 Post #6



Quote from NudeRaider
Quote from Falkoner
Of course, a problem is that there is no way to send the barracks the order to build, so getting it to start lighting up originally may be a problem.
A terran melee ai should do it since marines are the first things it will build.
Or you could make a custom ai script ^^ Just making a marine is an easy Ai script to make too



None.

Jul 25 2008, 5:17 pm O)FaRTy1billion[MM] Post #7

👻 👾 👽 💪

Quote from Falkoner
Of course, a problem is that there is no way to send the barracks the order to build, so getting it to start lighting up originally may be a problem.
Without TrigPlug, that is. :P



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jul 25 2008, 5:25 pm Hug A Zergling Post #8



You could always make the build time like, forever. I don't know the maximum build time. I just like to give the more simplifier answers :lol:



None.

Jul 25 2008, 9:35 pm NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Hug A Zergling
You could always make the build time like, forever. I don't know the maximum build time. I just like to give the more simplifier answers :lol:
Captain obvious to the rescue, huh? The question was how to light it up not how to prolong that phase.




Jul 26 2008, 12:33 pm Hug A Zergling Post #10



Fine, then just remove it at a certain amount of time, and replace it with a another barracks, and use an AI script to create a marine.



None.

Jul 26 2008, 12:49 pm frank Post #11



Quote from Hug A Zergling
Fine, then just remove it at a certain amount of time, and replace it with a another barracks, and use an AI script to create a marine.
there is no script to cancel the creation of a marine?



None.

Jul 26 2008, 12:54 pm Hug A Zergling Post #12



no, no, no. You make the build time a long time, and then give comp an AI script to build a marine. Then, after a certain amount of time, you remove the barracks, create a new barracks, and give the script again. Like I said, its just a more similar approach ^^



None.

Jul 26 2008, 1:12 pm frank Post #13



:dontgetit: there isn't an AI script to cancel marines... but there is one to create marines!?

aren't they two sides of the same coin?



None.

Jul 26 2008, 2:11 pm Clokr_ Post #14



Quote from frank
:dontgetit: there isn't an AI script to cancel marines... but there is one to create marines!?

aren't they two sides of the same coin?

There's no AI script purposely made to create marines. But some AI scripts might do the trick if used correctly (even when they were meant to do other stuff).



?????

Jul 26 2008, 3:48 pm Vi3t-X Post #15



AI Script to create Marines.
Custom Triggers to kill Marines.
And then all of those, center, remove, create triggers for the civilian.



None.

Jul 26 2008, 5:26 pm ClansAreForGays Post #16



Quote from Scottp45
Quote from NudeRaider
Quote from Falkoner
Of course, a problem is that there is no way to send the barracks the order to build, so getting it to start lighting up originally may be a problem.
A terran melee ai should do it since marines are the first things it will build.
Or you could make a custom ai script ^^ Just making a marine is an easy Ai script to make too
I think he wants to play it over b.net.




Jul 27 2008, 2:34 am Madroc Post #17



Does moving a building cancel what it's making? If so, then yeah you have a way to cancel a marine by moving to somewhere remote and then moving it back.

If not, simply have a barracks off to the side thats making a marine that takes
Collapse Box
time to make. The way you could get it to start building is to have the game not start until the player creates the marine (which can be detected by mineral loss). Then just move the current barracks to a remote location and move the one making a marine to that barracks' location. Then once several seconds go by, make the other barracks come back and create a civilian as well.

Post has been edited 1 time(s), last time on Sep 19 2008, 9:37 pm by madroc.



None.

Jul 27 2008, 4:54 am Falkoner Post #18



You can also just give it to another player then back, I know for a fact that that cancels building :P



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: 8emmae3722re7, Wing Zero, 4evane112rN4