Letting AI know where oil resources are
Letting AI know where oil resources are
An issue that always seems to arise when writing AIs for Warzone is how to let the AI know where to look for oil. The default AI used to do this by mere guesswork, sending scouts all over the place looking for interesting things. This is a huge disadvantage compared to human players, who is usually familiar with the map and can race toward and secure valuable oil resources much quicker.
Aivolution had a database where it plotted in oil resources it found for each map, essentially "learning" where oil was. It made the AI non-deterministic, so I find this approach rather mistaken.
For the next 2.3 release, I have added a new way to call the initGetFeature(), with the player parameter set to -1. This means find features irrespective of whether the player sees them or not. This allows you to iterate over all features, find the oil resources and send the AI racing for them. Since this makes the AI act just like a human, I do not consider this cheating.
Aivolution had a database where it plotted in oil resources it found for each map, essentially "learning" where oil was. It made the AI non-deterministic, so I find this approach rather mistaken.
For the next 2.3 release, I have added a new way to call the initGetFeature(), with the player parameter set to -1. This means find features irrespective of whether the player sees them or not. This allows you to iterate over all features, find the oil resources and send the AI racing for them. Since this makes the AI act just like a human, I do not consider this cheating.
Re: Letting AI know where oil resources are
And if i dont play same map over and over again and got no idea where oil is? i get smacked for that?...thx >_>
"No, you don't want to buy this Sh[beep]t from me. It shoots sideways, it was built by retard zombies in some f[beep]king outreach program." HL:G
- Saberuneko
- Regular
- Posts: 558
- Joined: 15 Jan 2010, 18:20
- Contact:
Re: Letting AI know where oil resources are
Then, just have to make that optional so you can disable the option of letting the AI to know where they are...
Re: Letting AI know where oil resources are
It is definately something DydoAI needs to become vialable of putting into trunk
Great work Per!
Great work Per!
Re: Letting AI know where oil resources are
This is a good thing Per. I`ll implement it in DyDo!
- DarkCheetah
- Trained
- Posts: 335
- Joined: 30 Apr 2008, 19:44
Re: Letting AI know where oil resources are
Aivolution gets confused on high oil maps and then just do nothing
this happened on a map called "8c AiAssualt" start with no base = aivolution wont move
this happened on a map called "8c AiAssualt" start with no base = aivolution wont move
... where did all the good ol classic ai's gone to? Turtle AI , Super AI
Re: Letting AI know where oil resources are
That's strange, every time I've played with aiv on that map I've had no problems. Aiv wiped the floor with us.DarkCheetah wrote:Aivolution gets confused on high oil maps and then just do nothing
this happened on a map called "8c AiAssualt" start with no base = aivolution wont move
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
- DarkCheetah
- Trained
- Posts: 335
- Joined: 30 Apr 2008, 19:44
Re: Letting AI know where oil resources are
Mysteryem wrote:That's strange, every time I've played with aiv on that map I've had no problems. Aiv wiped the floor with us.DarkCheetah wrote:Aivolution gets confused on high oil maps and then just do nothing
this happened on a map called "8c AiAssualt" start with no base = aivolution wont move
on Beta 6 and 7 on aiAssualt starting with no bases T1
they dont move =/ i find it weird D:
... where did all the good ol classic ai's gone to? Turtle AI , Super AI
Re: Letting AI know where oil resources are
Do you know who is managing issues with AIvolution? I am not sure this is the right place for your post, maybe you should open a trouble ticket.DarkCheetah wrote:Aivolution gets confused on high oil maps and then just do nothing
this happened on a map called "8c AiAssualt" start with no base = aivolution wont move
Re: Letting AI know where oil resources are
Nobody is fixing Aivolution anymore. There is no point in opening any tickets about it. Sorry
Re: Letting AI know where oil resources are
I though you and Zarel were doing it every now and then...ok.Per wrote:Nobody is fixing Aivolution anymore. There is no point in opening any tickets about it. Sorry
Re: Letting AI know where oil resources are
Why me? I don't know anything about WZScript, except the bare minimum to fix really simple bugs.
- DarkCheetah
- Trained
- Posts: 335
- Joined: 30 Apr 2008, 19:44
Re: Letting AI know where oil resources are
well i guess you'r working with the original ai huh? you should do something with the dificulty sliders ^^
there's no big difference in those =O
there's no big difference in those =O
... where did all the good ol classic ai's gone to? Turtle AI , Super AI