.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Campaigns, Scenarios & Maps (http://forum.shrapnelgames.com/forumdisplay.php?f=106)
-   -   Preventing AI Suicide? (http://forum.shrapnelgames.com/showthread.php?t=51370)

DRG November 16th, 2016 11:00 AM

Re: Preventing AI Suicide?
 
It's been discussed before in the pass but we might bounce it around again

shahadi November 16th, 2016 11:15 AM

Re: Preventing AI Suicide?
 
Quote:

Originally Posted by IronDuke99 (Post 836101)
...(in fact I actually think it would probably be better if all AI vehilcles were restricted to half speed or less).

You should purchase infantry & vehicles separately. In the Editor, reduce speed of vehicles (use Pyro's tutorial in advanced waypoints) and position the vehicles approximately. Then, apply waypoints.

Not sure, but this may get what you're after.

=====

jp10 November 16th, 2016 11:28 AM

Re: Preventing AI Suicide?
 
Not suggesting this be done or can, just speculation, but in recent patch details it was mentioned that APC code was tweaked so they would tend to retire behind dropped off Infantry to support them.
What if tanks in an Infantry support role were classed as APC and organic to the Infantry formation (like most APC equipped formations) would they follow behind and support better? Would it require more unit types or could an editor or preference option switch armor from Infantry Support code to Armor Advance?

IronDuke99 November 16th, 2016 11:44 AM

Re: Preventing AI Suicide?
 
I think the way the AI handles an infantry + armour attack is the least realistic thing in the game.

If the Brits are the AI side in WWII an infantry + armour attack can more or less work, if you place the tanks a bit behind the infantry to start with, and they are very slow Infantry Tanks like the Matilda or Churchill.

The ideal solution would be something like a 'assault speed' for the AI, that set all vehicles on the AI side to a certain speed at random: perhaps slow = 8, medium = 12 and fast = actual maximum speed?

Failing that maybe half maximum speed for any AI vehicle that can move faster than 8 and full speed for those with a maximum of 8 or less?

The main thing, to me, would be to keep AI leg infantry + armour (mainly in WWII) or APC/IFV + tank speeds (mainly MBT) to something reasonably close to each other?

Not sure what is possible in terms of code and/or amount of work required?

IronDuke99 November 16th, 2016 11:47 AM

Re: Preventing AI Suicide?
 
Quote:

Originally Posted by shahadi (Post 836104)
Quote:

Originally Posted by IronDuke99 (Post 836101)
...(in fact I actually think it would probably be better if all AI vehilcles were restricted to half speed or less).

You should purchase infantry & vehicles separately. In the Editor, reduce speed of vehicles (use Pyro's tutorial in advanced waypoints) and position the vehicles approximately. Then, apply waypoints.

Not sure, but this may get what you're after.

=====


Yep, true, I know you can do that but it is a lot of f...g about in a large scenario.

I will, sometimes, in a small scenario, -and I tend to use scenario editor more than I use anything else in this game- change all the AI vehicles speeds, but, as I said that is a great deal of messing around for one battle in anything larger than a infantry battalion sized action.

scorpio_rocks November 16th, 2016 01:22 PM

Re: Preventing AI Suicide?
 
Quote:

Originally Posted by shahadi (Post 836104)
Quote:

Originally Posted by IronDuke99 (Post 836101)
...(in fact I actually think it would probably be better if all AI vehilcles were restricted to half speed or less).

You should purchase infantry & vehicles separately. In the Editor, reduce speed of vehicles (use Pyro's tutorial in advanced waypoints) and position the vehicles approximately. Then, apply waypoints.

Not sure, but this may get what you're after.

=====

Yes in a scenario but it is impractical in a generated campaign

Imp November 17th, 2016 03:51 AM

Re: Preventing AI Suicide?
 
This is hard thing to code as I think the AI looks at units individualy rather than the tactical picture.
I agree has a tendency to rush head long to destruction but sometimes it does otherwise.
Slows to what I call combat speed or becomes stationary or a combination of the two.
Nearing victory hexes seems to modify behaviour in my opinion causing slowing/unloading.
If possible perhaps something like a check to see if any freindly units within XX range have been fired on or wrecked.

Other possible option would be the ability to "crosstag" formations.
Assign tank formation to infantry formation & it trys to shadow & support with the usual randomness thrown in.
Serious work if possible I would think as picklists would need to factor in the ability at purchase for the AI to decide which if any formations its going to mate.

Trouble is again so many variables you cant just set vehicles to move slow sometimes you want the speed otherwise it would not be a factor in vehicle design.

shahadi November 17th, 2016 06:24 AM

Re: Preventing AI Suicide?
 
This subject is way beyond setting reaction turn values. If you want CS tanks to support infantry in the game or IFV's there's a lot of effort involved. There are a number of threads on this subject, here is one to get started: http://forum.shrapnelgames.com/showp...38&postcount=1.

=====

IronDuke99 November 17th, 2016 12:04 PM

Re: Preventing AI Suicide?
 
Quote:

Originally Posted by Imp (Post 836112)
Trouble is again so many variables you cant just set vehicles to move slow sometimes you want the speed otherwise it would not be a factor in vehicle design.

Agreed, but the trouble is the AI cannot use it with any common sense, so, IMHO, it would be better if AI vehicles all just moved more slowly. Another thing that might help a little would be to make AI tanks, etc start well behind any leg infantry. Again I have no idea if this is possible in terms of code, or work required...

Suhiir November 18th, 2016 01:16 AM

Re: Preventing AI Suicide?
 
Maybe something as "simple" as a slider that effects vehicle speeds like the range slider effects weapon firing ranges?


All times are GMT -4. The time now is 02:26 AM.

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