ekolis / ekolis/FrEee

AI Config file/tags

Open
#50 6 comments 0 reactions 0 assignees View on GitHub
enhancement idea
Dominant language
C#
Stars
86
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Each AI should have something like a config file, where certain values can be defined to help the game choose whether this is the right AI for a given Empire. This might include the current ministers file to cut down on the various files needed. The other idea to place here is tags for the AI.

A tag would depend on what the empire could be grouped under, with [RANDOM] being used to determine whether or not the empire should be used for the random empire generation, and [MINOR] being used to denote minor empire AIs (to stop the minor empires running all over the galaxy). Others would be used to group AI's into types.

So all agressive empires would be grouped under something like [AGRESSIVE], and selecting this on the Empire creation screen will choose a random AI tagged as such when the game starts.

An AI can have more than one tag, may have none, and can always be chosen in the Empire screen and in an Empire file (actually, might want to restrict the Empire screen to another tag so some AIs will be unique to some predesigned Empires?). This would allow some AIs to be disabled (such as the current python example ai), and only be chosen by predesigned empires, rather than being selected for use by the RandomAI.

Edit: Another field in the config file should be requirements; if the AI is designed to be used only with a Empire with Crystal tech, then it should only be available to be selected by an Empire which has it added.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.