チケット #47925

Make "Explore" and "Goto" agents rather than activities

登録: 2023-04-24 06:20 最終更新: 2024-10-18 23:58

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし

詳細

An idea I have talked about here: make activities that are actually agents a separate category (thus, unit packet ai / unit ai_controlled becomes enum rather than boolean) that also includes autosettling and maybe some more agents in the future (we may even reserve some items for server-side tweaks in the first modified protocol version). It seems probably a bad idea to include requirements on agent controlled units (requirements on "Goto" are likely already rejected), some future version of e.g. explorer agent may use another activity (like, converting in a port), connecting orders have the same mechanics as goto orders but other activities, and just separating agents from activities gives more consistent logic. Surely, some things in the code that depend on current activity mechanics have to be rewritten with this change, but likely nothing too complicated. (Note: I myself have little hope to code it up to 3.2 d3f/npf, so if nobody will do, it sjould be postponed).

チケットの履歴 (4 件中 3 件表示)

2023-04-24 06:20 更新者: ihnatus
  • 新しいチケット "Make "Explore" and "Goto" agents rather than activities" が作成されました
2023-04-26 14:46 更新者: cazfi
コメント

Explore already is, I think.

common/unit.h:

#define SPECENUM_NAME server_side_agent
...
#define SPECENUM_VALUE2 SSA_AUTOEXPLORE
#define SPECENUM_VALUE2NAME N_("Autoexplore")

2023-04-27 02:33 更新者: ihnatus
コメント

Reply To cazfi

Explore already is, I think. common/unit.h:

Yes, I have somehow missed that the process has started back in 3.1 and bool unit.ai_controlled is replaced by enum unit.ssa_controller. Just seemingly it got stuck in the middle for now.

2024-10-18 23:58 更新者: cazfi

添付ファイルリスト

添付ファイルはありません

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする