Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Nuke Refills?
[SOLVED] Nuke Refills?
This topic is locked. You can no longer write replies here.
Oct 18 2011, 12:01 am
By: IcY  

Oct 18 2011, 12:01 am IcY Post #1

Cruisin' on that LSD

Can you refill a nuclear silo with a trigger?




Oct 18 2011, 12:08 am Azrael Post #2



Give it to a computer, make sure they can afford to build it, and run the 'Brood Wars Terran 2 - Town B' AI script for them.




Oct 18 2011, 12:35 am Lanthanide Post #3



To expand on the above:
You have to give the attached CC to the computer player, then run the script. Apparently it tries to create ghosts too, so you might get placement errors or some-such. I haven't always seen that myself, though.

Then give the CC back to the human player. The nuke unit inside the depot will still belong to the original computer player it was created for, however, so units killed by it will be counted for the CPU (luckily it will kill all units, ignoring alliance status). If this is an issue, you can place a small location that is Air only above the nuclear silo. Have a trigger that is "CPU player brings 1 nuclear missile to [location], give 1 nuclear missile from CPU to [human player] at [location]". With this trigger, you'll see the colour of the missile is briefly that of the original CPU player, but it'll change to the human player once it's been run.



None.

Oct 18 2011, 12:40 am Azrael Post #4



Quote from Lanthanide
You have to give the attached CC to the computer player, then run the script. Apparently it tries to create ghosts too, so you might get placement errors or some-such.

That's the 'Brood Wars Terran 2 - Town A' script. I don't recommend it.




Oct 18 2011, 12:46 am Lanthanide Post #5



Right, I recall there are 2. I believe there might be some differences between them though, like they take different approaches for the nukes. One of them causes the AI to build the nuke, while the other actually places the nuke unit directly into the building. One is more prone to failure than the other.



None.

Oct 18 2011, 12:54 am Azrael Post #6



'Town A' creates the nukes instead of building them, and tries to create Ghosts in an unalterable location.

'Town B' just builds the nukes using resources like normal, and does nothing else. It always works as expected.




Oct 18 2011, 3:10 am IcY Post #7

Cruisin' on that LSD

Thanks guys. What about detecting and moving nukes placed in the editor?




Oct 18 2011, 3:32 am Lanthanide Post #8



The only nuke units that will behave remotely like regular nukes are those that are created in silos, either by human players manually or using the method outlined above.

Any nuclear missile units you place in the editor won't behave as you want them to.



None.

Oct 18 2011, 3:23 pm Roy Post #9

An artist's depiction of an Extended Unit Death

You can move around preplaced nukes using AI scripts such as Junk Yard Dog or Set Generic Command Target + Make These Units Patrol.

You had a similar question here which describes how to use Set Generic Command Target and Make These Units Patrol in detail.




Oct 20 2011, 12:05 am IcY Post #10

Cruisin' on that LSD

Thx roy! Thats perfect. Thanks much!




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: lil-Inferno, Roy, Sie_Sayoka