Creating AI documentation + help
Posted: 24 Aug 2017 01:52
I'm trying to build a simple AI. However i'm struggling, as the wiki page basically leaves you with a non functioning (loads but does nothing) info.nut and a main.nut. You are given the code for that, then told "here is the API, get reading".
It never tries to slowly build you up to an AI from scratch, suggesting to copy others (with sutiable licences) - even though that'll be totally overwhelming for the majority of people looking at .nut code for the first time in such a huge amount.
the API page (this) and the page linking to it on the wiki make no note of what these versions correspond to, whether one is better for gamescripts or not, whether one is more geared towards AI, or whether I should simply use the highest number and thus assumably most recent.
So i'm basically clueless, as this seems very different to the only other languages i use frequently, PHP & Pawn.
I've tried looking at some other AIs, but they're way too complex to really start with and hard to learn from, too much in one go.
I was thinking of starting with a simple oil service, boat -> refinery, then trying to do train services with the goods produced to towns, but so far I can't even get a basic bit of code together, as it seems when the AI pages were wrote, they gave up halfway and left you with the API that isn't very layman friendly instead of taking you through it, I'm trying to add to the seemingly lack of AI developers, but the tools to do so are not noob friendly.
I currently just have the basic info/main.nut files the tutorial does, and totally lost really already.
It never tries to slowly build you up to an AI from scratch, suggesting to copy others (with sutiable licences) - even though that'll be totally overwhelming for the majority of people looking at .nut code for the first time in such a huge amount.
the API page (this) and the page linking to it on the wiki make no note of what these versions correspond to, whether one is better for gamescripts or not, whether one is more geared towards AI, or whether I should simply use the highest number and thus assumably most recent.
So i'm basically clueless, as this seems very different to the only other languages i use frequently, PHP & Pawn.
I've tried looking at some other AIs, but they're way too complex to really start with and hard to learn from, too much in one go.
I was thinking of starting with a simple oil service, boat -> refinery, then trying to do train services with the goods produced to towns, but so far I can't even get a basic bit of code together, as it seems when the AI pages were wrote, they gave up halfway and left you with the API that isn't very layman friendly instead of taking you through it, I'm trying to add to the seemingly lack of AI developers, but the tools to do so are not noob friendly.
I currently just have the basic info/main.nut files the tutorial does, and totally lost really already.