Changes Made to Java AI Wikipage

Changes Made to Java AI Wikipage

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

Moderators: hoijui, Moderators

Post Reply
msm8bball
Posts: 52
Joined: 09 Oct 2009, 08:08

Changes Made to Java AI Wikipage

Post by msm8bball »

I've made some changes to the Java AI Development page on the wiki.

You can check the log, but I've added instructions for building a metal extractor, as well as contributed a simple script for moving over the .jar file with minimal effort. I just learned how to build my metal extractor a few days ago, so feel free to make any changes you think are necessary. I realize it's a very simplistic way of doing it, but I just wanted to give people an idea to get them jump started.

Also, if someone could take a look at the calculateDistance(AIFloat3 a, AIFloat3 b) method I wrote, I would appreciate it. The code is ugly, and my brain was hurting too much when I was writing it at three in the morning so I couldn't get the square root to return back with the data type I was using.
meriton
Posts: 18
Joined: 11 Jul 2009, 14:03

Re: Changes Made to Java AI Wikipage

Post by meriton »

External batch file just for moving the JAR file? I use eclipse's JAR export tool and set the proper file name and directory so it's exported to the right place to begin with.

In order not to have to enter that info whenever I want to deploy I have saved that export configuration in a .jardesc file in my project, which I double click (followed by hitting enter) whenever I want to deploy a new version :-)
msm8bball
Posts: 52
Joined: 09 Oct 2009, 08:08

Re: Changes Made to Java AI Wikipage

Post by msm8bball »

meriton wrote:External batch file just for moving the JAR file? I use eclipse's JAR export tool and set the proper file name and directory so it's exported to the right place to begin with.

In order not to have to enter that info whenever I want to deploy I have saved that export configuration in a .jardesc file in my project, which I double click (followed by hitting enter) whenever I want to deploy a new version :-)
I'm not sure if NetBeans has that feature. But anyways, on newer Windows installations that would probably require running NetBeans as an administrator, which I don't really recommend. It's easier to just run a simple script as an administrator.
Post Reply

Return to “AI”