NoAI Forum FAQ

From OpenTTD
Revision as of 21:22, 11 September 2009 by SirkoZ (Talk | contribs)

Jump to: navigation, search

These are Frequently Asked Questions for the NoAI Forum at http://www.tt-forums.net/viewforum.php?f=65

Contents

NOaI FAQ

(Q) How can I get the old AI back?

(A) You can't in OpenTTD. There are a lot of AI's that work in different ways. You should shop around and see if there is one you like.

(Q) I don't like any of the new AIs. Can I have the old AI back now?

(A) Sorry, no you still can't. The old AI cheated. A lot. The new framework doesn't allow the AI to cheat. It can't do anything you can't do. There are many AI's, some with the express purpose of being good replacements for the old AI. Read on if you want to influence them to be more to your liking.


(Q) What should I do if an AI crashes?

(A) If you want to be helpful a screenshot of the red text is appreciated. Be sure to get the whole line. The numbers on the right hand side are important. Please make every effort to get the whole line. Post the screenshot in the AI thread.

(Q) What should I do if I find a bug in an AI?

(A) Please take a good screenshot of the error and post it to the AI's thread. Try to be clear about what you expected and what you saw. Save games can help sometimes, but in a lot of cases the problem is past and a screenshot is just as good.


(Q) What should I do if I think an AI should do something differently, add a feature, support a newgrf or something like that?

(A) Find the thread and respectfully ask the author to include it. It's helps if you make your case with some logic. "Newgrf X is very popular and the AI isn't compatible" is a lot more compelling than "I loaded 15 newgrfs in a strange combination and in my custom scenario the AI goes broke half the time." Remember the developers are essentially volunteers. Please treat them with respect.


(Q) How do I start my own AI?

(A) The [url=http://wiki.openttd.org/Noai]NoAi section of the Wiki[/url] should get you going.

(Q) What if I have questions about how to do something in my AI?

(A) Please feel free to ask on the NoAI board. The other authors will almost always try to help you. They will expect you to take a stab at it and maybe post some code showing what you are trying. Try to ask specific questions.

(Q) How do I propose changes to the NoAI API?

(A) There is a [url=http://www.tt-forums.net/viewtopic.php?f=65&t=44249]thread[/url] for that discussion. Please read the entire thread before posting "new" ideas that are already in there.

(Q) My AI needs a math function or something else added to Squirrel in order to work?

(A)Refer to the API Idead [url=http://www.tt-forums.net/viewtopic.php?f=65&t=44249]thread[/url]. There is quite a bit of discussion in there about that topic.

(Q) The pathfinder libraries are slow. Can I make them faster?

(A)Yes. Fanioz [url=http://www.tt-forums.net/viewtopic.php?f=65&t=44699&p=809168&hilit=pathfinder#p809167]has a method[/url].

(Q) I have a question not on this list, should I just ask it here?

(A) Please search the forums first. Spend at least 10-15 minutes searching. When you ask your questions include an searches you tried. Otherwise you are likely to get a terse response to search.

(Q) I posted a question and didn't get (a good) answer, what do I do?

(A) Make sure your question is answerable. Broad questions like "Does anyone know how to buy an engine?" don't get as much traction as questions like "Why doesn't this code snippet result in an engine getting purchased?". Make sure your question is in the right thread. Saying "This AI should support passengers," in an AI thread is better than asking "Why don't more AI's support passengers," in a general thread.

Personal tools