all Rai AI is refusing to use Sea and only Air

all Rai AI is refusing to use Sea and only Air

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
crazy dave
Posts: 65
Joined: 17 Aug 2010, 21:39

all Rai AI is refusing to use Sea and only Air

Post by crazy dave »

every time i join a game in single player Rai AI refuses to use sea, and only uses Air on island sea maps. can i fix this in any way as all othere AIs use Air and land
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: all Rai AI is refusing to use Sea and only Air

Post by Super Mario »

Wrong section. Try the "AI" section.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: all Rai AI is refusing to use Sea and only Air

Post by hoijui »

if you know C++ well, you could change RAI.. there is no other way.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: all Rai AI is refusing to use Sea and only Air

Post by Neddie »

Moved.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: all Rai AI is refusing to use Sea and only Air

Post by oksnoop2 »

I've seen RAI build boats before what game/mod are you playing?
User avatar
crazy dave
Posts: 65
Joined: 17 Aug 2010, 21:39

Re: all Rai AI is refusing to use Sea and only Air

Post by crazy dave »

i use BA, CA and NOTA all the time and they never build sea, they use amphibious tanks but never sea and ships. They only use Air Bomber attacks on sea maps.

If there is no solution could some one recommend me a download link for a Good AI that can use SEA AIR and LAND

and tell me how to install it coz i am a noob :lol:

Thx for all help :-)
merijn
Posts: 59
Joined: 17 Feb 2007, 18:43

Re: all Rai AI is refusing to use Sea and only Air

Post by merijn »

I just tested a game with RAI, AAI and E323 and all of them build ships. This is with the bots from the latest spring release. I started a online game tho, not single player...not sure if that could make a difference.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: all Rai AI is refusing to use Sea and only Air

Post by slogic »

E323AI does not officially support naval gameplay. Building of naval units by AI is just a side effect of _partial_ naval units support. It is not finished yet.
User avatar
crazy dave
Posts: 65
Joined: 17 Aug 2010, 21:39

Re: all Rai AI is refusing to use Sea and only Air

Post by crazy dave »

i just played a game with AAI and E323 and they build tide machines but not Dock yards to make ships or subs :(

could anyone recommend me a good AI for ships
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: all Rai AI is refusing to use Sea and only Air

Post by oksnoop2 »

You can make one with by writing a config for shard.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: all Rai AI is refusing to use Sea and only Air

Post by AF »

Be aware Shard at the moment has no capacity for detecting ponds and small lakes, it will build shipyards on water close to the builder at the time if told to, though it wont go out of its way to seek out water.
User avatar
crazy dave
Posts: 65
Joined: 17 Aug 2010, 21:39

Re: all Rai AI is refusing to use Sea and only Air

Post by crazy dave »

soz guys im a noob i can't mod anything except cry engine 2

so i can't fix the AI :(
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: all Rai AI is refusing to use Sea and only Air

Post by oksnoop2 »

Well making a config for shard it actually pretty simple. It's little more than making lists of units. I would be willing to show you if need be.
User avatar
crazy dave
Posts: 65
Joined: 17 Aug 2010, 21:39

Re: all Rai AI is refusing to use Sea and only Air

Post by crazy dave »

i picture tutorial or something would help lots im used to using a flow grath in the cry engine i guessing this is alot different, thx for all the help guys
:-)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: all Rai AI is refusing to use Sea and only Air

Post by AF »

A 5 year old could understand Shards most primitive mechanism for supporting games. Their only obstacle would be their typing speed and reading comprehension

Builders have task lists, or build orders. Shard starts at the beginning of this list, and works its way to the end skipping any it cant do, then repeats. Build orders are lists of unit names

Code: Select all

commanderlist = {
	"corsolar",
	"cormex",
	"cormex",
}
taskqueues = {
	corcom = commanderlist,
}
This is a list of things to build called commanderlist. At the end your telling Shard, that the 'corcom' unit type, is to follow the 'commanderlist' taskqueue.

That is all you need to know to get started. That inside:

<yourSpringfolder>\AI\Skirmish\Shard\0.3-Hairy\ai\<gameshortname>\taskqueues.lua

Shard will print out the 'shortname' in the console at startup if you don't already know it, and if the folder and file don't exist, just create a new folder and a new file and paste that in there.

For inspiration look in the other game folders to see what other people did.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: all Rai AI is refusing to use Sea and only Air

Post by slogic »

Due to RAI official forum thread is disappeared i'm posting here.

According to attached log file AI thinks it can build nothing on this water map. So, definitely the problem exists.
Attachments
test.log
(4.57 KiB) Downloaded 109 times
Post Reply

Return to “AI”