Original Post — Direct link

/title

The ai absolutely needs an overhaul before the next update. You cannot viably play alone so you NEED the bots to share the upkeep of your sub. The problem is, the ai are not very smart. They rely on a waypoint system that cause more problems than it should. The ai will get stuck in a loop like when they're replacing o2 canisters. Instead of putting them back where they got it, ideally the suite or airlock area, they just throw them on the floor and f*ck off.

The orders need reformatting because right now it's bare bones.

Load ideally should be:

Load

*Ammo?

*Cargo?

*Supplies?

*Fuel?

*Materials?

*Miscellaneous?

into

*designated area 1

*designated area 2

and so on.

Captains should at least have a way to designate where sh*t goes so the ai doesn't litter the ship with empty canisters and items. The orders need reformatting because right now it's bare bones.

Your medic at least will acknowledge what they need in order to heal someone, but if they don't have it (but we have the ability to fabricate it) they won't do it.

Maybe implement a permission system to let the crewmembers be crewmembers and do what they have to do to keep the ship in optimal order.

External link →
about 3 years ago - /u/Regalis11 - Direct link

Originally posted by Prink_

While I totally agree that current AI is pretty bad and needs an overhaul, I think you are massively underestimating how much work there is to create a correct AI. Next update is unrealistic and like others say there is a lot of things that are likely higher priority than this.

The way AI work currently (excluding machine learning which is a whole other can of worms) is by manually programming each cases, an enormous task by itself, and then having weights that determine the priority in of said action. Obviously those weights needs to be adjusted depending on context and player given order.

This is a massive undertaking that is hard to justify prioritising in a game where a lot of people don't even play with bots

Well said.

I agree that we have a lot of work ahead of us in improving the AI. But as said, it is an enormously complex task to get them to act smart in every possible scenario, including custom submarines with unusual solutions, systems and layouts that we hadn't accounted for (and often with issues in the way their waypoints have been set up). So improving and fixing the AI will most definitely be an ongoing task that we'll keep doing until the eventual full release and beyond.

Overhauling the entire AI for the next update, or even the one after that, is simply not possible I'm afraid; even if our AI programmers didn't sleep there still wouldn't be enough hours in a day to pull that off.

But in any case, there's lots of useful criticism and feedback in this thread. We'll keep these in mind as we continue improving the AI and ironing out issues like these! :)

about 3 years ago - /u/Regalis11 - Direct link

Originally posted by Knifetoface

I’ve done lots of fiddling around in the sub editor and what I’ve discovered is that most of the time containers such as medical compartments, fabricator compartments, ammo loaders, etc. simply aren’t tagged. If you tag the containers in a sub properly (you can even tag the suit cases within the containers!) The bots will not only efficiently put things away but they’ll do it very quickly!

https://imgur.com/a/5oWdEs7

I think the issue is that the way the AI works in the game is very confusing. It took me several hours to figure out how to properly tag a ship so that the bots know how to put things away. Making it easier to understand would be great. Now that I figured it out however the bots are extremely good at loading weapons and putting away materials all where they need to go!

There are some restrictions currently. I wish there was a way to label spent ammo to go somewhere different other than where full ammo goes. So far I haven’t figured out a way to have them automatically pick up fruit that falls on the ground and put it in a specific location.

I'm glad you brought this up! Not being as closely involved with sub building as some of the other people in the dev team, I've sometimes resorted to looking up the tags in the item config files when doing something related to them, and thought to myself that we should make assigning the tags easier at some point™️. But it never fully occurred to me how big of an impact this one hard-to-use feature of the sub editor actually might have on the game as a whole; I'm certain there are a lot of sub builders who aren't even aware of the feature, and as a consequence the bots most likely tend to perform worse for people who mostly play on custom subs.

I think we'll need to bump up the priority on this and make this part of sub building a little more user-friendly soon!

I wish there was a way to label spent ammo to go somewhere different other than where full ammo goes. So far I haven’t figured out a way to have them automatically pick up fruit that falls on the ground and put it in a specific location.

The former isn't possible (yet?) but the latter can be done by using the tag "plantcontainer".

about 3 years ago - /u/Regalis11 - Direct link

Originally posted by Knifetoface

Thank you!

So I would put “plantcontainer” in the tags line for the cabinet in the grow room the same way I put “storagecab” on the locker in the fab room?

I tried putting “plantitem” in that line but it did not recognize that. I figured since all plants, seeds etc have “plantitem” in their tags they would be directed there but sadly not!

So to properly tag a storage container I do not use the common tags of the items I want in that container like “plantitem”. What I actually need is some grouping tag like “plantcontainer” or “storagecab”. How would I then go about tagging a container for a specific item? Would I use a grouping tag that included the item I want then in the restrictions line use a tag that is exclusive to that item or the items name itself?

Ill look at this when I get home, but does the item config file show the grouping tags for items such as “plantcontainer” “storagecab” etc? Where do I found the others? I definitely want to know them all! I found storagecab on the wiki but they did not have plantcontainer and I might never of found it if not for you!

There is a lot more to know I guess!

Edit: “plantcontainer” doesn’t work!

Yep, "plantcontainer" would be put in the cabinet the same way as you'd use "storagecab". I'm not sure why that didn't work though, "plantcontainer" is defined as the primary container for the plants. I think I'll do some debugging.

How these tags work is that each item defines its "preferred containers" in the xml. For example, a welding fuel tank prefers to go inside welding tools, engineering cabinets and such. These are also used to fill up the subs with the initial supplies (hence the spawn probability and min/max amount values).


about 3 years ago - /u/Regalis11 - Direct link

Originally posted by Knifetoface

Where do I find a list of these preferred containers in the files?

Thanks.

They're included in the item config files in "Content/Items/"