I've been make many different maps and experimenting for many years with the map making capabilities of starcraft. MY biggest problem has been AI scripts. I can never get a computer to act like its an FFA game in UMS. In the current map I'm trying, 4 humans and 4 comps, the comp just mine, build a bunch of hatcheries with their starting minerals, and the keep mining forever.
I tried gave each computer two bases with minerals. On base is set to "Zerg Expansion Insane", the other to "Zerg Expansion Area Town". Each time, They build 1 hatchery int he area town base, and 3 int he insane base. How do I make them actualy do something and develope properly?
My second problem has me completely confused. When I tested the map, I see everything above, but also, the computer players get 2000 minerals to start with (this is AFTER turning off the default 50 ore trigger). There is no trigger giving them any ore, no reason, no default. I really have no idea why they get 2000 ore. Any Idea why this is happening?
EDIT>>
I found out that the "Zerg Expansion Insane" automatically supplies 2000 minerals. The comps still dont seem to do anything, even now that I set them on Zerg Expansion Custom. I want these computer players to be very good and aggressive, but they never seem to do anything.
Post the map.. most likely, the problems with it are in the aspects of the map un-related to all this that affect it, especially the 2000 ore thing.
Because I edited after you posted:
I found out that the "Zerg Expansion Insane" automatically supplies 2000 minerals. The comps still dont seem to do anything, even now that I set them on Zerg Expansion Custom. I want these computer players to be very good and aggressive, but they never seem to do anything.
CPU gets the money because of an AI script function 'give_money'. Download SCAIedit to read the scripts (and create your own) and you'll see altough it uses special code ASC3 or something like that. I'm not sure where to SCAIedit but it may be here in SEN, otherwise you'll have to look for it in google. It will be easy to find it as I remember.
Anyway, that function 'give_money' sounds really good.
I changed the computers back to "insane" because "custom" mode didn't do anything. I just gave the comps 10,000 ore and gas. They sit and mine for a while, then they build a bunch of hatcherys. Then they mine more. They build maybe 1 or 2 drones. Nothing else.
What do I do to make them DO something. They need to be INSANE.
The other observation I have is their mining. I used stacked minerals, and for about the first 20-30 seconds of the game they all mine, then all stop but one. I really don't get AI scripts, they never seem to work.
I was running into the same problem before and what seemed to be the problem was that the computer did not have enough room to build. I had them on a small island and i gave them all the buildings they needed and i just wanted them 2 pump out units. Once i made the island bigger it all worked. comps just like to have plenty of room i guess.
Try putting the AI scripts under the player it is supposed to run for. So for player 5 computer, but the trigger under player 5.
The comps already have quite a bit of room, and the AI script triggers are under the specific player. They still just build like 6 hatcheries an mine forever.
My other problem is the game crashes all the time on my computer, but not on anyone else's computer, so testing it is annoying.
IDEAS:
[*]The trigger being used is run ai script AT, so make sure the location you use is around the start location and base of the computer player its for.
[*]Make sure the computer player is enemies with the human players
[*]Try a different AI script (non expansion, custom, etc) to see if that changes anything
The alliance status won't affect the AI script to my knowledge. And he is using the right scripts. It is important to put the location right over the main building (hactchery, nexus, command center). The location should be the same size as the building not like an overall huge area.
QUOTE
The alliance status won't affect the AI script to my knowledge
Of course it affects the AI scripts. If the computer has no enemies it will just continue to mine minerals for the entire game becuase it has no threats to eliminate.
As far as the location, it doesn't have to be just around the hatchery. I told him to check his locations to see if that's where the problem is, but for my RAGE map I used the following trigger:
| Trigger |
| Description: |
| AI Script |
|
| Players: |
| ¤ P8 |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Run AI script at, Expansion Terran Campaign Insane, Anywhere
|
| ¤ Preserve Trigger |
And I copied that trigger for all 5 computer players and they all worked perfectly mining, rebuilding, and sending units at me.
I tried setting it to "anywhere" location, and all the comps proceded to the center of the map to build hatcheries instead of in the base.
I found out that Starforge or SCMDraft (whichever i made the map in) defult disabled many technologies.
I reenabled them And it made no difference. I palyed through 2 times.
Player 5 is the only one set on Zerg Expansion Custum (Expansion Insane does even less). The first time I played through, they actualy made a spawning pool, and 6 zerglings to attack the other comps. They amde other zerglings but never did anything with them. They also do something really weird. When I attack, they build alot of hatcheries and they constantly build overlords.
Unfortunatly, I saved this reply but it disapeared. I made a second one and I never got them to build zerglings, but they exhibited the same behaviors. I have the location right over the hathery only, and I've tried it with only one base instead of two.
Reply attached, take a look (I'm player 1 top left, player 5 comp is around me).
The replay really won't help you described it fine in here. We need to see your map.
Heres the map. It only has AI alliance, and money triggers in it. Hope tyou can help me out here =\ .
QUOTE(Diggidoyo @ Nov 26 2005, 02:22 PM)
| Trigger |
| Description: |
| AI Script |
|
| Players: |
| ¤ P8 |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Run AI script at, Expansion Terran Campaign Insane, Anywhere
|
| ¤ Preserve Trigger |
[right][snapback]365223[/snapback][/right]
That wouldnt work with the preserve trigger as it would constantly restart it and never go too far past the first ai script ran.
Didn't have any problems with it. But i'm not the one that needs help yo_yo_delta is.

QUOTE
That wouldnt work with the preserve trigger as it would constantly restart it and never go too far past the first ai script ran.
Well, I think that's the problem, he seemed to have AI scripts all on preserve trigger, couldn't see anything else that would seem to go wrong.
Well that was the problem, thought i tested that too. They are pretty good. Thanks all.
I knew that was the problem lol.