This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Spell visual scale  (Read 2474 times)

skynz

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
[QUESTION] Spell visual scale
« 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Crumpet

  • Contributors
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [QUESTION] Spell visual scale
« Reply #1 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Spell visual scale
« Reply #2 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Crumpet

  • Contributors
  • LUA Script Tinker
  • *****
  • Posts: 46
    • View Profile
Re: [QUESTION] Spell visual scale
« Reply #3 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 ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

skynz

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [QUESTION] Spell visual scale
« Reply #4 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 :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [QUESTION] Spell visual scale
« Reply #5 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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »