Sign in to follow this  
piccolodmq

Flying mounts working as Ground Mounts

Hi there, how would you allow the use of Flying mounts in kalimdor or eastern kingdoms in 3.3.5a.   So for example the Gryphon can run like any ground Mount but not flly in this lands? 

Share this post


Link to post
Share on other sites

We can do that somewhere in the DBC, but no more information sorry

Share this post


Link to post
Share on other sites

Look at https://www.wowhead.com/spell=72286/invincible

There are 6 spells:

1) Dummy main spell (which selected correct mount spell depending or your riding skill and location)

2) 60% ground mount spell

3) 100% ground mount spell

4) 60% ground and 150% flying mount spell

5) 100% ground and 280% flying mount spell

6) 100% ground and 310% flying spell

 

After you created spells with your creatureid you must do core tweaks (just some strings)

Share this post


Link to post
Share on other sites
On 6/21/2020 at 4:08 AM, Grindi said:

Look at Invincible

There are 6 spells:

1) Dummy main spell (which selected correct mount spell depending or your riding skill and location)

2) 60% ground mount spell

3) 100% ground mount spell

4) 60% ground and 150% flying mount spell

5) 100% ground and 280% flying mount spell

6) 100% ground and 310% flying spell

 

After you created spells with your creatureid you must do core tweaks (just some strings)

So it needs to recompile?  

Share this post


Link to post
Share on other sites
On 6/30/2020 at 10:29 PM, piccolodmq said:

So it needs to recompile?  

Yes, it is.

Share this post


Link to post
Share on other sites

in case someone else finds this thread - each adaptive mount (e.g. Invincible, Horseman's mount, etc.) are hardcoded in server/scripts/Spells/spell_generic.cpp

to make one new adaptive mount you'll need to make 5 new spells in Spell.dbc (each speed + catchall dummy spell), reference their IDs in the aforementioned .cpp, and use spell_gen_mount() where approriate e.g. where Invincible spell handler is created. 

it's a shame this relationship between various-speed mount spells can't be specified via mysql database.

Share this post


Link to post
Share on other sites
Sign in to follow this