Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Stupid Ghosts (Ai nuke here problem)
Stupid Ghosts (Ai nuke here problem)
This topic is locked. You can no longer write replies here.
Oct 27 2009, 12:14 pm
By: theleo_ua  

Oct 27 2009, 12:14 pm theleo_ua Post #1



Goal: if human player build nuclear missile => give all command centers to allied cpu, create invincible ghost for allied cpu, launch nuke to special location and after nuke fall - kill ghost and give command centers back to human player

Triggers:

player: cpu
condition: cpu bring at least 1 nuclear missile to anywhere
actions:
kill all ghosts for cpu
create ghost at location 1
move ghosts at anywhere to location 2
move ghosts at anywhere to location 3
set invincibility for all ghosts for cpu
run ai script "clear previous combat data" at anywhere
run ai script "ai nuke here" at "nuke here"


Problems:

1) If no enemy units or buildings detected - all ok
2) If enemy units or buildings detected - sometimes ghost trying to kill and lockdown them (instead of placing nuke)
3) If enemy units or buildings detected - sometimes ghost place nuke to incorrect location

How to fix?



None.

Oct 27 2009, 4:24 pm CecilSunkure Post #2



Well, if the ghost is attacking or locking down an enemy unit, and you don't want this to happen, you can try making the computer player that is launching the nuke ally with enemy enemy units it is detecting. You should also make the ghost have no energy, or disable lockdown. You can give the enemy units to a player allied to the computer owning the ghost until the nuke falls. You can also try making the enemy units invincible until the nuke is launched (though, I've never tried detecting a nuke, so I don't know if you can detect if a nuke is in a specific location).

Unless someone here has specific experience doing what you are asking, you are going to have to just run a lot of tests to see what you like the most.

You can also use the wiki and search and see if there are any previous posts about nuking ai.



None.

Oct 28 2009, 5:58 pm theleo_ua Post #3



Thanks

I will try give all units to p9 p11 and give back after nuke fall. But I still want to hear better solution (better than set player to ally or give units).



None.

Oct 28 2009, 6:14 pm NudeRaider Post #4

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 CecilSunkure
You should also make the ghost have no energy
You can also try making the enemy units invincible until the nuke is launched





Oct 28 2009, 11:56 pm CecilSunkure Post #5



Quote from theleo_ua
But I still want to hear better solution (better than set player to ally or give units).
You won't be getting one, sorry.. :(



None.

Oct 29 2009, 12:57 am theleo_ua Post #6



Quote from NudeRaider
Quote from CecilSunkure
You should also make the ghost have no energy
You can also try making the enemy units invincible until the nuke is launched

Forgot to say that I always did "set 0 energy" (this fix lockdown bug but dont fix other bugs).

Also I dont like solution with invicibility and now I testing "give to neutrals" solution.


Quote from CecilSunkure
Quote from theleo_ua
But I still want to hear better solution (better than set player to ally or give units).
You won't be getting one, sorry.. :(

Hope dies at last (I hope:) )



None.

Oct 29 2009, 12:59 am Biophysicist Post #7



Try disabling vision for the player that owns the Ghost.



None.

Oct 29 2009, 7:25 pm theleo_ua Post #8



Tested with "give all cpu units to players 9 and 11" and "give them back after red dot placed". Works perfectly:)

Thanks to all.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[04:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[04:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[04:10 pm]
WeirdoX4857 -- Where is everybody
[01:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-27. : 1:14 am]
Symmetry -- https://staredit.net/topic/18932/ check it
Please log in to shout.


Members Online: Dem0n