Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Gurluas on December 18, 2013, 07:28:58 pm

Title: [HELP] Adding new Mounts
Post by: Gurluas on December 18, 2013, 07:28:58 pm
So far I've tried searching all over. There is no concrete guide explaining what to do to add a new mount.
So far I know I need to make an npc and a spell in spell.dbc. However I have no idea how to edit mount spells, set which creature the mount is supposed to use, mount speed, and more importantly, how to make a mount with the vehicle animation, like the Goblin Trike.

I hope someone here with experience in the matter can help.
Title: Re: [HELP] Adding new Mounts
Post by: deep6ixed on December 19, 2013, 11:30:59 am
in a day or two I will be going on vacation, and will have some time to help you out on this.

What have you been able to get done so far?  Have you made an NPC in creature_template to use as a base mount?
Title: Re: [HELP] Adding new Mounts
Post by: Gurluas on December 19, 2013, 10:12:27 pm
Not yet, but that's the easy part. I can't figure out spell.dbc out though.
I've compared several wildly different mounts and they mostly seems to have the same values.
Title: Re: [HELP] Adding new Mounts
Post by: deep6ixed on December 20, 2013, 12:40:35 am
You'll have to make a new spell entry and a new entry in skilllineability.dbc also.  As soon as a get a chance, I have the reference notes for mount spells.  It's rather quite easy.  Give me a few hours till the kid goes.to bed
Title: Re: [HELP] Adding new Mounts
Post by: Gurluas on December 21, 2013, 06:40:59 am
Very well ^^ Thank you!
Title: Re: [HELP] Adding new Mounts
Post by: deep6ixed on December 21, 2013, 10:49:39 pm
Okay after diggin through the DBC files, here  is what you need to do:

Note I used http://modcraft.io/viewtopic.php?f=61&t=1845 as a guide to make an mount
NPC

Step One: Make the NPC and you can use whatever Creature_Template Id that you want.  Just remember what that Id is.

Step Two: Open Spell.DBC and clone spell 55707 to a new row (Use something easy to remember)

Step Thee: Edit the following Columns:
(Using MyDBCEditor and make sure 'Use Zero Based is checked')

110 - EffectMiscValue - this becomes the creature_Template Id that you want to have the player mount
133 - SpellIconID - Set this to the Spell Icon that you want the spell to use.
170 - Description - Self explanatory
187 - ToolTip - Self explanatory

Step Four: Save Spell.DBC and open SkillLineAbility.DBC (This will allow the spell to appear in the Mount UI panel instead of the spellbook.)

Make a new row at the bottom of the DBC.
Set the Columns to the Following:
(Using MyDBCEditor and make sure 'Use Zero Based is checked')
0 - ID - Use the next open ID
1 - SkillLine.DBC - set to 777
2 - Spell.DBC - set to the spell id for your mount spell
7 - RequiredSkillLevel - set to 1

Leave all the rest at zero

Save and make a patch with the new DBCs
Title: Re: [HELP] Adding new Mounts
Post by: Gurluas on December 22, 2013, 09:57:48 am
Thank you! It is exactly what I needed! : )