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
84 | |||||
51 | |||||
42 | |||||
33 | |||||
27 | |||||
12 | |||||
579 | |||||
66 | |||||
18 | |||||
17 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
10
Download
1243
Board Info
525 users are online:
525 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
2 posts in the last week
28 posts in the last month
Registered members: 49389
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM