FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   CnC Modding, Mapping and Editing (http://forums.filefront.com/cnc-modding-mapping-editing-273/)
-   -   AI question (http://forums.filefront.com/cnc-modding-mapping-editing/126472-ai-question.html)

TheMirage May 26th, 2004 04:52 PM

AI question
 
I tried scripting the AI to build some new stuff I added (through use of the edit scripts tool) but when they got to the point that they were supposed to build the new stuff, they stopped. Why? How do I get them to do it?

General_Pain May 26th, 2004 07:23 PM

Re: AI question
 
Do you have a script description?More detail would help in this situation.

TheMirage May 26th, 2004 09:25 PM

Re: AI question
 
um, okay, well, I'll skip the scripts that worked. I said:
IF Player <ThisPlayer> Owns one object of type GLAArmsDealer
AND 2500 is LessThan or Equal The number of credits owned by Player <thisPlayer>

THEN
Build one building of type GLABoatYard

then I did one where if they had a boat yard and at least 4000 credits they built a team, which I made contain 3 PTboats. Niether of these scripts worked, the others (build supply stash etc.) did.

General_Pain May 27th, 2004 10:33 AM

Re: AI question
 
It may be the Boat yard causing the problems,I personally havent palyed with the Boat yard or the PT boats so Iam not certain.I had heard that they didnt function correctly.And try nameing the team you want to build IE Insted of <ThisTeam> Try makeing a team and use there name....Hope that helps GP

TheMirage May 27th, 2004 02:19 PM

Re: AI question
 
....there was a boat yard already in the game? This one is one that I added...

General_Pain May 27th, 2004 08:08 PM

Re: AI question
 
In ZH theres a couple of buildings that are water front buildings. I didnt realize untill Now that your building was "an added Building" Do you have all the ini files in place to support the new addition?Have you gotten the game to launch with one of the building allready in place?

TheMirage May 27th, 2004 08:57 PM

Re: AI question
 
lol. looked again and found which .ini file I missed, AIdata.ini heh. You wouldn't know, though, of a way to make them build it by the water would you?:uhm:


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.