VB AI Hello world

VB AI Hello world

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

VB AI Hello world

Post by hughperkins »

VB AI Hello World

http://manageddreams.com/csai/testvbai.zip

To use:
*copy bot-libs\vbailoader.dll and bot-libs\vbailoader.xml into taspring\ai\bot-libs
*copy vbai\csai.dll and vbai\csai.pdb into taspring\ai\vbai (create the vbai directory)
*create a multiplayer game, and add bot "vbailoader.dll"
*it should say "Hello world from vb" when it starts up

To compile:
*open a commandline prompt (Run, Start..., "cmd", press enter)
*navigate to the vbai directory
*add vbc to the path, type:
**set PATH=%PATH%;%WINDIR%\Microsoft.Net\Framework\v2.0.50727
*compile CSAI.vb, type:
*vbc /debug /target:library CSAI.vb /reference:csaiinterfaces.dll
*copy the new CSAI.dll and CSAI.pdb into taspring\ai\vbai, overwriting the files that are currently there
Post Reply

Return to “AI”