Hello all,
This is your friendly spokesperson for the AI for HOI 2. I am just now introducing this thread as a series of threads that will go on and on until the AI in HOI 2 is about as good as we can get it. This is also a thread for other modders out there that understand and want to learn the workings of the AI in HOI 2. Hopefully these series of threads will enlighten a lot people and will be a sort of instruction guide for anybody in the future that wants to mod the AI.
I have been modding HOI ever since last summer and HOI 2 ever since the HOI 2 demo came out back in december. It is safe to say that when I finally got my copy of HOI 2 I started modding right away. I mostly do it all, except for sprite making and pretty much anything with graphics, I have almost no graphical ability, but a lot of technical ability. With that said I will now kick off this AI discussion by stating a few general facts that I have discovered about the AI in HOI 2.
First off I would like to make it clear here and now that the AI in HOI and HOI 2 is not really Artificial Intelligence, all it is really is a set of instructions that the programmer tells it and then the program carries it out. What I mean is that the AI in HOI is not like game AI's, it cannot adapt itself, it cannot switch to a different AI file by itself, it cannot learn from it's mistakes and try new things, like some other AI files out there for other real time strategy games. Just keep in mind that when programming the AI for HOI it will only do what you tell it to do, if you want it do something different at any point in the game you will have to program it. Ok enough of that, now for some basic realities that I have discovered about HOI 2 AI file workings.
#1 - As many people have found and can atest to the game does need to be rebooted from time to time. Some people have said that a player needs to reboot 1 time every year, others have said every couple of years, and so on. I personally think, that a player needs to reboot the game every month. If you have autosave turned on and set it to save every month, then a good practice is to reboot the game after the monthly autosave.
You must reboot because I have seen the AI do or should I say no do some basic things and pretty much act stupid. I have seen the AI forget to supply it's divisions only 2 provinces away from it's capital! I've also seen it not conduct invasions like it was told to and not attack like it was told to, and a lot of other wacky things. So the point is reboot the game often! Ok, enough of that now.
#2 - You have to be careful alot of the time you program. Sometimes you think you tell the AI to do something and then you run the game and it doesn't do it. Don't get frustrated though, because sometimes the AI really is in actual reality stupid! I've seen the AI just not do something, and I can't explain why! Just know that the people who made the HOI 2 AI workings haven't got everything figured out yet either otherwise why would they keep coming out with patches.
#3 - With #2 clearly stated, know that the AI is not fully complete by any means. Again the patches are a good example. A great example is when, I think it was either patch 1.05 or 1.06 when a the people at paradox came out with a new command for the AI files. It was a command that affected how effective the invasions were by the AI. It was a great command and was well needed, it worked really well and made a difference.
#4 - The last thing I can think of right now, is that I just want to make it clear that I don't know everything about the AI. That is why I am starting these threads so we can all put our minds together and figure it out, because we won't get any answers from Paradox. "NDA" is one of the worst abrevations in history!!!
Ok I will now start the first of these threads and start some good threads here. I will make these threads from top to bottom of the AI file based on the default AI's with the Vanilla HOI 2. By default I mean all of the 1936 AI files. Thanks ahead for all those who contribute!
This is your friendly spokesperson for the AI for HOI 2. I am just now introducing this thread as a series of threads that will go on and on until the AI in HOI 2 is about as good as we can get it. This is also a thread for other modders out there that understand and want to learn the workings of the AI in HOI 2. Hopefully these series of threads will enlighten a lot people and will be a sort of instruction guide for anybody in the future that wants to mod the AI.
I have been modding HOI ever since last summer and HOI 2 ever since the HOI 2 demo came out back in december. It is safe to say that when I finally got my copy of HOI 2 I started modding right away. I mostly do it all, except for sprite making and pretty much anything with graphics, I have almost no graphical ability, but a lot of technical ability. With that said I will now kick off this AI discussion by stating a few general facts that I have discovered about the AI in HOI 2.
First off I would like to make it clear here and now that the AI in HOI and HOI 2 is not really Artificial Intelligence, all it is really is a set of instructions that the programmer tells it and then the program carries it out. What I mean is that the AI in HOI is not like game AI's, it cannot adapt itself, it cannot switch to a different AI file by itself, it cannot learn from it's mistakes and try new things, like some other AI files out there for other real time strategy games. Just keep in mind that when programming the AI for HOI it will only do what you tell it to do, if you want it do something different at any point in the game you will have to program it. Ok enough of that, now for some basic realities that I have discovered about HOI 2 AI file workings.
#1 - As many people have found and can atest to the game does need to be rebooted from time to time. Some people have said that a player needs to reboot 1 time every year, others have said every couple of years, and so on. I personally think, that a player needs to reboot the game every month. If you have autosave turned on and set it to save every month, then a good practice is to reboot the game after the monthly autosave.
You must reboot because I have seen the AI do or should I say no do some basic things and pretty much act stupid. I have seen the AI forget to supply it's divisions only 2 provinces away from it's capital! I've also seen it not conduct invasions like it was told to and not attack like it was told to, and a lot of other wacky things. So the point is reboot the game often! Ok, enough of that now.
#2 - You have to be careful alot of the time you program. Sometimes you think you tell the AI to do something and then you run the game and it doesn't do it. Don't get frustrated though, because sometimes the AI really is in actual reality stupid! I've seen the AI just not do something, and I can't explain why! Just know that the people who made the HOI 2 AI workings haven't got everything figured out yet either otherwise why would they keep coming out with patches.
#3 - With #2 clearly stated, know that the AI is not fully complete by any means. Again the patches are a good example. A great example is when, I think it was either patch 1.05 or 1.06 when a the people at paradox came out with a new command for the AI files. It was a command that affected how effective the invasions were by the AI. It was a great command and was well needed, it worked really well and made a difference.
#4 - The last thing I can think of right now, is that I just want to make it clear that I don't know everything about the AI. That is why I am starting these threads so we can all put our minds together and figure it out, because we won't get any answers from Paradox. "NDA" is one of the worst abrevations in history!!!
Ok I will now start the first of these threads and start some good threads here. I will make these threads from top to bottom of the AI file based on the default AI's with the Vanilla HOI 2. By default I mean all of the 1936 AI files. Thanks ahead for all those who contribute!