Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Laduguer on October 06, 2014, 12:28:38 am
-
Hey guys!
Lemme describe to you what the issue is:
- We've made a vehicle with a levitation buff on permanently allowing it to act as a boat on water.
- However, when we try and drive it, it behaves erratically and jumps up and down the moment it starts moving on water.
- This bug occurs to everyone except whoever's driving it at the time, for them it appears to sail smoothy.
Here's what it looks like:
http://i.gyazo.com/b156db51deb0cb1966a2206301439797.gif (http://i.gyazo.com/b156db51deb0cb1966a2206301439797.gif" onclick="window.open(this.href);return false;)
Possibly it's an issue in communication between the client and the server, maybe we need to do something with the vehicle dbcs, but I haven't got a clue.
Appreciate any help you guys can offer.
-
Typical. Confused us for a few hours then as soon as I posted this we solve it.
It was just a problem with the player not having the same buff as the vehicle (water walking).
-
Would never guess that, thanks, I am going to try to do exactly the same for my project :D.
-
Which vehicleID and modelID have you used for it? I require the information if possible :)
-
Just to bump my question since it would be very helpful for me :c
-
Sorry Ulec, I didn't see this.
Unfortunately I can't remember the display ID. It might have been a custom one, in which case it should be easy to implement yourself. The rowboat model is already ingame.
The vehicle was a Salvaged Chopper that had been given a permanent water walking buff through the database.
-
Sorry Ulec, I didn't see this.
Unfortunately I can't remember the display ID. It might have been a custom one, in which case it should be easy to implement yourself. The rowboat model is already ingame.
The vehicle was a Salvaged Chopper that had been given a permanent water walking buff through the database.
Salvaged Chopper, gotcha. Because the flags and whatnot on those do matter ^^ Thanks a tonne.
-
Which modelID have you used for it?
Search WMV for model, search creaturemodeldata.dbc for creature model ID which is using that model path, search creaturedisplayinfo.dbc for displayID which uses that model ID. If you get stuck - that rowboat doesn't have any blizzlike ID and you will have to create it by yourself.:
1. create new row in creaturemodelinfo.dbc containing path to your boat model
2. create new row in creaturedisplayinfo.dbc containing your new model ID
3. create new row in world.creature_model_info for your new NPC DisplayID
4. done.
-
Which modelID have you used for it?
Search WMV for model, search creaturemodeldata.dbc for creature model ID which is using that model path, search creaturedisplayinfo.dbc for displayID which uses that model ID. If you get stuck - that rowboat doesn't have any blizzlike ID and you will have to create it by yourself.:
1. create new row in creaturemodelinfo.dbc containing path to your boat model
2. create new row in creaturedisplayinfo.dbc containing your new model ID
3. create new row in world.creature_model_info for your new NPC DisplayID
4. done.
I asked it more for the flags, vehicle seats and whatnot used in it for it to be able to float and have you sit on it properly; else the model is pretty standard and easy to find anyway :P
-
Hmm, I might have a problem with my core. It doesn't work with water walking. My vehicle always either submerses or free hangs in water just like a player depending on the flags with and without levitate/water walking, etc...
Any help, anyone?
-
Hmm, I might have a problem with my core. It doesn't work with water walking. My vehicle always either submerses or free hangs in water just like a player depending on the flags with and without levitate/water walking, etc...
Any help, anyone?
Are you using Trinity? If so, make sure you're applying the buff through the creature_template_addon database.
-
Hmm, I might have a problem with my core. It doesn't work with water walking. My vehicle always either submerses or free hangs in water just like a player depending on the flags with and without levitate/water walking, etc...
Any help, anyone?
Are you using Trinity? If so, make sure you're applying the buff through the creature_template_addon database.
Working, yet given how water walking/levitate etc... work properly within my server the moment I aim down while holding right click the whole vehicle submerges into the water, just as the character alone does with the said buffs. So I need to 'break' those buffs' function in a way it never lets you get underwater. If anyone could help me with that I'd be grateful.
Also how to stop the vehicle working on the ground and changing its speed on water? Messed with speedRun, speedWalk, habitat types and all sorts of other things. Any tips?
-
Hmm, I might have a problem with my core. It doesn't work with water walking. My vehicle always either submerses or free hangs in water just like a player depending on the flags with and without levitate/water walking, etc...
Any help, anyone?
Are you using Trinity? If so, make sure you're applying the buff through the creature_template_addon database.
Working, yet given how water walking/levitate etc... work properly within my server the moment I aim down while holding right click the whole vehicle submerges into the water, just as the character alone does with the said buffs. So I need to 'break' those buffs' function in a way it never lets you get underwater. If anyone could help me with that I'd be grateful.
Also how to stop the vehicle working on the ground and changing its speed on water? Messed with speedRun, speedWalk, habitat types and all sorts of other things. Any tips?
Just make it when mounted on it to require water and then mark the water as a solid while mounted on it and once you get out of the water since it's not water it should dismount you.
Also since it thinks the water is a solid changing the running speed should work.
You could also instead of making it think the water is solid just make the vehicle only allow forward backward and left to right controls.
-
Hmm, I might have a problem with my core. It doesn't work with water walking. My vehicle always either submerses or free hangs in water just like a player depending on the flags with and without levitate/water walking, etc...
Any help, anyone?
Are you using Trinity? If so, make sure you're applying the buff through the creature_template_addon database.
Working, yet given how water walking/levitate etc... work properly within my server the moment I aim down while holding right click the whole vehicle submerges into the water, just as the character alone does with the said buffs. So I need to 'break' those buffs' function in a way it never lets you get underwater. If anyone could help me with that I'd be grateful.
Also how to stop the vehicle working on the ground and changing its speed on water? Messed with speedRun, speedWalk, habitat types and all sorts of other things. Any tips?
Just make it when mounted on it to require water and then mark the water as a solid while mounted on it and once you get out of the water since it's not water it should dismount you.
Also since it thinks the water is a solid changing the running speed should work.
You could also instead of making it think the water is solid just make the vehicle only allow forward backward and left to right controls.
Okay I can give the vehicle an addon to apply the druid water form buff (a customised version of it, or at least the attributes it uses). But how to make the water solid?
And I'd also need a vehicleID allowing only forward/backward/left/right movement yet also with the appropriate seats. Or I'll have to edit the seat positions in which is really tedious :c