Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recruit list and recruit distribution #795

Open
white-haired-uncle opened this issue May 14, 2024 · 1 comment
Open

recruit list and recruit distribution #795

white-haired-uncle opened this issue May 14, 2024 · 1 comment

Comments

@white-haired-uncle
Copy link
Collaborator

This is an example from chapter9_utils.cfg, INFERNO_LILITH_SIDE

recruit=Knight of Disaster,Knight of Disaster,Doom Knight,Knight of Pain,Knight of Disaster,Knight of Disaster,Doom Knight,Knight of Pain,Knight of Annihilation,Knight of Oblivion

I've seen this before and always assumed having "Knight of Disaster" in there four times was intended to make it that much more likely to be recruited, as if recruit worked like rand.

Based on some testing I did for something unrelated, and some reading on how the AI works, I don't think this is correct (anymore?). I do remember reading something about configuring the AI recruiting behaviour and a way to give preference to some units (though I know it also considers things like having a minimum of N scouts, etc).

Anyway, if this was done for the reason I think it was, there's probably a lot of review and reconfiguration necessary.

@Dugy
Copy link
Owner

Dugy commented May 14, 2024

I think I just copied it from some spawnlist where number of occurrences means weighted probability. Feel free to correct it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants