AI in UMS
Nov 1 2008, 6:19 am
By: Lord Malvanis  

Nov 1 2008, 6:19 am Lord Malvanis Post #1



Hello! I'm working on a map called "World War 3 The Final War" Where you are the last four stable countries of the world and you must fight back the corrupted world.
In this you are fighting the computer, But no matter what AI script I use they do not act like a normal melee AI that attacks and such. WTF? :><:



None.

Nov 1 2008, 6:37 am FatalException Post #2



Run AI script Expansion [race] Campaign Insane at location? What map editor are you using?



None.

Nov 1 2008, 7:42 am Elvang Post #3



In my experience, just using Run AI script doesn't have much of an effect. Make sure your using Run AI Script at location, with said location covering the Command Center/Nexus/Hatchery and nearby resources. I think they'll seek out opponents on their own if you choose one of the harder AIs.



None.

Nov 1 2008, 12:05 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

OK, Insane AI will do fine. Once it works you might try if custom level or others work slightly better for your needs.

A common mistake when setting up a computer AI player is that not all of the 3: race setting, units owned, AI script have the same race.
Elvang explained the setup those AIs need. Don't forget a starting location at their Nexus. Also make sure ScmDraft hasn't bugged up the starting location. Sometimes you place it but it's not recognized. Opening the map in another editor and saving can fix that. Or you place it repeatedly I also heard it to work.

Lastly make sure they have proper resources via triggers. For a start keep them at 10k ore/gas at all times. Adjust as soon as it works.

Oh and although it might sound stupid, are your alliances properly set?




Nov 1 2008, 1:21 pm Elvang Post #5



It might also be a good idea to supplement the AI you decide on with some of your own. Use triggers create units and order them to attack at strategic times; when t time has passed, player n has at least x1 men on the map, and player n has at most x2 men at a location centered on player n's base for example.



None.

Nov 1 2008, 7:52 pm Lord Malvanis Post #6



Well. I'm using SCMDraft from the News post, And really all I want them to do is harvest, attack, and act like a computer from a melee or FFA style game. I want them to mine their own mins, not be set at a amount the whole game.
May I add this is Earth, We don't have unlimited resources



None.

Nov 1 2008, 7:56 pm Elvang Post #7



Make a location covering their center, some workers, and the mineral fields. Then make a trigger like this:
[C]Always
[A]Execute ai script 'script' at 'location'
Where location is the one mentioned above, and script is Brood Wars Protoss/Zerg/Terran Town A-F, pick a letter and hope they are vicious.
I think to make them attack a certain area more use the ai script 'AI Harass Here' on a location over the enemy base, you shouldn't need to run either trigger more than once.



None.

Nov 1 2008, 8:02 pm NudeRaider Post #8

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 name:HuntaKilla335
And really all I want them to do is harvest, attack, and act like a computer from a melee or FFA style game. I want them to mine their own mins, not be set at a amount the whole game.
May I add this is Earth, We don't have unlimited resources
Look, you already said that. And we already told you what to do and possible sources of the problem.

The suggestion to cheat minerals - incase you haven't read properly - was for testing only.




Nov 1 2008, 8:03 pm Craftstar2 Post #9



Quote from name:HuntaKilla335
May I add this is Earth, We don't have unlimited resources

Oh. I didn't know that.

If you constantly set it to 10,000 minerals and gas, it's not like they will use everything and pump out battlecruisers and the most expensive units. The 10,000 is just to insure that they don't run out of minerals. They will still start slow even with advanced buildings. Most terran AIs make infantry first, attack, build mechs, attack, then air.



None.

Nov 2 2008, 5:26 pm Lord Malvanis Post #10



I see now, Apologies for not realizing at first



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: Roy, 7emmac9522tg4, 8jordanc4885rL9, 6madisone3185eh9, 5carolinee38100th0, 4adriane911gh1