Building a better RTS AI. Starting from the end [updated]
-
How do you setup your attack strategy. When starting a new game the first thing you should do if you can is to rush to the enemy base and take out the enemy workers. However most often that’s not possible, an average enemy player will take counter measures and prevent you from wining right away. Because of this you should first scout the enemy base. After that you must imaginary place your attacking units lets say marines in a position PS where their fire range reaches the enemy SCVs. Then you must check if position PS is covered by enemy fire. If it is you don’t scrap you plan to attack the workers with your marines you just take a step back and postpone the attack. Let’s say PS is within enemy tank fire range, you know that since you’ve scouted the area. Keep in mind that this is all imaginary, you haven’t moved your marines from your base yet. So now you have to solve the tank problem. Imaginary you place your tank countermeasure units in a position PS2 where they can reach (inflict damage to) the tanks. You then check if PS2 is exposed to enemy fire. If it is you bring in imaginary countermeasure units 2 into position PS3. Once all that is done you can start building the required units in your base to bring your plan to reality. The only thing here that is not imaginary is the scouting. You start your attack by first placing the adequate units at PS3 then at PS2 and in the end at PS. [update] When building each strategy step you should consider not just one but all positions from where your units can reach the target enemy units. If we take for example the marines targeting the SCVs for good results you should consider every spot around the resource collecting site from where the marines can shoot at workers. If all positions are defended you take a step back and consider a solution against the units defending if not you move in with the marines against the SCVs. [update] Another update. In the situation described above moving to PS3 is the first priority, moving into position PS2 is the second priority and so on. While you’re preparing to move to PS3 the enemy might attack your base. If that happens you have a new priority, moving combat units to PS4 a defensive position somewhere in your base. Now moving to PS3 becomes a second priority and moving to PS2 the third priority. As a result of the attack on your base the enemy will probably be left with less units ( the layout of enemy units on the map might change as well ) hence an update of your plan to move to PS3 PS2 and PS might be required.
-
How do you setup your attack strategy. When starting a new game the first thing you should do if you can is to rush to the enemy base and take out the enemy workers. However most often that’s not possible, an average enemy player will take counter measures and prevent you from wining right away. Because of this you should first scout the enemy base. After that you must imaginary place your attacking units lets say marines in a position PS where their fire range reaches the enemy SCVs. Then you must check if position PS is covered by enemy fire. If it is you don’t scrap you plan to attack the workers with your marines you just take a step back and postpone the attack. Let’s say PS is within enemy tank fire range, you know that since you’ve scouted the area. Keep in mind that this is all imaginary, you haven’t moved your marines from your base yet. So now you have to solve the tank problem. Imaginary you place your tank countermeasure units in a position PS2 where they can reach (inflict damage to) the tanks. You then check if PS2 is exposed to enemy fire. If it is you bring in imaginary countermeasure units 2 into position PS3. Once all that is done you can start building the required units in your base to bring your plan to reality. The only thing here that is not imaginary is the scouting. You start your attack by first placing the adequate units at PS3 then at PS2 and in the end at PS. [update] When building each strategy step you should consider not just one but all positions from where your units can reach the target enemy units. If we take for example the marines targeting the SCVs for good results you should consider every spot around the resource collecting site from where the marines can shoot at workers. If all positions are defended you take a step back and consider a solution against the units defending if not you move in with the marines against the SCVs. [update] Another update. In the situation described above moving to PS3 is the first priority, moving into position PS2 is the second priority and so on. While you’re preparing to move to PS3 the enemy might attack your base. If that happens you have a new priority, moving combat units to PS4 a defensive position somewhere in your base. Now moving to PS3 becomes a second priority and moving to PS2 the third priority. As a result of the attack on your base the enemy will probably be left with less units ( the layout of enemy units on the map might change as well ) hence an update of your plan to move to PS3 PS2 and PS might be required.
(wrong community ?)
CI/CD = Continuous Impediment/Continuous Despair
-
(wrong community ?)
CI/CD = Continuous Impediment/Continuous Despair
I tried to post to a game development forum but the edit window was non-responsive, hence I decided to post here. My other threads on the subject are here as well.
-
How do you setup your attack strategy. When starting a new game the first thing you should do if you can is to rush to the enemy base and take out the enemy workers. However most often that’s not possible, an average enemy player will take counter measures and prevent you from wining right away. Because of this you should first scout the enemy base. After that you must imaginary place your attacking units lets say marines in a position PS where their fire range reaches the enemy SCVs. Then you must check if position PS is covered by enemy fire. If it is you don’t scrap you plan to attack the workers with your marines you just take a step back and postpone the attack. Let’s say PS is within enemy tank fire range, you know that since you’ve scouted the area. Keep in mind that this is all imaginary, you haven’t moved your marines from your base yet. So now you have to solve the tank problem. Imaginary you place your tank countermeasure units in a position PS2 where they can reach (inflict damage to) the tanks. You then check if PS2 is exposed to enemy fire. If it is you bring in imaginary countermeasure units 2 into position PS3. Once all that is done you can start building the required units in your base to bring your plan to reality. The only thing here that is not imaginary is the scouting. You start your attack by first placing the adequate units at PS3 then at PS2 and in the end at PS. [update] When building each strategy step you should consider not just one but all positions from where your units can reach the target enemy units. If we take for example the marines targeting the SCVs for good results you should consider every spot around the resource collecting site from where the marines can shoot at workers. If all positions are defended you take a step back and consider a solution against the units defending if not you move in with the marines against the SCVs. [update] Another update. In the situation described above moving to PS3 is the first priority, moving into position PS2 is the second priority and so on. While you’re preparing to move to PS3 the enemy might attack your base. If that happens you have a new priority, moving combat units to PS4 a defensive position somewhere in your base. Now moving to PS3 becomes a second priority and moving to PS2 the third priority. As a result of the attack on your base the enemy will probably be left with less units ( the layout of enemy units on the map might change as well ) hence an update of your plan to move to PS3 PS2 and PS might be required.
Re: "better". In real life, they don't "kill the workers"; they use them as forced labor. Killing workers, from a philosophical (war) point of view is not a "direct" winning strategy; which is generally a waste of time and resources. "Workers" provide the resources an invading army needs to "live off the land".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
Re: "better". In real life, they don't "kill the workers"; they use them as forced labor. Killing workers, from a philosophical (war) point of view is not a "direct" winning strategy; which is generally a waste of time and resources. "Workers" provide the resources an invading army needs to "live off the land".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
I’m not aiming to improve the genre. From the games I’m familiar with I think Age of Empires and Homeworld had enemy conversion units. Both of these games will only let you convert one unit at a time though.
-
I’m not aiming to improve the genre. From the games I’m familiar with I think Age of Empires and Homeworld had enemy conversion units. Both of these games will only let you convert one unit at a time though.
"Real" war gaming has degrees: dispersed, killed, surrendered / captured. Prisoners are escorted to the rear by x% guards; can be intercepted / freed, etc. In your case, it would appear all battles must end in a slaughter.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I