AI Code

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit

Moderator: NBJeff

Posts: 4
Joined: Mon Jan 05, 2015 3:21 pm

AI Code

Postby GAmeDOS » Tue Aug 18, 2015 2:32 pm

It has come to my attention that the code for Artificial Intelligence in entities is hardcoded into the .exe file.
Short of tearing that apart and re-coding the entire game, there is no way of creating new AIs, to my knowledge.
Is there any possibility that the AI code or a modification function will be released any time soon?
EDIT: I may or may not have posted this in the wrong forum, not sure.
User avatar
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: AI Code

Postby aubergine18 » Sun Aug 23, 2015 10:05 pm

Probably better in the Modding forum, but...

You can kind of make your own AIs (using Lua scripts), but only for new entity types (which can be added via materials.txt).

The Lua scripting has features to do pathfinding, and various other properties that would allow some basic AI stuff to be implemented. However there's very little in the API to get details about the prison, for example you can't even get a list of rooms or currently assigned tasks.

What sort of thing were you planning implementing? I've dumped everything I know about entities and object scripting in guides over on Steam:

* Entities: ... =496467579
* Object scripting: ... =480978426

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 3 guests