Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: skynz on August 06, 2013, 07:49:12 pm

Title: [QUESTION] Spell visual scale
Post by: skynz on August 06, 2013, 07:49:12 pm
Hello,

I wish to resize a spell's visual. I looked in the Spell*.dbc, but I failed to find anything relevant, except in SpellVisualEffectName.dbc, but there was no tie between this DBC and any other so...

Thanks in advance,
Skynz
Title: Re: [QUESTION] Spell visual scale
Post by: Crumpet on August 07, 2013, 12:38:50 am
I don't think you can change the scale of the model via dbc. You can change offsets etc, in spellvisualkitmodelattach but that isnt what you want. As a general rule this is the chain for spell visuals:
spell.dbc column 131 -> spellvisual.dbc -> spellvisualkit.dbc -> spellvisualeffectname.dbc

As for the change in size, your best bet is to make a duplicate of the model you want, scale it up (I think there's a m2 scaler tool somewhere) and add it back in under a different name, create a new entry in spellvisualeffectname.dbc then create the subsequent entries from then on
Title: Re: [QUESTION] Spell visual scale
Post by: stoneharry on August 07, 2013, 01:02:43 am
Spell scale is affected by NPC scale.

Dynamic objects handle area of effect spells, which can also be scaled server side.
Title: Re: [QUESTION] Spell visual scale
Post by: Crumpet on August 07, 2013, 02:25:45 am
Quote from: "stoneharry"
Spell scale is affected by NPC scale.
.
I had assumed he didn't want to scale the creature/player up ;)
Title: Re: [QUESTION] Spell visual scale
Post by: skynz on August 07, 2013, 08:03:13 pm
Quote from: "Crumpet"
Quote from: "stoneharry"
Spell scale is affected by NPC scale.
.
I had assumed he didn't want to scale the creature/player up ;)

Your assumption was right, I apologize for not stating it in my first post.
Thank you both, Crumpet & Stoneharry, for your help. I will look into it :)
Title: Re: [QUESTION] Spell visual scale
Post by: Soldan on September 01, 2013, 10:03:09 pm
Quote
You can change offsets etc, in spellvisualkitmodelattach

I'm wondering if this will let me move the model...

The thing is, I've got a spell visual that links to a spell.. and I want it on the players back... So I used the chest flag, now that model appears "inside" the character, and I'd preferably like it behind him.. like the position wings are in...

Do you know if it's possible to edit the coords while still taking into perspective the attachment point? (chest, head..etc).