Ember Autopilot


This is my personal framework for AI experiments in Factorio. It's currently able to do basic pathfinding.

Utilities
a month ago
1.1 - 2.0
160
Transportation Cheats

Changelog

Version: 0.6.2
Date: 2024-10-22
  Bugfixes:
    - Fixed pathfinder breaking while switching to Remote View.
Version: 0.6.1
Date: 2024-10-21
  Changes:
    - Changed the structure of selection item prototypes to comply with the Factorio 2.0 API.
    - Changed the way collision masks are passed to comply with the Factorio 2.0 API.
  Info:
    - Updated for Factorio 2.0.
Version: 0.6.0
Date: 2024-09-15
  Features:
    - Added BFS pathfinding.
    - Added DFS pathfinding (use with caution).
    - Added search performance setting to tweak nodes processed per tick.
  Changes:
    - Reordered settings.
    - Deprecated the move commands (will probably be replaced or removed).
    - Changed the way commands are loaded.
  Scripting:
    - Added gitignore.
    - Modified the collision trace procedure.
    - Added a dedicated prototype command for development.
    - Minor refactoring.
  Debug:
    - Added debug printing colors.
    - Modified some messages.
    - Prints messages when an agent is stopped.
    - Added debug rendering for pathfinding.
    - Added a warning printer.
Version: 0.5.0
Date: 2024-09-07
  Features:
    - Added a new selection item named the Ember Controller to control your agent.
    - The active movement agent can now be set in the mod settings.
  Bugfixes:
    - Fixed crash on attempts to start the movement agent when no player character is present.
    - Fixed agents getting stuck on belts.
  Gui:
    - Added a launcher button.
  Debug:
    - Now has a verbose mode.
    - Added a path found message in verbose mode.
  Scripting:
    - Removed an unused split function.
    - Removed print position function.
    - Added new debug print functions.
  Info:
    - Removed the demo videos.
Version: 0.4.1
Date: 2024-03-18
  Ease of use:
    - You can now also provide the walking agent with a position relative to the player.
Version: 0.4.0
Date: 2024-03-18
  Features:
    - Ember Autopilot can now follow a specific path.
  Scripting:
    - Added a function to the surface module that checks if the player is at a given position.
Version: 0.3.0
Date: 2024-03-18
  Ease of use:
    - The Walking Agent now automatically stops when it's path is blocked.
  Optimizations:
    - The Walking Agent no longer calculates the position on each tick.
  Scripting:
    - The surface module can now calculate centered positions.
    - The surface module can now calculate random adjacent (centered).
    - The move_to_target_pos function now returns the blocked path state.
    - Both the Walking and the Wander agents now use the blocked path state to determine their behavior.
    - The pilot now gives feedback to the agents.
Version: 0.2.1
Date: 2024-03-17
  Bugfixes:
    - Fixed Wander Agent getting stuck while colliding with tiles.
Version: 0.2.0
Date: 2024-03-17
  Bugfixes:
    - Fixed Wander Agent prematurely selecting a new target position.
  Debug:
    - Added a print function for positions.
  Features:
    - Added custom collision detection functions.
  Regressions:
    - Apparently, the wander agent still gets stuck. It seemed like the problem was solved at first, because the wander agent selected a new target prematurely.
Version: 0.1.1
Date: 2024-03-16
  Bugfixes:
    - Fixed Wander Agent getting stuck in collision.
Version: 0.1.0
Date: 2024-03-16
  Features:
    - Ember Autopilot can now wander around aimlessly while trying to avoid obstacles.
Version: 0.0.1
Date: 2024-03-15
  Major Features:
    - Initial release.
  Features:
    - Ember autopilot can walk to points in unobstructed spaces.