I am working on a new AI. Its name is DyDoBP. The final objective is for myself is to develop my own AI but to become "confident" with the scripting language I started by working on BP2.92 trying to improve it and fix few known bugs on it. This is the reason of the name DyDoBP...the core AI is always BP but with some improvements.
I have to thanks Nicker for allowing me to work on his AI and for the support given and for showing me where to find the necessary documentation which is needed when working on an AI for WZ2100.
And now some info about this new AI. I am still developing it, I have few milestones to be reached yet. Here below you can see the changelog with referece to BP2.92.
I have tested DyDoBP in skirmish games where also AIvolution is present, therefore in the attached package there is not only DyDoBP but AIvolution too, I hope this makes skirmish a bit more interesting:
Players 0-1-3 are AIvolution, players 2-4-5-6-7 are DyDoBP...therefore pay attention when playing a skirmish with 4 players, avoid to pick up position 2 as human player.
Please note that the "slider" is activated in DyDoBP (I know few people will not like it). This is not a cheat, if you want to play against the standard DyDoBP just leave the slider untouched...or you can change the following code at row 26 in the DyDoBP .vlo files:
Code: Select all
EnableSliders BOOL TRUE //<-- edit this value
Code: Select all
EnableSliders BOOL FALSE//<-- edit this value
DyDoBP 1.01 - CHANGELOG
TESTED: ok on multy AIs (4players) when opponent is AIvolution and Rules are standard.
Human always on player 0;
MAP sk-Rush(T1 4players)
MAP sk-closeComba(T1 4players)
MAP sk-valley(T1 4players)
BUG FIXES (related to BP 2.92)
- MAJOR:
- Added check that "RepairFacility" is researched before building it
- MINOR:
- Changed wrong attack parameters which are used to identify the majority of the units (see script for more details)
- BP2.92 event buildRepairFirst builds RepairFacilities only if exactly 4 were present, this is a minor bug.
Now that event tries to build RepairFacilities if they are less then the MAX allowed
AI IMPROVEMENTS AND NEW FEATURES (related to BP 2.92)
1) Improve harvesting
- DyDoBP does not send 2 or more trucks to harvest an OliRes (like BP) but it sends only one
- DyDoBP sends the nearest idle Truck (to the oilRes) to harvest the selected oilRes (BP sends an idle random one)
- DyDoBP tries to harvest the nearest oilRes first (BP not)
- DyDoBP tries to harvest ALL OilRes (BP not), even the very far ones.
- Add a check for oilRes near Ally players and avoid to harvest such oilRes.
2) Improved Derrick Defenses
- DyDoBP defends the oilRes near to the enemy, (BP picks up a random one)
3) Improve base defences
-
4) Minor attack improving
- changed secondary settings for attacking troups, they are sent back for
r epair when they have LOW damage (BP has NEVER, it repairs only units near the base)
- Build a Repair Facility on the attack gathering point to support attacking troops.
5) Major attack improving {to be started}
-
6) Add interaction capability with human player (send help troops...)
-
the point 3-5 and 6 are on the "milestone" list...no work made on them yet.
this are the objectives for the next version of DyDoBP:
Milestones to DyDoBP 1.2:
1) Improve harvesting
-
2) Improved Derrick Defenses
-
3) Improve base defences
- DyDoBP should give priority to gateways points
4) Minor attack improving
- Add a small Attack group and leave tankGroup acting as BP2.92. The new small Attack group should have
many beheaviours: Attack enemy Derricks, Attack Enemy from another angle, defend own Derricks
5) Major attack improving
- Create multiple units groups (BP has only 2, Cyborgs and Tanks), ideally each group
should have 5-8 Tanks 5-8 Cyborgs 3-4 Repair Units 1-2 Commander
- Use of the sensors/commanders, keep repair units near the sensor/commanders
- If necessary (on big maps?) build structures (Factories and Repair Facilities) near enemy base
- Different tasks can be assigned to the Groups: defend the base, attack an oliRes, attack an enemy base,
attack the same player from different positions, this will be the real new INTELLIGENCE!
6) Add interaction capability with human player (send help troops...)
Enjoiy it...