Posted: Mon Jan 23, 2012 10:43 pm Post subject:
How to mod the AI?
Any tips or tutorials?
Looking to fill out my knowledge in modding Generals Zero Hour.
One of the few things I can't do at the moment is the AI Coding.
In Generals and Zero Hour the AI is not as much coded, but more scripted.
The scripts are in the Data/scripts folder, and can be imported into worldbuilder. Worldbuilder is for my knowledge the only program capable of editing them.
Now the tricky bit, explaining scripting...
The basic way that the AI thinks could best be discribed as if A happens/exists than i do B.
The best advice i can give you is to start with starting worldbuilder and import the script, then take a look at them. I can't really help with this for i killed the AI more than actually improving it.
Note: in the scripts the AI uses teams or something, those can be edited in a seperate menu in worldbuilder "edit teams" button i believe.
Note2: there's a AI.ini or something like that, but I don't know it's exact functionality. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum