
so of you might have seen my Advanced AI Mod for C&C Generals ZH (i was called Lion then). Im planning to start an AI for spring since it can be actually coded instead of being just a bunch of conditional scripts. However i havent got a clue how to start an AI for spring.
Do i just tell the AI to run as a dummy client (emulating the key presses and so on) or do i use some sort of handles?
Any pointers to the right direction (preferably a tutorial or help file explaining it in detail) would be appreciated.
I have a lot of great ideas but not being able to put them into action can really suck.
By the way heres my plan for the AI:
-Try to make it smart by simple well-thought out checks instead of writing huge piles of code to improve it marginally.
-Put all relevant constants (such as amount of eachbuilding/unit to build, likelihood of certain events, multipliers etc) in a text file for easy changing by users so i can focus on coding while users focus on balance issues.
-Have the AI teamwork by using the same principles listed above, simple things like synching attacks, defense and nukes by considering ally's bases as their own under certain circumstances etc.
-Have a scoring system for a lot of units and actions, per map, per setting, which can be stored and can affect certain decisions.
-Have a slow update system where most things are only checked every second or more so it will be able to multitask better with the same CPU usage.
thanks.