Welcome, Guest |
You have to register before you can post on our site.
|
|
|
AIProduction and AIGarrison variables |
Posted by: Intaka - September 16th, 2021, 07:04 - Forum: Caster of Magic for Windows (CoM II)
- Replies (5)
|
|
What is the exact purpose of AIProduction and AIGarrison in units.ini?
I thought they seemed self evident, but clearly some of what I think they do isn't correct.
I THOUGHT that AIProduction was "priority to make this unit, where number is the number of chances out of all total production possibilties numbers added together (ex: spearmen 10, bowmen 15 yields a 2:3 production ratio). I also thought AIGarrison was essentially the same thing, but for the purposes of garrison production for city defense.
AIProduction bafflingly determines if a Hero is summoned by the spell Summon Hero (<80) or Summon Champion (80+). If AIProduction for all heroes is above 79, the game hard locks up when summon hero is cast. Not a bug so much as an edge case not covered by the code, I suppose. If there is one hero with AIProduction<80, the game doesn't crash, but rather allows you to Summon Hero that one hero only then declares "no hero answers your call" (which is more proper behavior, I suspect).
In a way, this is an exciting development in that it seems possible to have 15 Heroes and 20 Champions, or whatever split you desire, based on what values you use for AIProduction. I've been working on Hero balance and variety quite a bit lately, because I want every hero acquired to be an exciting but not overpowered prospect. This was an unexpected problem, but I think it will work out even better once I'm sure what the changes will do to the AI, and apparently, the player.
At any rate, I just want to be clear about what these variables control, if possible.
Thank you, as always, for taking the time to answer these sorts of questions.
|
|
|
Retorts and books you can find in a given game |
Posted by: zuzzu - September 10th, 2021, 04:58 - Forum: Caster of Magic for Windows (CoM II)
- Replies (55)
|
|
I've playtested a couple of games to see realistically how many books/retorts one can find in the course of a game.
It seems that by default I managed to find only 1-2 books, and 1 retort, per game (within the first 10-11 years).
I think it would be interesting to find a way to provide new lairs / nodes / other challenges to get more books and retorts later in the game.
Otherwise, at higher difficulties and especially with a large number of opponents, you cannot rush the AI to clear lairs/nodes fast enough, and it's a pity IMHO.
Thoughts?
|
|
|
|