[paragraph:1vwrp73r]Someone asked me about taxi systems... They are basically the same. You create TaxiNodes (btw again, if memory serves me well, nodes themselves aren't part of paths of taxis), connect them with TaxiPaths (in this case you might also want to specify prize for TaxiPath in copper), spawn TaxiPath which will, in this case, be not a circle, but straight path from point A to point B. And you are, basically, done.Taxi pros:+ you can make player pay for travelling+ you can link taxis to SmartAI scripts (there is action to send player somewhere by taxi)+ you don't have to worry so much about boat fitting and sailing around docks without colliding with them, you just need to land on floor and there you goTaxi cons:- player on taxi has no collisions, so hello, boat which has just passed across my face- unlike transport, taxi always connects only 2 points, creating 1 path with 3 docks means creating 2 or 3 TaxiPaths- players can't travel together in taxi- more players travelling together mean more taxis... imagine those 20 boats in one, overlapping group- a map where you select to which TaxiNode you want to be taken never worked for me on maps where no fly masters originaly are, I never found solution, possibly core/LUA issue, I found a way around, you can simply make gossip menu for every fly master where gossip menu options will send you via taxi to wished point, buuut... its not idealIn general, I found myself still preferring taxi system over transport system, even while taxis have quite a lot of cons. However, taxi system just works better for me while I want to make players pay for travelling and while I want to be able to easily disable some paths from time to time. I also love possibility to assign taxi to SAI script. Being able to have conversation with NPC, during which you will be informed where will you be taken, how long it will take, what are hazards and so on? Sign me in, for RP servers definitely great possibilities. Taxis are also great as part of quests and Blizzard uses them in such manner very often. Its cool and in fact quite simple to make.[/paragraph:1vwrp73r]
Amaroth, Which Transport has got SmartAI script ?
You mean to this ? : SMART_ACTION_ACTIVATE_TAXIBecause this is not working for GameObjects this action is for only NPCs (example a flightmaster)
Quote from: "ladiszlai"Amaroth, Which Transport has got SmartAI script ?Its quite easy to find out, just look for gameobjects with type=15. It should be one with entry=190549. Just to make sure, by transports I mean wandering gobs, by taxis I mean mounts given by NPC fly masters.Quote from: "ladiszlai"You mean to this ? : SMART_ACTION_ACTIVATE_TAXIBecause this is not working for GameObjects this action is for only NPCs (example a flightmaster)Yes, I mean exactly that action. What have you filled into AIName in gameobject_template? SmartAI? If you did, its wrong, for gobs there should be SmartGameObjectAI. Don't ask me why, just do it, I was also terribly surprised when I tryed to link gobs to SAI scripts for first time and it, for "strange reason", didn't work. If you did this step well, then I am not entirely sure what went wrong and I might need to see your data you have inserted into gameobject_template and smart_scripts.
ladiszlai - That transport with SAI is called Zephyr and has 4 SAI scripts. All of them have event_type SMART_EVENT_GO_EVENT_INFORM and action_type SMART_ACTION_CALL_TIMED_ACTIONLIST. These actions activate another sets of smart_scripts (script sets 19054900, 19054901, 19054902, 19054903 in smart_scripts). Those script sets, for example, make the closest creature to gob with entry=34715 say something. It seems you have some sort of NPC guide onboard? Just check it out for yourself, follow refferences in smart_scripts.Once again, transport is gameobject, taxi is mount. You can't make SAI actually spawn transport. You can make SAI call taxi path, which will lead into player being mounted on NPC and sent on taxi path. This has absolutely nothing to do with data0 and with gobs whatsoever. If you haven't already tryed to actually do what this tutorial for, I am not sure why are you even asking about things which might get obvious to you after trying to do this on your own.________________________________dumass - Make sure you have DBCs in your patch-4.mpq (or patch-[letter].mpq) and also in your server's .../dbc/ folder. Steff also said it is good to have patch with edited DBCs also in Locale directory (Data/EnGB/ or Data/EnUS/ or whatever else), I never had any need for that but... whatever. Also check if you really had created (correctly) gob for transport and that you have added it into transports table. I can't help you more, just do exactly as I said in tutorial and make sure that you did so. There are many reasons why it possibly doesn't work for you, so if you won't be able to find solution on your own, I will need to see your DBC and DB data you have added/edited. Just btw, you are not to spawn transport gob on your own. Server will take care of it on its own without you spawning anything, but needs to have gob in transports table in world database.