Jump to content


Photo

AI Q & A


  • Please log in to reply
111 replies to this topic

#61 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 11 August 2008 - 05:49 AM

Figured it out it was the buildings.
It was coding related not script related.
I think it was because the buildings were missing the FS_FACTORY Kindof.
It all works great now.

Break dancing into the hearts of millions


#62 Hebblewhite

Hebblewhite

    Artificially Intelligent

  • Project Team
  • 131 posts
  • Location:North Wales, UK
  • Projects:WOP-AI (bfme AI plugin), Darkness Rising, Rhovanian Alliance
  •  Mysterious AI Guy...

Posted 09 November 2008 - 02:21 PM

Hi All!

Long time, no see! I thought I'd let you know that I'm officially back and willing to answer all of your AI related questions as always! ;)


P.S. Thanks to everyone for keeping the AI flag flying during my rather long and unjustified absence!



Cheers!

Hebblewhite.
Reassuringly Expensive...

Blade with whom I have lived,
Blade with whom I now die,
Serve right and justice one last time,
Seek one last heart of evil,
Still one last life of pain,
Cut well old friend, and then... farewell


Posted Image

#63 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 13 November 2008 - 12:06 AM

Welcome back Heb.

Break dancing into the hearts of millions


#64 Hebblewhite

Hebblewhite

    Artificially Intelligent

  • Project Team
  • 131 posts
  • Location:North Wales, UK
  • Projects:WOP-AI (bfme AI plugin), Darkness Rising, Rhovanian Alliance
  •  Mysterious AI Guy...

Posted 13 November 2008 - 12:47 PM

Welcome back Heb.


Thanks! 'Tis good to be back! :p
Reassuringly Expensive...

Blade with whom I have lived,
Blade with whom I now die,
Serve right and justice one last time,
Seek one last heart of evil,
Still one last life of pain,
Cut well old friend, and then... farewell


Posted Image

#65 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 06 December 2008 - 10:46 AM

I have a question folks
I added a new unit, and I want to make the AI use them, I already added them to the specific libraries files.
Then I put them into the single teams from the Mordor AI, and the computer uses them.
But since then, the Mordor AI is a bit strange and I don't like it anymore.
So, for solving this, I want to make a new team in MordorAI.map just for this new unit.

So, can you tell me what I must do to make it work?
Posted Image

#66 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 06 December 2008 - 01:01 PM

you could add it to an existing team like Patrol_LateGame01 and the AI will build him fine and it shouldn't change much just that it'll build your new unit.
I'm not really sure what you want from your AI.
Just try experimenting with it until it does what you want

Break dancing into the hearts of millions


#67 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 07 December 2008 - 12:00 PM

Yes I already did that, but I'm not satisfied with the result.
I mean I want a new team (calling it infantry 3 or sth.), what must I do to do this?

(where's Hebblewhite btw :p )
Posted Image

#68 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 07 December 2008 - 12:55 PM

just copy paste and edit an existing team.
in the conditions just set it to what ever wave you want.

Break dancing into the hearts of millions


#69 Neutron4ever

Neutron4ever

    title available

  • Project Team
  • 893 posts
  • Location:Ontario, Canada
  • Projects:RCMOD, Kings of the West, Battle For Alagaesia
  •  RCMOD and KOTW Betatester and Edit Button Fanatic

Posted 07 December 2008 - 02:05 PM

Hey, i'm just wonderin' if it is possible to make the Rohan and Gondor AI place more units on their walls because whenever I play them they only have like a few bats of soldiers and archers and nothing on the walls...
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
--------------------------------------------------------------------------------------------------------------------
Posted Image

#70 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 07 December 2008 - 02:33 PM

just copy paste and edit an existing team.
in the conditions just set it to what ever wave you want.


ok, I will give it a try.
Posted Image

#71 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 07 December 2008 - 08:40 PM

The key to AI is trial and Error.
Just get in there and experiment.
Just make sure you back up the originals

Break dancing into the hearts of millions


#72 Hebblewhite

Hebblewhite

    Artificially Intelligent

  • Project Team
  • 131 posts
  • Location:North Wales, UK
  • Projects:WOP-AI (bfme AI plugin), Darkness Rising, Rhovanian Alliance
  •  Mysterious AI Guy...

Posted 08 December 2008 - 10:25 AM

just copy paste and edit an existing team.
in the conditions just set it to what ever wave you want.


What he said! At least until you get a feel for things...
Reassuringly Expensive...

Blade with whom I have lived,
Blade with whom I now die,
Serve right and justice one last time,
Seek one last heart of evil,
Still one last life of pain,
Cut well old friend, and then... farewell


Posted Image

#73 Hebblewhite

Hebblewhite

    Artificially Intelligent

  • Project Team
  • 131 posts
  • Location:North Wales, UK
  • Projects:WOP-AI (bfme AI plugin), Darkness Rising, Rhovanian Alliance
  •  Mysterious AI Guy...

Posted 08 December 2008 - 11:01 AM

Hey, i'm just wonderin' if it is possible to make the Rohan and Gondor AI place more units on their walls because whenever I play them they only have like a few bats of soldiers and archers and nothing on the walls...


Good question! :)

