.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old November 8th, 2008, 08:53 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,003
Thanks: 494
Thanked 1,942 Times in 1,261 Posts
Mobhack is on a distinguished road
Default Re: Odd AI Behavior

Quote:
Originally Posted by RERomine View Post
5. AI clearing it's own obstacles.

Just started an assault and the AI must have a rifle section next to it, because after the pre-turn 1 artillery bombardment, a message popped up saying "rifle section CLEARS 1 STRAND OF WIRE" and showed me the wire at the bottom edge of the map.

This has actually been an issue since the first SP version came out back in the stone ages, but I don't know if anyone has tried to do anything with it.

As a follow-up thought, since the AI tends to target locations with artillery when an obstacle is cleared, will it nail its own troops as a result?

Neither one hurts the player so it doesn't need to be fixed, but I was curious if any attempt has been made to correct this. I have my turn 1 save file and attached a screen print of the message.
Nope - that one has been there since SP 1 days.

SP 3(?) had a manual flag for engineers to not clear mines, but that is of little use for the AI.

In SP there are just mines or other field defences - there is no ownership marker. So the AI engineers/ordinary troops cannot be coded not to clear "own" mines, since all field engineering items belong to the same pool. Scenario designers can do tricks to give both sides field defences so a "defender does not clear mines" global is not a good idea either, since the defender sometimes does want to clear mines (e.g. to open a lane for a counter attack) or both sides to deal with scatter mines in MBT.

The deployment code is supposed to keep troops clear of engineer obstacles, but has never been able to fully keep it so.

So basically there is no real "sane" way to stop the AI troops clearing mines they are deployed on or in front of, but still clear any they should clear (such as when reacting to a V-hex flip by moving through own minefields).

As to targeting own side - the targeting is done for the opposite side (if AI controlled) to the troops during the clearance phase of the owning player. So that should not happen.

Cheers
Andy
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.