Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: ladiszlai on June 11, 2015, 02:22:40 pm

Title: [Question] Transport object
Post by: ladiszlai on June 11, 2015, 02:22:40 pm
Is it possible to make a Custom tranport objects?

(for example, zeppelins,ships)

if this possible which dbc-s i need to use
I dont know anybody do this before
Title: Re: [Question] Transport object
Post by: Makpptfox on June 11, 2015, 02:32:21 pm
Yes it is.

I have planned to work on this asap, but don't really got the time.

But I'm pretty sure you can make this work with the taxis related DBC and the Map DBC and some modifications in the DB.
Title: Re: [Question] Transport object
Post by: ladiszlai on June 11, 2015, 02:38:57 pm
Quote from: "Makpptfox"
Yes it is.

I have planned to work on this asap, but don't really got the time.

But I'm pretty sure you can make this work with the taxis related DBC and the Map DBC and some modifications in the DB.

Ok thank you for the answer, i think in the DB i need to use the transports row.
Title: Re: [Question] Transport object
Post by: Makpptfox on June 11, 2015, 03:20:43 pm
Yes you have to.

(Trinity in my case.)

For the DBC :

http://pxr.dk/wowdev/wiki/index.php?title=Map.dbc (http://pxr.dk/wowdev/wiki/index.php?title=Map.dbc" onclick="window.open(this.href);return false;)
http://pxr.dk/wowdev/wiki/index.php?tit ... thNode.dbc (http://pxr.dk/wowdev/wiki/index.php?title=TaxiPathNode.dbc" onclick="window.open(this.href);return false;)
http://pxr.dk/wowdev/wiki/index.php?title=TaxiPath.dbc (http://pxr.dk/wowdev/wiki/index.php?title=TaxiPath.dbc" onclick="window.open(this.href);return false;)
http://pxr.dk/wowdev/wiki/index.php?title=TaxiNodes.dbc (http://pxr.dk/wowdev/wiki/index.php?title=TaxiNodes.dbc" onclick="window.open(this.href);return false;)

Enjoy.
Title: Re: [Question] Transport object
Post by: ladiszlai on June 11, 2015, 04:39:48 pm
Thank You :D
Title: Re: [Question] Transport object
Post by: ladiszlai on June 11, 2015, 06:57:13 pm
And what about the Transport DBCs?
Because the elevators can be found in the TransportAnimation
Title: Re: [Question] Transport object
Post by: Makpptfox on June 11, 2015, 10:59:33 pm
If you look at http://pxr.dk/wowdev/wiki/index.php?tit ... mation.dbc (http://pxr.dk/wowdev/wiki/index.php?title=TransportAnimation.dbc" onclick="window.open(this.href);return false;) i think you could found what you need.

I was in first helping you fort Zepp and Boat transports because I had somes thinkings on them already, but I never looked after elevators before to be franc. (I usually use teleport dummies.)
Title: Re: [Question] Transport object
Post by: Rangorn on June 12, 2015, 04:14:21 am
For gameobject transport like elevator or deeprun tram, you have to edit dbcs :

-TransportAnimation : for moving objects from A to B using the 3 coordinates x y z, and with time notion (define the speed of your transport)

-TransportRotation : Rotate the gameobject during his travel, you can rotate in the 3 directions (yaw pitch roll)
This dbc is really pain, maybe the most difficult dbc i've ever seen xD

2 years ago, i've made this : https://www.youtube.com/watch?v=yyPzj06HZwo (https://www.youtube.com/watch?v=yyPzj06HZwo" onclick="window.open(this.href);return false;)


For elevators or simple movement, it's not that hard.
But if you want to do something complex with movement,rotation and velocity... It's really really hard, you must be really good in mathematics
Title: Re: [Question] Transport object
Post by: schlumpf on June 12, 2015, 08:46:00 am
Impressive.
Title: Re: [Question] Transport object
Post by: stoneharry on June 12, 2015, 11:44:16 am
Quote from: "Rangorn"
For gameobject transport like elevator or deeprun tram, you have to edit dbcs :

-TransportAnimation : for moving objects from A to B using the 3 coordinates x y z, and with time notion (define the speed of your transport)

-TransportRotation : Rotate the gameobject during his travel, you can rotate in the 3 directions (yaw pitch roll)
This dbc is really pain, maybe the most difficult dbc i've ever seen xD

2 years ago, i've made this : https://www.youtube.com/watch?v=yyPzj06HZwo (https://www.youtube.com/watch?v=yyPzj06HZwo" onclick="window.open(this.href);return false;)


For elevators or simple movement, it's not that hard.
But if you want to do something complex with movement,rotation and velocity... It's really really hard, you must be really good in mathematics

