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.
[12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[08:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- 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.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
Please log in to shout.


Members Online: DiearAnother