You need to play around with the base patrolling teams. Also, check out all of the scripts regarding base defense nodes - these are the actual positions that teams are sent to given certain conditions. Good faction castles happen to have a bunch of these nodes in and around the wall positions.

You could start out by increasing the number of battalions assigned to the base defense teams in your chosen faction, and work from there.


EDIT: I forgot to mention that certain scripts are only active on relevant difficulty levels. Make sure you're using the HARD ARMY teams and scripts if you want the maximum effect.

Edited by Hebblewhite, 08 December 2008 - 11:03 AM.

Reassuringly Expensive...

Blade with whom I have lived,
Blade with whom I now die,
Serve right and justice one last time,
Seek one last heart of evil,
Still one last life of pain,
Cut well old friend, and then... farewell


Posted Image

#74 Neutron4ever

Neutron4ever

    title available

  • Project Team
  • 893 posts
  • Location:Ontario, Canada
  • Projects:RCMOD, Kings of the West, Battle For Alagaesia
  •  RCMOD and KOTW Betatester and Edit Button Fanatic

Posted 08 December 2008 - 09:28 PM

Thanks, i'll try it out. I've always wanted to play a game where I could lay seige on the enemies castle and they'd defend it. I might also try to edit the evil faction's teams.
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
--------------------------------------------------------------------------------------------------------------------
Posted Image

#75 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 12 December 2008 - 02:57 PM

Thanks, i'll try it out. I've always wanted to play a game where I could lay seige on the enemies castle and they'd defend it. I might also try to edit the evil faction's teams.


hey, could you tell us here when you get results?
Posted Image

#76 Hasfusel

Hasfusel

    title available

  • Members
  • 425 posts
  • Location:England

Posted 21 December 2008 - 11:52 AM

Hey.

I know this seems like a bit of a generic question, but is there a way to fix it so that the AI actually use their heroes' powers and abilities? This is incredibly rare to happen in a normal game, I don't think I've ever seen a computer hero use a power.

#77 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 21 December 2008 - 12:05 PM

Hey.

I know this seems like a bit of a generic question, but is there a way to fix it so that the AI actually use their heroes' powers and abilities? This is incredibly rare to happen in a normal game, I don't think I've ever seen a computer hero use a power.


umm, as far as I know the AI uses every hero power. :p
Perhaps you can tell us which hero you mean.
For example it bugs me how the AI uses the abilities of Saruman, I admit that it is weird, but the others are ok imo.
Posted Image

#78 Hasfusel

Hasfusel

    title available

  • Members
  • 425 posts
  • Location:England

Posted 21 December 2008 - 03:22 PM

Oh. I never ever have seen the AI use a hero power. Is there a way to increase their likeliness to use powers?

#79 Baki

Baki

    title available

  • Project Team
  • 357 posts
  • Location:Germany
  • Projects:TDH AI

Posted 21 December 2008 - 04:24 PM

Well, it depends on the lenght of the skirmish of course. :p
If you let the AI build heroes like Gimli, Legolas, Lurtz etc. they will use their special powers, no doubt about that.
I often play 2 vs. 2, that means a computer controlled AI and me, against two other AI sides.
Then I often see how the computer uses them.
Posted Image

#80 Hasfusel

Hasfusel

    title available

  • Members
  • 425 posts
  • Location:England

Posted 21 December 2008 - 05:05 PM

Is there a way to get the AI to build heroes more often, then? It's rare that they do.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users