:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sat Nov 18, 2017 5:53 pm
All times are UTC + 0
 Forum index » Modding Central » Generals Editing Forum
How to mod the AI?
Moderators: Generals Moderators, Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Frontlines
Missile Trooper


Joined: 23 Nov 2009
Location: Gonzales, CA

PostPosted: Mon Jan 23, 2012 10:43 pm    Post subject:   How to mod the AI? Reply with quote

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.

So any help is wanted. :#

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
The-Light
Grenadier


Joined: 08 Aug 2009
Location: Netherlands

PostPosted: Tue Jan 24, 2012 9:54 am    Post subject: Reply with quote

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.

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Wed Jan 25, 2012 5:56 pm    Post subject: Reply with quote

You need to edit SkirmishScripts.scb for the AI. It can only be opened by the World Builder, which ain't the best tool for editing stuff.
_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message Send e-mail MSN Messenger
Frontlines
Missile Trooper


Joined: 23 Nov 2009
Location: Gonzales, CA

PostPosted: Wed Jan 25, 2012 9:11 pm    Post subject: Reply with quote

Thanks guys.

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Generals Editing Forum
Jump to:  
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


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1139s ][ Queries: 12 (0.0147s) ][ Debug on ]