Jump to content


How can I add AI to Singleplayer Maps?


5 replies to this topic

#1 E.V.E.

    Femme Fatale Of The Army

  • Gold Member
  • 6564 posts

Posted 24 July 2008 - 09:47

Hi there.

The Question is simple: How do I make the AI build a Base, attack the Player and all in a Singleplayer Map?
I tried importing some Scripts, and the AI does indeed move a little bit, but the only thing it does is maybe building one other Supply Depot, some Rangers and that was it.

It builds no War Factory or Airfield, and it also doesn't rebuild any Structures, it just sits there and does nothing.
I tried giving it Money via some Scripts, altered the AI Skill Level and made it " able to build Units and Structures " but I still have no success.

Does anyone have an Idea? Help me please! :(

- E.V.E.

Posted Image

#2 JJ

    Half dead member

  • Project Leader
  • 3294 posts
  • Projects: Real life things, personal RA3 mod

Posted 24 July 2008 - 10:05

To make the AI build structures, use the build list option. You don't need to script the AI to build, it will follow the build list.

As for attacking, just do like what you do when scripting skirmish AI, with teams, build conditions and stuff.

#3 E.V.E.

    Femme Fatale Of The Army

  • Gold Member
  • 6564 posts

Posted 24 July 2008 - 10:13

Quote

To make the AI build structures, use the build list option.


Where do I find that? :rolleyes:

- E.V.E.

Posted Image

#4 JJ

    Half dead member

  • Project Leader
  • 3294 posts
  • Projects: Real life things, personal RA3 mod

Posted 24 July 2008 - 12:18

It's in the toolbar, the red-ish button. If you still can't find it, click every button and see. |8

#5 Crazykenny

    Eternal Glow

  • Project Team
  • 7683 posts

Posted 25 July 2008 - 09:13

View PostJJ_, on 24 Jul 2008, 12:18, said:

It's in the toolbar, the red-ish button. If you still can't find it, click every button and see. |8

Yup thats gonna help 8|

I might learn a few things from this topic myself :o
Posted Image

#6 JJ

    Half dead member

  • Project Leader
  • 3294 posts
  • Projects: Real life things, personal RA3 mod

Posted 25 July 2008 - 09:14

You can try opening existing missions and find out how they work. :o



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users