The internal Blizzard development tools will handle the calculation of these values, the person making the transport would not need to actually figure out the values themselves. Same with cinematic camera's positions, rolls, and targets.

You can use the WoW Machinima Tool to retrieve the values for a cinematic camera path, they did the maths. A program could be written to do the same for transports - hell, it might even be the same values. I am bad at maths.
Title: Re: [Question] Transport object
Post by: ladiszlai on June 12, 2015, 10:29:16 pm
Thanks to everyone for the answers ,

Makpptfox What i need to do in the Map.dbc?
Title: Re: [Question] Transport object
Post by: Makpptfox on June 12, 2015, 10:51:07 pm
Quote from: "Rangorn"
For gameobject transport like elevator or deeprun tram, you have to edit dbcs :

-TransportAnimation : for moving objects from A to B using the 3 coordinates x y z, and with time notion (define the speed of your transport)

-TransportRotation : Rotate the gameobject during his travel, you can rotate in the 3 directions (yaw pitch roll)
This dbc is really pain, maybe the most difficult dbc i've ever seen xD

2 years ago, i've made this : https://www.youtube.com/watch?v=yyPzj06HZwo (https://www.youtube.com/watch?v=yyPzj06HZwo" onclick="window.open(this.href);return false;)


For elevators or simple movement, it's not that hard.
But if you want to do something complex with movement,rotation and velocity... It's really really hard, you must be really good in mathematics

That's awesome. x)

For the configuration of Yaw Pitch and Roll I personnaly use this schem, I puush it for you ladiszlai in case you need it.
http://puu.sh/imt8q/ac950dad89.jpg (http://puu.sh/imt8q/ac950dad89.jpg" onclick="window.open(this.href);return false;) (Not the creator of it, I found it on a old modeling forum a long ago (don't remind of it's name.)

Quote from: "ladiszlai"
Thanks to everyone for the answers ,

Makpptfox What i need to do in the Map.dbc?

Just look at the map ID 582, it's litterally the same for any new boat transport. (You can also look at 594 if you want a easy zepp transport, it's the one in the Fjord for a quest.)
Title: Re: [Question] Transport object
Post by: ladiszlai on June 13, 2015, 04:59:52 pm
Ok thank you , now i made a transport object by replacing the Og to thunder Bluff transport ( In the Transports table) But the my problem is that when i spawn this object i can't see this object. It is possible that i spawn the object to wrong coordinate ? Or anything ?
Title: Re: [Question] Transport object
Post by: ladiszlai on June 13, 2015, 09:14:14 pm
i fixed now :)
Title: Re: [Question] Transport object
Post by: ladiszlai on June 15, 2015, 08:45:06 pm
If the people want , i can make a tutorial for how can make a new transporter.
Title: Re: [Question] Transport object
Post by: Kaev on June 15, 2015, 09:58:00 pm
Quote from: "ladiszlai"
If the people want , i can make a tutorial for how can make a new transporter.
Would be awesome, i always wanted to know how. :)
Title: Re: [Question] Transport object
Post by: Valkryst on June 16, 2015, 12:16:20 am
Quote from: "Kaev"
Quote from: "ladiszlai"
If the people want , i can make a tutorial for how can make a new transporter.
Would be awesome, i always wanted to know how. :)

Seconded.
Title: Re: [Question] Transport object
Post by: Tompoolk on October 13, 2015, 09:05:47 pm
Quote from: "ladiszlai"
If the people want , i can make a tutorial for how can make a new transporter.

I personally would appreciate that very much, been having some trouble with this for some times now.
Title: Re: [Question] Transport object
Post by: Amaroth on October 13, 2015, 09:37:04 pm
Well, if ladiszlai changed his mind, I can write that tut if there are so many folks around interrested in it, but there was a little problem I never managed to fix. Nvm, maybe you will figure out what to do with that. I will write that tommorrow, hopefully.
Title: Re: [Question] Transport object
Post by: detonatorss on October 14, 2015, 12:08:08 am
Quote from: "ladiszlai"
If the people want , i can make a tutorial for how can make a new transporter.

Can you make it? i want to try it hahaha
Title: Re: [Question] Transport object
Post by: Tompoolk on October 14, 2015, 12:56:16 am
Quote from: "Amaroth"
Well, if ladiszlai changed his mind, I can write that tut if there are so many folks around interrested in it, but there was a little problem I never managed to fix. Nvm, maybe you will figure out what to do with that. I will write that tommorrow, hopefully.

That would be great, if you could post a link to it once it is done that would be most appreciated.
Title: Re: [Question] Transport object
Post by: Amaroth on October 14, 2015, 10:33:45 am

### TUTORIAL HERE ###


http://modcraft.io/viewtopic.php?f=61&t=9787