View Full Version : Protoss AI wont work
Anarcy
01-04-2007, 9:29 AM
Hi guys,
i got (as always) a problem.
This time with a protoss AI in one of my maps.
Problem: Protoss do nothing.
Trigger("Player 6"){
Conditions:
Always();
Actions:
Run AI Script At Location("PB7A", "KI Gruen (6)");
}
Thats the trigger. In this map are Terrans, and their AI is working. I tried many Protoss AI´s, no effect.
Any ideas?
Genius
01-04-2007, 11:12 AM
check the triggers they are something wrong.
Condition: Always
Actions: Run AI Script At Location (blahblahblah)
OR
Maybe you misplaced the location find it or make another one
TitanWing
01-05-2007, 6:46 PM
Clarify what "PB7A" is...not familiar with and AI script under that name.
MaxedOutBC
01-05-2007, 10:02 PM
Make sure that player six is protoss, and for locations can't you set it to "anywhere" if you want the script to run no matter where AI is? Also tell us what that PB7A thing is.
TheNomad
01-05-2007, 10:09 PM
Clarify what "PB7A" is...not familiar with and AI script under that name.
... Also tell us what that PB7A thing is.
"Brood War Protoss Mission 7 - Town A" AI Script
Anarcy
01-06-2007, 5:42 AM
Thx Nomad.
I checked it again. Everything is fine with the triggers. I dont know why Protoss AI wont work. The Terran CPU players work all fine (4 Terran CPU´s)
but none of the protoss works. They dont even harvest minerals.
TheNomad
01-06-2007, 7:37 AM
You said that none of the AIs worked... that's strange. Can you upload the map please ?
BTW, the campaign AIs are a bit tricky, Blizzard said the reason they didn't include them in StarEdit is cos of the way they were made specifically for each map, each location, each attack style, the way they placed buildings and so on affected how the AI worked... well that is what they said at least :D
Anarcy
01-06-2007, 9:03 AM
Ehm, could be that the campaign AIs are tricky, but i tried with the standart AIs and they wont work, too. (What is another word for "too"? I think I use this too often)
Well, here is the mission:
TheNomad
01-06-2007, 9:50 AM
... i tried with the standart AIs and they wont work, too. (What is another word for "too"? I think I use this too often)
In this context you can say "it/they didn't work either". If you want to replace the generic "too" like "I like chocolate, too" you can say "as well".
EDIT:
Fixed. A word of advice. I removed the "random start location" thing since it is sucky to have a campaign with different team colors everytime. In the future please remember that each race has its own colors... What I mean is, Terrans might be red or blue, but Protoss should be white or yellow while Zerg should be Orange or Brown mostly (sometimes red), although that is a subjective aesthetic opinion :)
Also keep in mind you have 4 unplaceable hydralisks and 3 drones in the first rush. So fix that too. And one more thing. Keep in mind that Campaign scripts (not custom or area town) NEED resources to start with... they start assuming they have some and mining for them is not "healthy" in terms of AI scripting (even though I think they might get resources if they really need them automatically... but still.
Anarcy
01-06-2007, 10:54 AM
Big thanks Nomad! It´s really good to have you here.
I did not know what rsl did, but now I know. And you are right, it sucks to have different colors every time.
And thanks for the English lesson, I appriciate learning more of that language.
But I have one question remaining: What was wrong with the AI?
TheNomad
01-06-2007, 11:02 AM
That is my secret... which I will share with the world :D
You did "All Players -> Enter Bunker". Bunker stuff is a Terran AI. When you used "All Players" you basically asked Players 6, 7 and 8 to think like a Terran and not like a Protoss (bunkers are Terran buildings ^^). Thinking like a Terran basically changed their race from Protoss to Terran which meant their AI didn't work anymore. Well that is a colorful explanation, of course ;)
I fixed it by changing the Bunker script for the Terran force instead of "All Players".
Anarcy
01-06-2007, 12:09 PM
Ok, thanks again.
Where did you get that knowledge from?
TheNomad
01-06-2007, 12:42 PM
Experience :)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.