what are the best AI Scripts to use for making a one player gamewhere i want the comp. to expand/be almost impossible to beat?
i have tried insane and expansion but i dont think i am doing it right!! can some one break it down for me?[/COLOR]
First of all, you have the right thing when saying ai scripts. It takes more than AI scripts to get the perfect computer.
• Many locations.
• NEVER A CREATE UNIT TRIGGER
• Oder triggers
• conditions on what a player does or has, then order commands for the computer
• Use triggers like "if player has army greater than computer, then hold back army untill enough units are acquired".
• Do not give the computer resources, the AI scripts will automatically do that.
Conditions you would probably use(well if you wanted the perfect computer):
-Bring
-Command
-Command the least
-Command the least at
-Command the most
-Command the most at
-Deaths
-Kill
-Least Kills
-Most Kills
Actions you would need:
-Disable Trigger Bypass(Get rid of cheating with the ESC key)
-Move Location
-Order
-Run AI Script(Send all units on strategic/random suicide missions)
-Run AI Script At Location(Including Clear Previous Combat Data, Value this area higher, Set Generic Command Target, Patroll to Generic Command target, Enter closest bunker, Enter Transport, Exit Transport, AI Nuke here, AI harass here, Cast Disruption web, and cast recall)
-Set Deaths
-Set Score
You would also need to use anti-cheating methods. Now the idea here is depending on what race the computer is, you will use a series of triggers, and conditions like "if player has low ammount of anti-air, start gather units for drop" or "if player has lots of air units, change ai script to anti-air computer". That is what I mean by series of AI scripts. You would also do things like "if computer suffers the most losses of certain unit, and player still has these units, then pull weak unit back". I don't know, it's for you to expariment with. If you want detailed information on the AI scripts, PM me and I'll suggest some.
basically without sc ai edit, you will need to make locations and triggers/ ect. and do everything for the computer. This means running ai script to expand and running ai scripts to attack, computers normally build pretty well on their own but if you want them to build you can wait till they accumulate a number of minerals then trap them into building what it is that you want to build. it will take a lot of time but it can be done!
If I were to make a map where the main idea depended on how difficult it is to beat a comp, I'd go with making my own AI using triggers in a similar way that DK said.
That way you could make special strategies and such, the players willa ctually be fighting a human instead of a comp.
A friend of mine made his own AI, but it was extremely predictalble, maybe random switches for differnt parts would be good
Random switches would be evry good. Just make specific Conditions for specif sets of Random Triggers that way it's not firebats vs battlecruisers.
IE: The player has lots of anti-air and anit-ground defenses, the computer will either yamato most of the defenses or nuke several locations.
Lots of AA would mean that computer will go tanks or tank/vults.
Make those conditions for the Random Triggers assigned to a set. That way the triggers will make counters to any type of defense that you have and we will not have somputer firebats killing player wraiths.
Another good technique would be random expansion. By this I mean the trigger will only fire once(no preserve trigger), and it will make an expansion in different areas of the map thus making the player attack different areas of the map each time.