Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - DKSlayer

#1
So I was going through the AI and was getting tired of typing everything so I wrote a program(very quickly so I am not saying it is awesome) to allow me to filter the file. It will filter a file or text for functions, constants, or custom critera. It also has additional options.

You can either copy the code into the box or you can open the file. Primarily I have been testing it on aI\trigger files. But using a custom filter will work on any other file type.

I will be updating it. If you have any questions or thoughts or bugs please respond back. If you look in the file attached included with it , it will let you know of problems I have found or suggestions.

IT is compiled in .NET 3.5

--The Current Functions that are not native that it recognizes:--
=void
=string
=bool
=static
=int
=unit
=order



If you want to add a function report a bug, have it filter by more stuff please include some code of what it was filtering at the time.

Below is the link to snag it
http://rapidshare.com/files/355393855/Starcraft_2_Filter.zip

Version - Super Alpa .0000001
:)
oops that first version was duplicating the function name Fixed it

P.S. once again this is not a crack for starcraft 2.
#2
AI Development / Computer AI Information
February 21, 2010, 07:18:12 PM
I first worked on AI for the Warcraft 3 Beta. The crackers for that time made it to where we could put a computer player in but it wouldn't do anything. Well the problem was the AI files were not completed in that beta. Luckily though they had left the AI file in for the E3 demo in there. We were able then to start programming the AI to get something useful. It looks like it may not be necessary to do any changes to the AI to battle against the computer. But also if we want to tweak it this data will be helpful.
All the info below if based on what is in the files and some educated guesses at this point since we can't do anything with the AI at this point. THE PURPOSE OF THIS POST IS SO THAT WHEN WE ARE ABLE TO GET IN THE GAME AND GET A COMP PLAYER WE WILL BE READY IF AI CHANGES ARE NEEDED. So don't think that this Thread is for getting the Human vs AI working. Also if I post anything incorrect feel free to correct me.  Want lots of help from People.
This first post is to do the Basic intro as well as point out the location of the AI\Trigger files.
To find these files then get WinMPQ and open the files I list below to find all the ones mentioned below.
In \Mods\Core.SC2Mod\Base.SC2Data
·         AI\sc2.galaxy
·         TriggerLibs\AI.galaxy
·         TriggerLibs\BuildAI.galaxy (Placeholder AI Script File)
·         TriggerLibs\GameData\Abil.galaxy
·         TriggerLibs\GameData\AchievementTerm.galaxy
·         TriggerLibs\GameData\Effect.galaxy
·         TriggerLibs\GameData\Game.galaxy
·         TriggerLibs\GameData\GameData.galaxy
·         TriggerLibs\GameData\Unit.galaxy
·         TriggerLibs\GameData\Weapon.galaxy
·         The TriggerLibs\nativesLib_beta.galaxy does includes for the 3 files(TrigggerLibs/AI,TriggerLibs/MeleeAI,TriggerLibs/TacticalAI)
·         TriggerLibs\NativeLib_beta.galaxy pulls in TriggerLibs/natives(not sure where natives file is)
·         TriggerLibs\RequirementsAI.Galaxy (Placeholder AI Script)

In \Mods\Liberty.SC2Mod\Base.SC2Data\
·         TriggerLibs\BuildAI.galaxy
·         TriggerLibs\Computer.galaxy
·         TriggerLibs\MeleeAI.galaxy
·         TriggerLibs\MeleeNotHardAI.galaxy
·         TriggerLibs\Protoss.galaxy
·         TriggerLibs\Protoss0.galaxy
·         TriggerLibs\RequirementsAI.galaxy
·         TriggerLibs\TacticalAI.galaxy
·         TriggerLibs\TactProAI.galaxy
·         TriggerLibs\TactTerrAI.galaxy
·         TriggerLibs\TactZergAI.galaxy
·         TriggerLibs\Terran.galaxy
·         TriggerLibs\Terran0.galaxy
·         TriggerLibs\Zerg.galaxy
·         TriggerLibs\Zerg0.galaxy
Also in the map file there is a Trigger file called "Triggers." Also SC2 probably will be similar to WC3 in that you will be able to provide a custom AI for your Maps\MODS. We'll see when we get to start playing around with it.
If you find anymore please says so.
I will also post what some of the AI files are used as well as which ones are quite pertinent. So this Thread is for all AI related info