Staredit Network

Staredit Network -> Games -> All about AI scripting
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-07 at 15:19:36
Before I start about AI scripting, check this out:

http://www.horatiodawn.tk/SC_AI/downloadpage/index.html

So, about AI scripting smile.gif
It all started with Entropy, Racine and Rama:

http://www.entropyzero.org/BroodwarAI.html

getting together and creating a very challenging AI. They also created a successor Insane AI, which performed even better and is still almost unbeatable 1v2 on Lost Temple.

Then I wrote a tutorial on broodwar AI scripting:

http://www.entropyzero.org/broodwar_scripting_index.html

Next, Steve joined the group:

http://www.geocities.com/bajadulce/

and created some superb AI installers. Next thing I know Racine started off researching AI scripting on binary level and finding still undiscovered AI commands, leaving Steve and me to provide you with fresh meat.

If you want to learn check the tutorial! Then, if you still want to learn, check the websites and check out the build in Blizzard AIs (using WinMPQ and SCAIEdit v3.1). Then, if you still want to learn, you might want to contact some of the guys at entropyzero.org. wink.gif

M_K

Edit 1:

How to run an AI script at location in StarEdit:
- Create map
- Add a few starting locations
- Add the basic units/buildings (e.g. 1 nexus, 4 probe)
- Choose Location layer (instead of Terrain/Unit layer)
- Create a location over each starting location, remember which location you put where
- Choose Scenario from the top menu
- Choose Triggers
- Choose New...
- Select a player for which you want to add the AI script (e.g. player 1)
- Select New... then ALWAYS
- Next...
- Select New and RUN AI SCRIPT AT LOCATION
- Select the AI script you would like (e.g. Protoss Expansion Custom Level) and select the location
- Choose Ok and Finish
- Repeat for each player you want to execute an AI script

The AI scripts you can choose from are located in the AISCRIPT.BIN in the PATCH_RT.MPQ file. Using WinMPQ and SCAIEdit you can extract, alter and replace these files to create your own custom AIs. It is hard work, but it is very cool to have your own AIs to demo your map! happy.gif



Report, edit, etc...Posted by KaboomHahahein on 2005-03-07 at 15:22:50
This sould not be in Map Making Assistance.
Report, edit, etc...Posted by Drakiel on 2005-03-07 at 15:52:27
(just from a quick glance)
This is also AI Script Modding, correct?
Therefore, it's of no use to (most!) B.Net players.

Cool stuff though.
Report, edit, etc...Posted by chuiu on 2005-03-07 at 17:35:08
Yes, this is AI script modding. And it also doesn't belong in MMA. tongue.gif

Moved. smile.gif
Report, edit, etc...Posted by Rhiom on 2005-03-09 at 00:13:40
doesnt really seem to belong in games either... except that games can have to do with anyhitng game related at all smile.gif .... cant think of where it should go though, lol

Good post though, great information.
Report, edit, etc...Posted by SA_Max71 on 2005-03-09 at 11:21:23
I think it would belong in the map making related forum... the one about staredit.exe since it has something to do with the program, and doesn't have as much common ground as it does in the games forum.
Report, edit, etc...Posted by chuiu on 2005-03-09 at 11:30:31
It's related to modding and not directly map making so as far as I'm concerened it belongs here. :/
Report, edit, etc...Posted by Deathknight on 2005-03-09 at 18:46:51
I think you should just add a brand new script to aiscript.bin, so you don't have to reinstall and such to play with others online, or is that just unstable?
Report, edit, etc...Posted by bajadulce on 2005-03-10 at 05:23:11
QUOTE(Ðeathknight @ Mar 9 2005, 04:46 PM)
I think you should just add a brand new script to aiscript.bin, so you don't have to reinstall and such to play with others online, or is that just unstable?
[right][snapback]161392[/snapback][/right]


You're absolutely right! And the first person to actually bring this up!

With previous versions you had to uninstall every time you wanted to play normal mode on Bnet, a UMS's or any singleplayer map that needed key staredit scripts other than the custom expansion (melee) ones. Also staredit would crash if this wasn't uninstalled too. When you accessed the triggers tab there were missing scripts such as junkyard dog etc!

I have added a "normal" aiscript.bin to the new generation of loaders for this purpose. Now all the staredit scripts are present when run in "normal" mode.
I am dedicated to the single-player experience and felt this too was a key element missing.

Please don't hesitate to to point out any other changes that would make for a better loader as your input is much appreciated!
Report, edit, etc...Posted by SA_Max71 on 2005-03-10 at 06:32:10
I still don't understand. Would you answer DK's question as a "yes", or a "no", please? Thank you.
Report, edit, etc...Posted by bajadulce on 2005-03-10 at 14:50:51
QUOTE(SA_Max71 @ Mar 10 2005, 04:32 AM)
I still don't understand. Would you answer DK's question as a "yes", or a "no", please? Thank you.
[right][snapback]161765[/snapback][/right]


"yes" I've added a "normal" aiscript.bin, and "no" this is not unstable.
Next Page (1)