.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Campaigns, Scenarios & Maps (http://forum.shrapnelgames.com/forumdisplay.php?f=140)
-   -   A question about campaign AI point adjustment (http://forum.shrapnelgames.com/showthread.php?t=41244)

Ironfist November 14th, 2008 04:03 AM

A question about campaign AI point adjustment
 
I wonder how to feature "AIAdjustPercent" works. Suppose it is set to normal (100) in the beginning and after Tigers & Panthers are available (playing Germans), I feel more confident and want to increase the difficulty level. Will changing the value work?

I mean, will the game read this value in the beginning of LC and store it in the save game file or it will read it every time the game starts?

Best Regards
Ironfist

Mobhack November 14th, 2008 07:12 AM

Re: A question about campaign AI point adjustment
 
Quote:

Originally Posted by Ironfist (Post 652583)
I wonder how to feature "AIAdjustPercent" works. Suppose it is set to normal (100) in the beginning and after Tigers & Panthers are available (playing Germans), I feel more confident and want to increase the difficulty level. Will changing the value work?

I mean, will the game read this value in the beginning of LC and store it in the save game file or it will read it every time the game starts?

Best Regards
Ironfist

It is read from the INI file at game start-up and then used whenever the AI is building a force for player 2 in a battle in the LC or WW2 LC. (Also battle generator games and for both sides if set to AI control in the next EXE version).

If it is not already in your CamoGame.ini, then you will need to add it just after blast circles with a text editor (or anywhere else in the [game] section of the INI file):

Quote:

;show or hide secondary blast areas 1=on, 0=off
ShowBlastCircles=0

; Option to adjust the player 2 (AI) points allowed. 0 is ignored. 100 =100% 200=doubled

AIAdjustPercent=100;

e.g - put 110 there and the AI will get 10% more. Put 90 there for an easier ride for you(AI gets 10% less) etc.

the percentage is adjusted after the normal AI battle points are determined for the battle type - e.g. it was defending and should have had 1200 points normally but you had 110% for AIAdjustPercent so 1200*110%=>1320.

Cheers
Andy

Imp November 18th, 2008 03:04 PM

Re: A question about campaign AI point adjustment
 
Andy where is the ini file located I looked through all folders in Game Data & could not find it.

Mobhack November 18th, 2008 11:40 PM

Re: A question about campaign AI point adjustment
 
Quote:

Originally Posted by Imp (Post 653882)
Andy where is the ini file located I looked through all folders in Game Data & could not find it.

/game data/CamoGame.ini


All times are GMT -4. The time now is 07:19 PM.

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