Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Ai Script Question
Ai Script Question
Aug 1 2008, 1:03 am
By: Craftstar2  

Aug 1 2008, 1:03 am Craftstar2 Post #1



I have a computer player on an island with a starport and a barracks. I want the computer AI to build dropships and units and raid the human player. How should i go about doing this? Should i set AI Harass on a specific areas?

I don't want to do the enter transport and exit transport scripts because i want it to be a bit more random. I have a mineral patch with a bunch of scvs mining for the computer in his base.



None.

Aug 1 2008, 1:25 am Vrael Post #2



A terran melee AI script should help. Like "Expansion Terran Campaign Insane." And maybe a "value this area higher" at the location you want them to attack.



None.

Aug 1 2008, 7:33 am NudeRaider Post #3

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

Acutally the effects of melee AIs are not very well known. Just try a few and check which gives you the best results.

Also you could trigger a dropship AI on your own. Use switches or death counters to generate random values for delay inbetween drops and varying drop exits.
You could also use conditions like [human player(s)] brings at most 0 units and at most 1 turret to 'drop loc 1' => do drop at 'drop loc 1'.




Aug 1 2008, 1:33 pm The_z0r Post #4



Quote from Vrael
A terran melee AI script should help. Like "Expansion Terran Campaign Insane." And maybe a "value this area higher" at the location you want them to attack.
That probably would produce unexpected results. The computer's SCVs might start expanding and might prove problematic. Your best bet would be to probably make your own "AI" through detection of units and random switches. That would require you to use "Enter Transport" and "Exit Transport", also. I know you didn't want to use those scripts, but, this is probably the better, easier, and most precise idea.



None.

Aug 1 2008, 1:37 pm KyleIs1337 Post #5



I will try to create some "artificial artifical intelligence" lol. I'll upload the map when i get around to it.

Edit: But the fact that it's hard to make it create a marine i'm going to have to make it spawn it randomly.



Post has been edited 2 time(s), last time on Aug 10 2008, 7:24 pm by KyleIs1337.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: Zakerozi, DarkenedFantasies