How to make AI attacking the player

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
naturesheva
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 273
Joined: Mon Aug 01, 2011 11:18 pm

How to make AI attacking the player

Post by naturesheva »

Hi, can anyone help me solving the problem.

When I create a new map, even I set side2 as attack, and set all the units for side2 as attacker, they never go to attack the player side.

Is there anything wrong in the setting?
Kerensky
Content Designer
Content Designer
Posts: 8649
Joined: Wed Jan 12, 2011 2:12 am

Post by Kerensky »

The AI, in both attacker and defender stances, is primarily driven by victory hex markings.

Place several of them down, and the AI units will act likes moths to flame.
naturesheva
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 273
Joined: Mon Aug 01, 2011 11:18 pm

Post by naturesheva »

Kerensky wrote:The AI, in both attacker and defender stances, is primarily driven by victory hex markings.

Place several of them down, and the AI units will act likes moths to flame.
Thanks, Kerensky.
I'm pretty sure I have put the victory hex for both side. Is that I need to set SCENARIO PARAMETE differently?

Actually in the earlier version of my map, AI do attack the player. Only after I enlarge the map, AI become so peaceful...

Generally, how can I set the SCENARIO PARAMETE for a defensive scenario for the player.

Many many thanks~!
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Post by Razz1 »

There isn't a parameter for the player. A Human can do what ever they want.

There are only two sides, one attacker one defender.

Pretty easy to see that in the editor.
naturesheva
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 273
Joined: Mon Aug 01, 2011 11:18 pm

Post by naturesheva »

Just like you said, I set the attack side right....

Still not working now...
naturesheva
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 273
Joined: Mon Aug 01, 2011 11:18 pm

Post by naturesheva »

Another silly question, is that the player is always be side1?
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Post by El_Condoro »

No. Can be either. I am working on a campaign with US vs USSR - it seems to work better if the USSR are set as the Axis. In the early scenarios the US is on the defensive so I make them Side 2. It works fine.
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Post by Razz1 »

Naturesheva wrote:Just like you said, I set the attack side right....

Still not working now...
Have you set the country as your enemy?

The country is assigned to the wrong side?

Also, the AI is only programmed to go after VH. They do not seek and destroy.
naturesheva
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 273
Joined: Mon Aug 01, 2011 11:18 pm

Post by naturesheva »

problem solved, thanks all~!!
Post Reply

Return to “Panzer Corps : Scenario Design”