• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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

Status
Not open for further replies.

DieUmEye

D

DieUmEye

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
 
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.
 
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
 
Yes there is no func like purchaseboot;

is it possible to create a new native ai func with jass???
 
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.
Back
Top