Hello again, having completed Ostheer for my mod, I went to check that the AI is playing it correctly once again. I've seen them build all of the buildings throughout playtests, however now seemingly they've given up. They build the first two buildings happily but when it comes to the two armour-production buildings they just seem to ignore them. For clarification this faction is balanced around the Command Point mechanic, and uses that as a currency for its battle phase tiering, which makes me think that the problem may lay there.
What's confusing is that I've seen them produce all of the buildings before which makes me wonder why not now. I haven't changed the costs, nor anything in the buildings besides adding an extra couple of upgrades which you'd think would make the buildings seem more appealing.
I have gone into army and provided the ai_production_info with the upgrades, upgraded squads, and unlocked buildings as well as setting the utility to 1000 in ai_econonmy for said upgrades.
I have checked, and they have more than enough resources to produce them at any point, however half of the time they refuse to upgrade past Battle Phase 1. Would love some help on this.
AI Won't Build Some Base Buildings
14 Feb 2023, 22:05 PM
#1
Posts: 20
15 Feb 2023, 06:29 AM
#2
Posts: 100 | Subs: 1
I've found that working with AI isn't always reliable and it's usually better to just brute force these things rather than spend hours testing in the hope that something might work.
Having an upgrade that detects if the player is an AI will enable you to have much more control over how it behaves. This way you can just have things on delay timers and spawn the buildings.
Having an upgrade that detects if the player is an AI will enable you to have much more control over how it behaves. This way you can just have things on delay timers and spawn the buildings.
15 Feb 2023, 18:33 PM
#3
Posts: 20
Having an upgrade that detects if the player is an AI will enable you to have much more control over how it behaves. This way you can just have things on delay timers and spawn the buildings.
Yep, saw that thread after posting. I have AI specific upgrades in the two armour production buildings now, however it didn't seem to change anything. I'm not sure if it's that they simply don't find the upgrade to those buildings appealing enough or what, but it does mean that games vs this AI on any difficulty become rather easy the moment your own armour comes out which is frustrating. From a Human perspective this is an obvious upgrade yet the AI thinks otherwise clearly.
I am open to delay timers spawning in the buildings even if it's not the most elegant way to achieve the result I'm looking for. My only issue is certain maps may have geometry in the way of the predetermined building location offsets.
17 Feb 2023, 23:11 PM
#4
Posts: 20
For anyone in the future having similar problems, I have no solution, however to clarify I have solved it by re-arranging some player upgrades and possible build orders. It did compromise my faction a bit but it's nothing I'll lose sleep over.
18 Feb 2023, 21:02 PM
#5
Posts: 100 | Subs: 1
The AI will choose whatever option within a building that has the highest priority (note this 'priority' is separate from utility and I don't know the specifics of how the AI calculates this). So, for example, when given the option to build a 0 cost upgrade or something like engineers it might choose engineers first. It is for this reason that those hidden AI upgrades should be put in a building that has no other functionality like weapon racks.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
52 | |||||
18 | |||||
10 | |||||
188 | |||||
15 | |||||
4 | |||||
3 | |||||
3 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.600215.736+15
- 3.34957.860+14
- 4.1107614.643+8
- 5.305114.728+1
- 6.916405.693-2
- 7.273108.717+24
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
486 users are online:
486 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
8 posts in the last week
34 posts in the last month
Registered members: 49107
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM