I have had very little experience in game AI and I’ve been struggling to come up with a good framework for AI for a real-time strategy game.
So far the best I could do would be to have StimulusProducers and Reactors, where a soldier in the game would be a reactor and would know how to handle various stimuli. I envisioned UI actions and orders as being a type of StimulusProducer. It is slightly more complicated than that, but its a little hard to describe everything in my head.
My concern with the above approach is that it would involve too many checks and calculations to generate the stimulus for each soldier, especially if I want to have 500+ units running at the same time.
My goal is to have something that can handle dynamic terrain and to modify the terrain themselves (ie break through glass or doors if they’re in a rush to get through), to be able to find realistic cover, and to behave tactically as squads of troops.
Perhaps these goals are a little far-fetched for the scale I’m interested in, but any ideas, pointers, or links would be much appreciated.
Thanks