Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Making AI attack
Making AI attack
Feb 29 2008, 10:44 pm
By: gaiaguerrilla  

Feb 29 2008, 10:44 pm gaiaguerrilla Post #1



I'm using the standard StarEdit that comes with the game. I know the maps I want to make & everything. I understand triggers and locations, but I can't figure out how to make the AI want to attack. The only thing I know comes close is the trigger "use AI script at location" with "anywhere" then I pick something like "protoss expansion insane" or "set to enemy"

I can make the AI gather minerals maybe build a thing or two, but I don't understand what makes them tick . . . err what makes them ticked off. I just want them to start building armies and attack. How?



None.

Feb 29 2008, 10:46 pm Falkoner Post #2



Certain AI's will do it... The Insane AI should work at long as it is corresponding with the race of the player you are running it for.



None.

Feb 29 2008, 10:56 pm gaiaguerrilla Post #3



I probably misunderstood the script then. I thought that "protoss expansion insane" or the like was basically saying . . . "I want the protoss enemy to expand and be incredibly difficult."

If I understand you correctly, that script is actually saying more like. "I want the enemy to treat the player like a protoss and be incredibly difficult."

When I couldn't make them attack, I decided to just enter every script- "protoss expansion" "zerg expansion" "terran expansion" and "all players"

Is there something more generic I can choose so the AI will practically just blindly create units?

I'm not worried about difficulty right now as long as they do more than gather minerals.

Basically-- anything that will make the AI attack and build from early on will make me happy.

Also, I use "minimum 0 seconds" as my condition for the trigger. Maybe that's part of the problem? Dunno.



None.

Feb 29 2008, 11:02 pm Falkoner Post #4



No, sorry, I guess I didn't say it clearly, your assumption was correct, but if you run that AI for let's say, a terran player, it will only mine, but if you run the terran AI for him, he will do everything, the Insane AI's are about as crazy as you are going to get, and use Always for the condition, it works the same, but looks better.



None.

Feb 29 2008, 11:06 pm gaiaguerrilla Post #5



I think I get it, thanks. Instead of say . . . making a game with 3 AIs, then saying "all players" "zerg expansion" "protoss expansion" "terran expansion" (which will confuse them all)-- I have to go "player 1, always, [player's race] expansion insane" and the like.



None.

Feb 29 2008, 11:08 pm Falkoner Post #6



Yeah, you got it.



None.

Mar 1 2008, 1:49 am NudeRaider Post #7

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

If you want more info on which ai does what open "staredit.hlp" in your starcraft folder and choose "Using triggers -> Triggers: AI Scripts"
It contains quite detailed information. (Except the important fact that you need to choose the right race ;))




Mar 15 2008, 7:25 am Master_Sergeant Post #8



Can I increase AI or make my own AI like com will build # <unit>, attack to <location>, etc. ? Is there any AI program ? How can I get it ? Thanks.



None.

Mar 15 2008, 4:04 pm Falkoner Post #9



That is modding, if you want to do something like that, look around the modding section at Maplantis, since SeN's modding section isn't really active. But if you want it to be completely playable via battle.net, you cannot.



None.

Mar 15 2008, 4:06 pm who Post #10



you'd probably need to use ScAiEdit



None.

Mar 15 2008, 4:27 pm Symmetry Post #11

Dungeon Master

Quote from someone09
you'd probably need to use ScAiEdit

This. As Falkoner said, it is modding and not accessible via standard mapping. If you're still interested, visit broodwarai.com. They've got a great AIScripting community.



:voy: :jaff: :voy: :jaff:

Mar 15 2008, 5:46 pm lil-Inferno Post #12

Just here for the pie

Isn't Insane AI a cheating AI because the computer will always have 50,000 gas and minerals? I reccomend you just use something like Protoss Expansion Campaign Difficult ( or whatever it's called :D ). Be sure to place minerals and vespene geysers and have the computer be an enemy of the players, and remember that alliances have to be the first trigger to activate (assuming you have a switch set in the beginning) in order for computers to attack.




Mar 15 2008, 6:07 pm Falkoner Post #13



Uh? No...? Where did you hear this? Insane AI is just a lot more vicious and intelligent.



None.

Mar 15 2008, 7:14 pm Paravin. Post #14



aka. Cheating. :P



None.

Mar 15 2008, 11:52 pm lil-Inferno Post #15

Just here for the pie

Quote from Falkoner
Uh? No...? Where did you hear this? Insane AI is just a lot more vicious and intelligent.
Oh, because in some replay I saved it was Insane AI and the comp always had 50,000 gas and minerals no matter what they made.




Mar 16 2008, 12:12 am Falkoner Post #16



Are you sure the map maker didn't set it to that?



None.

Mar 16 2008, 12:25 am who Post #17



there is actually an opcode in scaiedit (which has most official opcodes i think) that gives the computer money.
yeah the more difficult AIs get money, because once I gave the computer no money, ai, and some hatcheries and it started building overlords.



None.

Mar 16 2008, 3:00 am Symmetry Post #18

Dungeon Master

They only get 2000/2000, not 50k :P



:voy: :jaff: :voy: :jaff:

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: Roy, 9miae3885ya1