First release of JCAI - global AI
Moderator: Moderators
- Michilus_nimbus
- Posts: 634
- Joined: 19 Nov 2004, 20:38
I recompiled it:
http://www.fileuniverse.com/?p=showitem&ID=1391
Realize though, that I want to make some big changes in the next version. I want builders to be picked automatically and shared across all cells. This implicates some big changes in the way cells are described in script. The force system will probably stay the same though.
It would be kindof a waste if you invest time on these 0.11 scripts that will be outdated anyway.
http://www.fileuniverse.com/?p=showitem&ID=1391
Realize though, that I want to make some big changes in the next version. I want builders to be picked automatically and shared across all cells. This implicates some big changes in the way cells are described in script. The force system will probably stay the same though.
It would be kindof a waste if you invest time on these 0.11 scripts that will be outdated anyway.
Ok, maybe you can help me Zaphod...
I've reduced my once mighty script to this to find the crash. Why would this crash?
[edit] And now to make a long post even longer, Screenshots of testing the Rhyoss. I hope to convert and fix the Mynn also (I didn't convert the Rhyoss).
http://www.geocities.com/sammboy125/screen023.txt
http://www.geocities.com/sammboy125/screen025.txt
http://www.geocities.com/sammboy125/screen027.txt
I've reduced my once mighty script to this to find the crash. Why would this crash?
with this log?//------------------------------------------------------------------------------------------
// Cell info
//------------------------------------------------------------------------------------------
start
{
mex=cormex
factory=corvp
support="corsolar*5 corwin*6"
builder=corcom
childs="recon start2*1s2 attack"
}
start2
{
mex=cormex
factory=corvp
builder=corcv
support="corsolar*4 corrad corpun"
//childs="klab vplant"
}
attack
{
mex=cormex
factory=corvp
builder=corcv
support="corsolar*4 corrad corpun"
//Same problem with Force FAV
force="corfav"
//childs="klab vplant"
}
recon
{
task=recon /* recon cells will send their force to unknown areas */
builder=corca
factory=corap
force="corfink*2 corveng"
maxforce=7
}
//------------------------------------------------------------------------------------------
// Force info
//------------------------------------------------------------------------------------------
forceinfo
{
grouptypes = "BasicForce1 fav"
}
BasicForce1
{
task=attackdefend
units=corfav
batchsize=4
category=2
level=1
minmetal=1
}
fav
{
task=attackdefend
units=corfav
batchsize=4
category=2
level=2
minmetal=1
}
And btw, I'll post screenies of Rhyoss soon, I'm just trying to get ANY of my ai's working...Log started.
AIConfig: Ordertimeout=80, Debug=on, ForceEnergyRatio=1.000000, ForceMetalRatio=1.300000, DefaultMinDist=4
Running mod OTA_Shiny_TA.sd7 on map Castles.smf
Infomap of 16x16 created - high metal val=255
Build table constructed: 134 unit definitions
Parsed force group: BasicForce1
Parsed force group: fav
Parsed cell config 'recon':
Parsed cell config 'start2':
Parsed cell config 'attack':
Parsed cell config 'start':
child cell type: recon, minforce=0, minsupport=0, count=1
child cell type: start2, minforce=0, minsupport=2, count=1
child cell type: attack, minforce=0, minsupport=0, count=1
New cell start
RequestMiningZone(): (12,3)
start: Trying to build a mex...
AddBuildOrder: CORMEX @ (6136,1528)
Reorderding order CORMEX by CORCOM - 1 time. (-1,-1)
start: Trying to build a factory...
AddBuildOrder: CORVP @ (6392,1784)
New cell recon
RequestSafeBuildingZone(): heightdif=24.615223
AddBuildOrder: CORAP @ (5880,1792)
New cell attack
RequestMiningZone(): (13,3)
Add factory order: CORCV
SetBatchBuildingTask: fav
FindPreferredUnit (CORVP) on group fav
Add factory order: CORFAV
attack: Trying to build a mex...
AddBuildOrder: CORMEX @ (6648,1528)
UnitGroup: Added CORFAV - batch has 1 units.
SetBatchBuildingTask: fav
FindPreferredUnit (CORVP) on group fav
Add factory order: CORFAV
UnitGroup: Added CORFAV - batch has 2 units.
SetBatchBuildingTask: fav
FindPreferredUnit (CORVP) on group fav
Add factory order: CORFAV
UnitGroup: Added CORFAV - batch has 3 units.
SetBatchBuildingTask: fav
FindPreferredUnit (CORVP) on group fav
Add factory order: CORFAV
UnitGroup: Added CORFAV - batch has 4 units.
ForceHandler: Batch build completed: (fav)
[edit] And now to make a long post even longer, Screenshots of testing the Rhyoss. I hope to convert and fix the Mynn also (I didn't convert the Rhyoss).
http://www.geocities.com/sammboy125/screen023.txt
http://www.geocities.com/sammboy125/screen025.txt
http://www.geocities.com/sammboy125/screen027.txt
Yeah if I knew why it would crash I wasn't rewriting :) That particular crash only happens in release mode which doesn't simplify things either. But generally, it always works out for me to implement something for the first time, get some experience with the problems that have to be faced, and rewrite it. It will be the same here.
Note that once I reach a stable and efficient AI system, script format will not change dramatically, it's just these early alpha releases that have a lot of changes in them...
Note that once I reach a stable and efficient AI system, script format will not change dramatically, it's just these early alpha releases that have a lot of changes in them...
I don't know if anyone has made this but..
Heres an Arm script! :D Everything has been modified to work with arm. It also tends to be a bit more expansionary and defensive.
http://kuroneko.gotdns.com:27018/xta_arm.zip
Heres an Arm script! :D Everything has been modified to work with arm. It also tends to be a bit more expansionary and defensive.
http://kuroneko.gotdns.com:27018/xta_arm.zip
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
Code: Select all
ForceHandler: Batch build completed: (BasicForce1)
/me pokes around
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10