Jump to content


Photo

Need Help Making AI Make New Buildings


  • Please log in to reply
6 replies to this topic

#1 PCGamerMofo

PCGamerMofo
  • Members
  • 15 posts

Posted 27 April 2004 - 11:25 PM

hi, i have a mod going on right now. but once i get all buildings done, i need AI help. maybe can one of u do it? if its easy tho, i will. how can i get the AI to make the new units & buildings in my mod? thx

#2 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 28 April 2004 - 08:28 AM

It's easy. The whole of SDI is about teaching people stuff - while delivering easy content of course.

Anyway, to make the AI build structures you need a build list.

The build list is obviously a list of things the AI is to build - it contains where the structures should be built, and also when.

So it's imperative to have "build sequence" in the scripts, for example regular USA always build the powerplant, then a barracks, then a supply depot then a warfactory and so on.

So, to make your build list, go to WB, add your new faction(s) in Edit>Player (assuming you have them coded in the playertemplate.ini, and also assuming your mod adds new factions) and click the build list tool in WB
Posted Image<<


Then select your side, select a commandcenter and place it somewhere. Then follow your build sequence and layout. Once you've done making your list click the "Export" button, and an ini file will be generated in your generals (or zero hour) folder. That ini file contains the build list, so copy all the content and put it in the AIDATA.ini file.

That's just about it..
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 28 April 2004 - 11:12 PM

wow...thx. what about units?

#4 Detail

Detail

    King Detail

  • Hosted
  • 7,767 posts
  • Location:Dayonic
  • Projects:Dayvi.com
  •  Blu Spy

Posted 28 April 2004 - 11:23 PM

The SDI site has some great tutorials about units. It will be open in a few days.

#5 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 28 April 2004 - 11:45 PM

ok....

#6 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 29 April 2004 - 08:17 AM

The SDI site has some great tutorials about units. It will be open in a few days.

Yeah I'll probably write the huge one next or so "Adding a new faction". It'll be a wee more complicated but maybe I'll write one for n00bs as well.... @Staff, please do not hesitate to help me out! ;)
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#7 PCGamerMofo

PCGamerMofo
  • Members
  • 15 posts

Posted 30 April 2004 - 03:41 AM

well...im a n00b at AI stuff. but i am great at ini coding....been doin it for a long time now.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users