This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Custom Taxi problem  (Read 1684 times)

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Custom Taxi problem
« on: May 17, 2014, 03:39:31 pm »
Hi, I'm currently working on custom world transports using TaxiNode, TaxiPath and TaxiPathNode .dbcs.

I:
1. create 2 new harbors and make new records for them in TaxiNode.dbc (1 for each).

2. create 1 path in TaxiPath.dbc connecting those two taxi nodes.

3. create all waypoints for my path in TaxiPathNode.dbc. There are about 20 of them, making circle around isles. At those 2 waypoints which are at harbors (none of them is start or end of path) I also add value 2 for action flag (column 8, copied from blizzlike transports, I am not entirely sure what is that for, but even not-teleporting transports do have it) and value 10 for delay (column 9, self explanatory name). I leave script ID 0.

4. create gameobject for transport (currently copy of Auberdine-Teldrassil ship just with another data0, but I already tryed more patterns).

5. create new record in world.transports for my new transport gameobject (I run TC2 revision 53, so there's no respawn time column).

Everything works nearly fine but I have one bug. When my ship is reaching end of path, it suddenly just teleports to the start of new path. I was observing this problem for a while, ship skips last 30 seconds (so 1 circuit takes about 2 minutes without delays at harbors instead of about 2:30). Changing delays on harbors doesn't change anything, I tryed delays 0, 10 or 30 at both 1st or 2nd harbor and ship still just skips last 30 secs.

Does anyone know how to solve this? I had the same problem on TC2 revision 52, where transports table had respawn time column, but when I inserted higher value than was needed (f.i. 180000ms for 150000ms long circuit) it just created 30s time of standing on the place before ship skipepd its last part of circuit and teleported to it's start. It just ignores  and skips last waypoints/doesn't finish way from 2nd last to last waypoint.

EDIT: I run WotLK 3.3.5a.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Custom Taxi problem
« Reply #1 on: May 30, 2014, 02:02:51 pm »
*beep*
Nothing? Noone?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: Custom Taxi problem
« Reply #2 on: May 30, 2014, 02:44:42 pm »
Quote from: "Amaroth"
*beep*
Nothing? Noone?

I don't think many people have experimented with taxi's.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: Custom Taxi problem
« Reply #3 on: June 04, 2014, 06:21:12 pm »
From what I understand in your post... The taxi works correctly, but when it reaches the last 30 seconds of its path it will teleport back to the beginning of the entire path?

If that's the case then just add in 30 seconds worth of extra points to travel to so that when it teleports you don't notice it as it will already be at the position where it will teleport to.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.