Space Engineers

Space Engineers

AiEnabled v1.9
 此主题已被置顶,因此可能具有重要性
jTurp  [开发者] 2021 年 9 月 8 日 下午 5:56
Pathfinding explained
Hello, here you'll find a breakdown of how the pathfinding works (or doesn't) for bots.

  • The mod makes use of the A* pathfinding algorithm with extremely custom logic written by hand for many things.

  • Voxel areas are split into an area about 125m x 125m which is broken up into grid squares

  • Grid areas (large grid only) are however big the grid is and use the grid's own position system. Bots WILL NOT pathfind on small grid blocks - this would require a completely new set logic set for them and I don't have time for that right now

  • Whether or not a bot can pass over a given block is based on those very custom rules I mentioned above. If you find a block that you think the bot *should* be able to pass over but it won't, there is a channel for pathfinding issues on the AiEnabled Server

  • I have NOT added any mod block support yet, so there is no guarantee that mod blocks will work with pathfinding. There is also a mod support channel you can drop a note in
< >
正在显示第 1 - 15 条,共 26 条留言
Starfall 2021 年 9 月 9 日 上午 8:16 
i had a bug where after i had 2 combat bots for over a hour it said that the robots were lost and crashed my game (twice)
jTurp  [开发者] 2021 年 9 月 9 日 上午 11:26 
引用自 thealemans
i had a bug where after i had 2 combat bots for over a hour it said that the robots were lost and crashed my game (twice)

What do you mean by "said that the robots were lost"? I'll need the crash logs in order to debug properly

If you can join the discord server, that's the best place to put your crash info / logs / details. Thank you :)
Konather 2021 年 9 月 9 日 下午 7:22 
i know it says that they do not pathfind with small blocks, but do they at least know to go around say a docked/landed ship?
jTurp  [开发者] 2021 年 9 月 10 日 下午 2:34 
引用自 Konather
i know it says that they do not pathfind with small blocks, but do they at least know to go around say a docked/landed ship?

Yes, they do plot obstacles and attempt to avoid them
TidBuryFukles 2021 年 9 月 21 日 下午 6:00 
Bots do not open doors currently. Do you think that maybe possible in the future?
jTurp  [开发者] 2021 年 9 月 22 日 下午 1:04 
@DeepSIXXED

Bots do open doors, but they require proper access now (changed in the last update). As long as the door is enabled, functional, and not in an enemy faction, they should open it
lechkingofdead 2021 年 9 月 22 日 下午 3:52 
i noticed you put a repair bot into the small ship seat, how would you go about doing it, as i know how to large grid.
TidBuryFukles 2021 年 9 月 22 日 下午 6:01 
Cool, they do open doors if you own them.

Still amazed you guys took on a mod like this. I have wanted to do something like this with SE myself but never would have had the time. Its a great effort.

I know its beta still. I do see path finding issues from time to time. The worst of which is the repair bot and moving up and down ramps. You can see this behavior easily using the vanilla "Red Ship" grid that comes with the game. There are times it wants to move down a descending ramp and he doesn't move down enough so it sits there hitting the block at the top of it.

Do you guys need or want save games or something to help debug stuff like this? Anything I can do to help. I am an SE modder too but I haven't published anything yet.
jTurp  [开发者] 2021 年 9 月 22 日 下午 11:00 
@DeepSIXXED

Blueprints are always helpful so I don’t have to try and recreate the setup, ty

@lechkingofdead

There is no difference between putting them in large vs small grid seat. If you’re talking about ordering them into a small seat, you can’t bc they don’t pathfind on small grids. They will just enter a seat on that grid when you do, assuming they have access
最后由 jTurp 编辑于; 2021 年 9 月 22 日 下午 11:01
Imperator 2021 年 10 月 9 日 上午 8:50 
Can I please log that Pathfinding still seems to be broken over large distances from galactic center. My planet is about 150,000km out and all the bots do is stand there with a question mark above their heads. Works find on planets spawned next to galactic center.
jTurp  [开发者] 2021 年 10 月 9 日 下午 10:36 
引用自 Imperator
Can I please log that Pathfinding still seems to be broken over large distances from galactic center. My planet is about 150,000km out and all the bots do is stand there with a question mark above their heads. Works find on planets spawned next to galactic center.

Best bet would be to send me the world and have a spawn point named on the planet in question. Sounds like this is likely an SE World Gen issue - are you using that to spawn the planet?
Imperator 2021 年 10 月 10 日 上午 9:08 
Hey Yeah I am using SEWorldGen, but the planet works fine using SEWorldGen at closer distances. I tried it both by spawning at the center and where i normally spawn it and it seemed fine closer, so I´m not sure if its specifically SEWorldGen, or just the distance from the galactic core.
jTurp  [开发者] 2021 年 10 月 10 日 下午 2:44 
@Imperator

Can you send me the world? I’ll have to see what the debug says
Imperator 2021 年 10 月 10 日 下午 11:04 
@jTurp, I´m going to setup a test world to show it. I´ll get it over to you ASAP
最后由 Imperator 编辑于; 2021 年 10 月 10 日 下午 11:05
< >
正在显示第 1 - 15 条,共 26 条留言
每页显示数: 1530 50