Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat May 26, 2018 11:47 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Creating New AI
PostPosted: Thu Oct 12, 2017 11:30 pm 
Offline
Engineer
Engineer

Joined: Thu Oct 12, 2017 11:25 pm
Posts: 1
Hey everybody! I've been a lurker for a while but I'm trying to create my own AI.

I followed all the basic instructions with the info.nut and main.nut files, but my AI doesn't show up as an option when it's in either the Program Files or the documents sub folders (under the AI folder). What do I have to do to fix this? Thank you in advance!

(Note: I've compared my files to other AI ones and the intro stuff and I've done the code correctly, so I'm just confused if I need to compress it or something)


Top
   
 Post subject: Re: Creating New AI
PostPosted: Fri Oct 13, 2017 2:12 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4612
Location: home
First check whether the files are detected, by running the openttd program with a -dmisc=9 option (open a command window and type "openttd -dmisc=9" without quotes).
The program dumps files that it finds, which should include your AI files.

For ease of debugging, you may want to move your regular content out of the way temporarily, to avoid too much output.

I am not sure what happens if your files have errors, likely they get reported somewhere, perhaps at the comand window too?

_________________
Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.


Top
   
 Post subject: Re: Creating New AI
PostPosted: Mon Nov 06, 2017 1:40 pm 
Offline
Engineer
Engineer

Joined: Sun May 12, 2013 10:28 pm
Posts: 89
Location: Argentina
Please post a copy of your info.nut, maybe the problem is there. Also check that your AI is in his own folder in the AIs folder.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.