Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Cpu dont want to build nuke
[SOLVED] Cpu dont want to build nuke
This topic is locked. You can no longer write replies here.
Aug 23 2012, 1:23 am
By: theleo_ua  

Aug 23 2012, 1:23 am theleo_ua Post #1



I created next trigger for computer player: run ai script "brood wars terran 2 town B" at location "nuke silos"

But computer dont want to build them

He has free supply limit, he has money, he has all tech buildings for this.

Why he dont want to build nuke and how to force him to do this?

Also I tried with "town A" instead of "town B", but town A is buggy, because it will create "unplaceable ghosts".

How to force cpu to build nukes?

Map attached

Attachments:
TEST.SCX
Hits: 2 Size: 152.72kb

Post has been edited 3 time(s), last time on Aug 23 2012, 1:39 am by theleo_ua.



None.

Aug 23 2012, 3:21 am staxx Post #2



Town A isnt buggy, it creates 2 ghosts at the bottom left corner of the map if your map size is big enough, otherwise theyre unplaceable. It does auto load your nuke silos though with 0 wait time.



None.

Aug 23 2012, 11:32 am theleo_ua Post #3



Quote from staxx
Town A isnt buggy, it creates 2 ghosts at the bottom left corner of the map if your map size is big enough, otherwise theyre unplaceable. It does auto load your nuke silos though with 0 wait time.

Yes, but my map is not big enough, so I receive "unplacable" messages each 2 minutes (because I use town A/B each 2 minutes). It will looks like "buggy" for players.

Town B is a good option for me, and it works on "clear map", but it doesnt work on this map, and I want to know - why.

As I understand - I will be forced to remove triggers "one by one" to understand, which triggers are blocking "town B" script.



None.

Aug 23 2012, 11:53 am 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

Did you check if the trigger with the Town B script is indeed blocked? Like add an action that does something recognizable like create a carrier in a players view or something.
But if it's actually running, try a more campaign-like environment, like a base with workers and minerals and an enemy base somewhere.
Or maybe you've simply disabled nukes for that player?
Did you preplace the silo as well? Maybe it's not properly attached and thus disabled / neutral.

Post has been edited 1 time(s), last time on Aug 23 2012, 11:59 am by NudeRaider.




Aug 23 2012, 10:32 pm Azrael Post #5



I downloaded your map (twice) earlier, and just finished troubleshooting it.

The problem appears to be that, not only does the computer require the necessary Terran supply to be available to build a nuke, but it also requires the necessary supply in its primary race (you have the computer set to Protoss).

I was able to fix it by placing a stack of pylons in the corner of the map which are never removed, to increase the computer's Protoss supply. Alternatively, I fixed it by changing the computer from Protoss to Terran.




Aug 24 2012, 1:09 pm theleo_ua Post #6



Quote from NudeRaider
Did you check if the trigger with the Town B script is indeed blocked? Like add an action that does something recognizable like create a carrier in a players view or something.
But if it's actually running, try a more campaign-like environment, like a base with workers and minerals and an enemy base somewhere.
Or maybe you've simply disabled nukes for that player?
Did you preplace the silo as well? Maybe it's not properly attached and thus disabled / neutral.

I wanted to answer this, but Azrael already found, where exact problem is:)

Quote from Azrael
I downloaded your map (twice) earlier, and just finished troubleshooting it.

Big thanks for this! Also, if you really want stable version (for playing, or for investigating, which triggers can make perfect and random computer "play" from human players' view) - here is a link to it: https://rapidshare.com/files/2331203609/LT_WITH_CRAZY_CPU_5.12.SCX
Please note, that current stable version is contain only "protoss" cpu, Russian comments in triggers and designed for 3x1 play (it's impossible to win 1x1). You can just host this map in iccup or anything else, wait for 3 players join and just watch this as observer. The fun is beginning from 8th minute of the game.

Currently I decided to patch this map: add Zerg and Terran CPUs, translate trigger comments to English and patch some trigger logic (fix some bugs and make some triggers better). The problem is, that current "patched" unstable version are contain a lot of bugs, even new bugs with protoss CPU, so it will play not as supposed.

Quote from Azrael
The problem appears to be that, not only does the computer require the necessary Terran supply to be available to build a nuke, but it also requires the necessary supply in its primary race (you have the computer set to Protoss).

I was able to fix it by placing a stack of pylons in the corner of the map which are never removed, to increase the computer's Protoss supply. Alternatively, I fixed it by changing the computer from Protoss to Terran.

I changed to Terran, and it works now! Big thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: RIVE, Roy