PDA

View Full Version : IL2DCE AI Mod Utility


von Pilsner
05-03-2012, 11:16 PM
For use with: IL2DCE-0.2.1.306 (http://code.google.com/p/il2dce/)

I took what I learned about AI in a few (http://www.bobgamehub.blogspot.com/2012/03/ai-settings-in-cliffs-of-dover.html) different (http://forum.1cpublishing.eu/showthread.php?t=31193) places (http://forum.1cpublishing.eu/showthread.php?t=31573) and made a little program that sits in the background while you play an IL2DCE campaign and expands and modifies the AI in the missions.

DCE Monitor (for CloD and IL2DCE-0.2.1.306)

http://bs.beckament.net/files_pub/FlightSim/IL2CloD/dcemon.png

Automatically enhance your IL2DCE campaign AI while you play! (no need to alt-tab or re-run the program)

This program monitors the IL2DCE mission directory and when a new mission is generated it calls AITweak (in a special DCG mode) and expands and modifies the mission AI before you fly it.

It is automatic, nothing to config. Unzip the AITweak archive and run 'DCEMon.exe' then start CloD and begin or continue an IL2DCG campaign. (it won't modify anything until IL2DCE makes a new mission).

=================================

When you run it, simply make sure the 'Monitoring' directory is correct for your system. If it is not correct start DCEMon (from a command line or batch file) like this (but replace c:\temp with the directory you want to monitor): DCEMon "c:\temp"

=================================

Go from this:


Flight0 1 2 3
Flight1 4 5 6
Class Aircraft.Ju-88A-1
Formation VIC3
CallSign 33
Fuel 100
Weapons 1 1 1 0 0 4
SetOnPark 0
Skill 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3
Briefing BoB_LW_KG51_III.33

to this

[BoB_LW_KG51_III.33]
Flight0 1 2 3
Flight1 4 5 6
Class Aircraft.Ju-88A-1
Formation VIC3
CallSign 33
Fuel 100
Weapons 1 1 1 0 0 4
SetOnPark 0
Skill0 0.32 0.21 0.87 0.35 0.74 0.95 0.95 0.72
Skill1 0.93 0.21 0.96 0.45 0.74 1 1 0.75
Skill2 0.73 0.21 0.92 0.40 0.74 0.95 0.95 0.75
Skill10 0.73 0.21 0.92 0.40 0.74 0.95 0.95 0.75
Skill11 0.32 0.21 0.87 0.35 0.74 0.95 0.95 0.72
Skill12 0.30 0.21 0.78 0.30 0.74 0.85 0.90 0.70
Briefing BoB_LW_KG51_III.33

[B]Automatically!

=================================

This beta has been tested on Win7x64 and WinXP using IL2DCE-0.2.1.306.

Get it here: Original Thread (http://forum.1cpublishing.eu/showthread.php?t=31573) - bottom of 1st post (included with AITweak v0.4 or better).

Vyllis
05-07-2012, 04:47 PM
Noob question: Only dynamic campaign, no classic campaigns/missions?

von Pilsner
05-07-2012, 06:15 PM
Noob question: Only dynamic campaign, no classic campaigns/missions?

For classic campaigns and missions use AIProcess or AITweak from the same archive. :D http://forum.1cpublishing.eu/showthread.php?t=31573

I just had to change the logic slightly for the automated program to work with IL2DCE missions.

41Sqn_Banks
05-08-2012, 08:21 AM
Nice tool von Pilsen :) I hope you are aware that the IL2DCE is open source and you could have also set the different skill values directly into the mission generating process. In case the monitoring doesn't work reliable it would also be possible to call your application after the mission file was written to ensure the mission gets modified. But as it seems to work prefect already there is no need for this.

I will consider to set your skill values as default for the next release.

von Pilsner
05-08-2012, 05:12 PM
Nice tool von Pilsen :) I hope you are aware that the IL2DCE is open source and you could have also set the different skill values directly into the mission generating process. In case the monitoring doesn't work reliable it would also be possible to call your application after the mission file was written to ensure the mission gets modified. But as it seems to work prefect already there is no need for this.

I will consider to set your skill values as default for the next release.

Thanks, I love IL2DCE it makes the SP much better.

I checked out the IL2DCE source and got it to compile but my lack of experience in GUI coding (and my unfamiliarity with C#) made it a bit too intimidating :D

Vyllis
05-09-2012, 03:32 PM
Thanks for the info von Pilsner, will use this one of the dynamic campaign too.