Sign in to follow this  
thetpainghtoo

Glyph of the Sentinel for 3.3.5 (How to add /create this glyph spell for 3.3.5?)

Hey there thepainghtoo,

There are quite a few different approaches you can take in order to make this happen, the following solution is how I would approach implementing the glyph to 3.3.5.

1) First I would find a druid glyph that existed in WotLK and make a copy of it, in this example i'm using item entry 40915.

 e412592810ab308a39e33cfe2d429d9a.png

2) I would then use Stoneharry's spell editor to create a dummy aura  spell, you can find the latest version here (https://github.com/stoneharry/Spell-Editor-GUI-V2/releases). Essentially what you want to do here is create a spell that does nothing at all, its simply used as a trigger aura for the core. 

3) Whenever we use a shapeshift ability the model that is displayed to players is determined by the core, as a result we need to make a core modification. When your core is open you want to find the function titled "GetModelForForm". This function handles display ids for cat, bear, water, and travel form, you want to scroll down until you find "case FORM_FLIGHT" and here is where you will make your edits. The below piece of code shows what you need to edit, right now this code tells the player to morph to id 20857 if they are Alliance and used flight form, if there not Alliance and they used flight form then morph the player to id 20872.

c60f0314f96db1c2e5874f826bc93c01.png

4) Change the code as you wish to accommodate what you would like to do, when you use a glyph it applies the spell to your character as an aura so I would check player:HasAura to confirm if they have the glyph active. The below code makes it so when you use flight form it will check  to see if you have the glyph active, if so then morph your character to id 123456. If you don't have the glyph it will function the same as the code from the previous image.

322f67db935ed4b2551fda1689351b5c.png

 

Additional Notes: 

- The above code shows an example of how you modify flight form, however, there is also an epic version of flight form under "case FORM_FLIGHT_EPIC". You will need to modify this information as well to have your owl effect work on normal and epic flight form.

- My steps show what you need to do in order to get your glyph to work in WoTLK, however, this is assuming you have the owl model already converted into WoTLK. If you don't have the owl model converted then i recommend you find the model you wish to use and then down port it using this tool. 

- Morph ids are determined in CreatureDisplayInfo.dbc  and CreatureModelData.dbc, once you convert your model down to WotLK you need to assign that data in those dbc files.

- If you need help with model conversation and retro porting there are a variety of resources on this website that are able to guide you through that process.

 

Hopefully this helps, have fun!

  • Like 3

Share this post


Link to post
Share on other sites
7 hours ago, Peacy said:

Hey there thepainghtoo,

There are quite a few different approaches you can take in order to make this happen, the following solution is how I would approach implementing the glyph to 3.3.5.

1) First I would find a druid glyph that existed in WotLK and make a copy of it, in this example i'm using item entry 40915.

 e412592810ab308a39e33cfe2d429d9a.png

2) I would then use Stoneharry's spell editor to create a dummy aura  spell, you can find the latest version here (https://github.com/stoneharry/Spell-Editor-GUI-V2/releases). Essentially what you want to do here is create a spell that does nothing at all, its simply used as a trigger aura for the core. 

3) Whenever we use a shapeshift ability the model that is displayed to players is determined by the core, as a result we need to make a core modification. When your core is open you want to find the function titled "GetModelForForm". This function handles display ids for cat, bear, water, and travel form, you want to scroll down until you find "case FORM_FLIGHT" and here is where you will make your edits. The below piece of code shows what you need to edit, right now this code tells the player to morph to id 20857 if they are Alliance and used flight form, if there not Alliance and they used flight form then morph the player to id 20872.

c60f0314f96db1c2e5874f826bc93c01.png

4) Change the code as you wish to accommodate what you would like to do, when you use a glyph it applies the spell to your character as an aura so I would check player:HasAura to confirm if they have the glyph active. The below code makes it so when you use flight form it will check  to see if you have the glyph active, if so then morph your character to id 123456. If you don't have the glyph it will function the same as the code from the previous image.

322f67db935ed4b2551fda1689351b5c.png

 

Additional Notes: 

- The above code shows an example of how you modify flight form, however, there is also an epic version of flight form under "case FORM_FLIGHT_EPIC". You will need to modify this information as well to have your owl effect work on normal and epic flight form.

- My steps show what you need to do in order to get your glyph to work in WoTLK, however, this is assuming you have the owl model already converted into WoTLK. If you don't have the owl model converted then i recommend you find the model you wish to use and then down port it using this tool. 

- Morph ids are determined in CreatureDisplayInfo.dbc  and CreatureModelData.dbc, once you convert your model down to WotLK you need to assign that data in those dbc files.

- If you need help with model conversation and retro porting there are a variety of resources on this website that are able to guide you through that process.

 

Hopefully this helps, have fun!

thanks a lot bro :D i'm very happy for this :) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this