Jump to content


Photo

Early warpspiders


9 replies to this topic

#1 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 21 February 2005 - 07:35 PM

I added this to the initial eldar buildorderstrategyinfo.ai to force early WS.

{ "building", "eldar_aspect_portal", true },
{ "squad", "eldar_squad_farseer", true },
{ "research", "eldar_aspect_stone_warp_spiders" },

but the game crashes. Is this not a "research" or do I have another typo ?

#2 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 21 February 2005 - 07:59 PM

A) No 's' on the end
B) It's an addon not a research...
Posted Image

#3 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 21 February 2005 - 08:23 PM

Wooot ! 2 errors in one line. Not bad.

Btw, made some nice difference. No more guardians/rangers but warpspiders + reapers later on. Sad enough the AI has to learn to teleport the spiders someday.

Will be my next task, teleport into cover from close combat.

Edited by LarkinVB, 21 February 2005 - 08:59 PM.


#4 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 21 February 2005 - 08:43 PM

Meh, I've had more.
Posted Image

#5 giskard

giskard
  • Members
  • 155 posts

Posted 22 February 2005 - 01:10 AM

All that does is tell it to build one or two Warp Spiders right away.

It doesnt mean it will nor does it allow it to build warp spiders more often.

Theres a little function that checks for pre-reqs it can build and if i finds one it cannot it puts in the build later function which it checks once every other minute because it alternates between build now and build later.

Theres also a liine that tells it to skip something in the build later queue if it doesnt have enough resources. So the AI waits, and waits and waits and never builds them.

That pre-req list is a wish list it must always have and it will try and research everything it needs to get that one item.

If it doesnt have them it trys to build them or replace them if they where destroyed. So with your change, you force the AI to always have 2 warp spiders in the game at all times.

Anything on that list is usually built at the Races starting point. EG the armoury at its base.

Then you have time it takes to research one item then start researching another. There is a delay between most AI actions. For building stuff its 1 minute before it checks again.

Considering you have 4 research items for the aspect warriors and no army list, on most difficulty levels it will simply max out its max units allowance with what ever unit the rating system says it needs.

Which is most likely 20 bright lancers,10 Banshees or 10 Guardians.
Really stupid stuff.

But hay, welcome to my world.

Now you know why I love my AI so much.
I already fixed all this in my AI :huh:

If you want tip, combine all the aspect stone research into one research item and give it any price tag you want that seems fair. This alone will shave off atleast 4 minutes from the research queue assuming it does all the aspect research one after the other by default. Which it doesnt, it often doesnt do the research until much later in the game when its rating system decides to build 1 unit of warp spiders before forgetting about the idea again. Without an army list theres usually no research ordrr either so the research it does do is more random too.

If you have one research item, the first unit it needs, eg bandshees causes it to research that item and make all the aspects available at the same time.

After that, its a case of checking how many units its allowed to build and making sure the AI doesnt max out with guardians before it reaches that limit.

The rest is already posted in various threads.

Most of the tweaks needed to improve the AI are found in the buildorderstrategy.ai file. Setup the AI right and that script will do the rest.

Though most of the tweaks you will do are the un-nerfing tweaks i spoke about.

Giskard

Edited by giskard, 22 February 2005 - 01:29 AM.


#6 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 22 February 2005 - 07:09 AM

Some of what you write here is wrong. My change doesn't force the AI to always have 2 warpspiders. Where do you get this idea ? It does allow to build them early and that's all I wanted to achieve/test. So whats your point ? My eldar AI will be doing fine soon.

Note that I don't want all the aspects all the time. If the AI is eldar and the enemy is ork it shall build warp spiders, not reapers. It shouldn't waste resources on the reaper aspect. I don't want random aspect warriors. Seems we have different things in mind for our AI.

I will shoot for an eldar AI going for the "best" aspect stone very early. I agree that army lists are bad. It should be based on demand which is based on enemy.

Edited by LarkinVB, 22 February 2005 - 08:49 AM.


#7 giskard

giskard
  • Members
  • 155 posts

Posted 23 February 2005 - 08:33 AM

How did i get that idea ?

Ive been testing my personalities remember. :grin:

Trying making an Army list with no guardians, then add 2 to your initial build queue. Watch them get destroyed and just see if a guardian turns up again later in the game.

By rights it shouldnt but because its in your initial build list the AI checks if its there and if its not it rebuilds them.

Its the same reason the AI always knows to replace its HQ a head of a machine pit if it needs both and has the resources.

Giskard

#8 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 23 February 2005 - 08:43 AM

Sorry, you are wrong. That may happen if you remove guardians, but not if you set them to 0. I put guardians to 0 and apart from the starting two squads I will never see them again. Same for rangers.

Believe me, I'm testing too :grin:.

#9 giskard

giskard
  • Members
  • 155 posts

Posted 23 February 2005 - 07:46 PM

We seem to be playing different games here.

Im playing Dawn of War and my experiences are vastly different from yours.

Giskard

#10 LarkinVB

LarkinVB

    title available

  • Members
  • 1,488 posts

Posted 23 February 2005 - 08:17 PM

Strange. I'm happy to send you my files for evaluation so you can see I'm not talking bullshit.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users