| 06-26-2006, 03:51 PM | #1 |
Just wondering about this, I've yet to define ANY ai scripts for my computer players on this map, so all the units are just stationary. Except for transport ships... For some reason they're bouncing all over the place, sailing back n forth with no purpose, they aren't even carrying any units... Its a bit funny to watch but makes absolutly no sense to me why they're doing this... |
| 06-27-2006, 04:10 AM | #2 |
WCIII's default AI has a few problems with using ships, since you havn't defined any AI scripts its using the default AI, which is taking one look at the ships and going spastic. Just disable the AI until you make a custom one that uses ships. |
| 06-27-2006, 05:05 AM | #3 |
Hm, will a basic campaign AI work once I add the units? Will they build shipyards and send ships in sensable way, or will just telling them to build shipyards and attack with ships in their campaign AI script yield unusual results? |
| 06-27-2006, 05:26 AM | #4 |
you'll have to build a custom AI with the AI editor and tell it to use ships. |
| 06-27-2006, 05:15 PM | #5 |
Can I not just use make the script manually like the campaign AI scripts or melee scripts? Because I've added in a lot of new units into those scripts while messing around with the official campaigns and it worked fine... Your saying I cannot just add ships and shipyards into those kinds of scripts and get a good result? Because the official AI editor sucks horribly, it is much buggier and much harder to get a wanted result then just manually editing the AI scripts themselves. |
| 06-29-2006, 06:11 PM | #6 |
Hm, well I guess not... I gave my enemy ship base a custom AI script that I made manually... Its an orcish shipyard. And I am using this idea for the script. JASS://*** WAVE 1 *** call InitAssaultGroup() call CampaignAttackerEx( 2,2,2, 'odes' ) call CampaignDefenderEx( 2,2,2, 'ojgn' ) call CampaignDefenderEx( 1,1,2, 'obot' ) call CampaignAttackerEx( 2,2,3, GRUNT ) call SuicideOnPlayerEx(M4,M4,M4,user) Those are the codes for the 3 different types of orcish ships, they have no problem building the ships, but they seem to be unsure of where to send them, as they seem to cluster around a shore... Although I don't yet have a base constructed on the map, just testing it so that could be the reason that the ships have no means of getting to the user to attack them... I'll see how it goes when I establish a base within a reachable distance of the shoreline, and see if they get wiser. |
