• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] WC3: TFT - Mod Computer AI to Use Boats

Status
Not open for further replies.
Level 1
Joined
Jul 21, 2004
Messages
1
One thing that bugs me about the computer AI in TFT is that it will not use boats. I am happy with the AI otherwise.

How can I keep the AI as it is, except add something that would make the computer buy and use boats as necessary in melee maps? Is it possible to do this? Has someone already done it?

I am familiar with the map editor, but I have never edited AI. If not possible with the AI editor, would getting the computer to buy boats and use them need to be some kind of trigger event? If someone could point me in the correct direction or offer any tips, I would be grateful.

Thanks
 
Level 6
Joined
Jun 16, 2004
Messages
237
I haven't seen any commands for that in common.ai. I think the AI scripts have no way to buy boats at all. They can buy zeppelins though, through PurchaseZeppelin function call.

You need to use triggers to buy and load boats. You can't incorporate that behavior into a regular AI script, though.
 
Level 3
Joined
Aug 10, 2004
Messages
59
I thing computer can use Boats, but ther is problem with building boats, I created AI with was building boats, but computer builded shipyard on the land, and when he tryed to build ship I saw error: ther is no free space to bild ship (or something like that).

I thing computer can build ships, but he can`t build shipyard on the water, also I don`t know if he will use ships
 
Level 2
Joined
Sep 4, 2004
Messages
30
Yes there is no func like purchaseboot;

is it possible to create a new native ai func with jass???
 
Level 2
Joined
Apr 13, 2004
Messages
29
Natives can't be created for that (and besides, I think PurchaseZeppelin does not really work, it buys Zeppelins with and without it) since natives are hard coded functions but what you can do is use the natives from common.j to order your units to buy boats.
 
Status
Not open for further replies.
Top