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] SpellVisualKit.dbc Channel Visual Floats  (Read 2570 times)

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
[QUESTION] SpellVisualKit.dbc Channel Visual Floats
« on: February 13, 2015, 06:38:30 am »
So the floats associated with column 22 (listed here http://www.wowdev.wiki/index.php ... ualKit.dbc), how do you decipher that shit?

You see, I'm trying to create a spell that is channeled and has its own channel animation (I pulled the monk crackling jade lightning from MoP to WotLK) but getting the channel visual to work is driving me bat shit crazy. I don't know the base or exponent values to convert the floats into integers, then back into floats, and as far as the other floats go that help decide color and shit, I have absolutely no idea how to work with it.

Anyone have experience dealing with custom channel visuals?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #1 on: February 13, 2015, 03:58:24 pm »
No experience with "custom channel", but I created a lot of spells with some CATA and MOP visual.

But, I don't really understand your problem. You mean your spell is working, the visual effect work ? Or is it just the animation of your character that cause you issue ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #2 on: February 13, 2015, 07:34:46 pm »
Quote from: "Makpptfox"
No experience with "custom channel", but I created a lot of spells with some CATA and MOP visual.

But, I don't really understand your problem. You mean your spell is working, the visual effect work ? Or is it just the animation of your character that cause you issue ?

Let's break it down. *hammertime*

Drain Soul, Life Drain, Mana Drain, Health Funnel. These are all spells that are channeled and have a channeling visual. Drain soul looks like a funnel of souls going from the target to your hands. That value to make that visualeffect appear, is in FLOAT. And to know how to get a float value to its integer form, you need to know its base and exponent. I know neither of those.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

coronelo

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #3 on: February 13, 2015, 11:42:17 pm »
I do not consider myself an expert in creating spells and do not understand your question , but if the intention is to get a channeling effect table to be used for spellvisual.dbc , if I remember correctly I just put the animation you want to channeling
 
sorry my english
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #4 on: February 14, 2015, 04:04:34 am »
Quote from: "Vortalex"
Let's break it down. *hammertime*

Drain Soul, Life Drain, Mana Drain, Health Funnel. These are all spells that are channeled and have a channeling visual. Drain soul looks like a funnel of souls going from the target to your hands. That value to make that visualeffect appear, is in FLOAT. And to know how to get a float value to its integer form, you need to know its base and exponent. I know neither of those.

I did some research and test, and the row 22 of SpellVisualKit.dbc is a "colormask" on the caster or target (depend on the configuration of the DBC).

The content of the row is just the color HEX converted in decimals.

Exemple for Drain Soul on SpellVisualKit 949 => http://puu.sh/fTddP/9818dd37df.png (decimals of 09ff00 are 655104)

And it's ok in game : http://puu.sh/fTdrV/e942b99903.jpg

I hope to have helped you. :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #5 on: February 14, 2015, 06:12:51 am »
Quote from: "Makpptfox"
The content of the row is just the color HEX converted in decimals.

That actually is very helpful for something else that I needed, but not exactly what I was looking for lol. I don't think anyone has messed with channeling spells to know what I'm talking about  Really do appreciate the effort though.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #6 on: February 14, 2015, 08:29:49 am »
I don't understand what is your problem in this case.
Did you want to me to create an custom channel spell in steps to see if I'm stuck too ?

Or are you just looking for how changing the particles color of the visual itself..? Really sorry. First time for me to not understand someone like this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #8 on: February 14, 2015, 08:33:22 pm »
Just as a sweet reminder: if anyone figures out stuff about those DBCs, please update the wiki. If you don't have an account to update the wiki, PM/mail me and receive permission within less than a day. Please help others. Thanks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #9 on: February 15, 2015, 03:37:42 am »
Some stuff I've figured out:
• If Column18 > 0, then Column22 is the decimal colormask.
• If Column18 = 0, then Column22 refers to some kind of model located in some other tables somewhere.

I don't know where those other tables are. I've searched and searched, but no success yet.

• If Column18 = 0, and Column22 = 723, then the spell channel effect will look like Drain Soul.
• If Column18 = 0, and Column22 = 743, then the spell channel effect will look like Chain Lightning.

I found a lot of examples of this throughout the SpellVisualKit.dbc but still can't figure out what tables the values are referring to.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #10 on: February 17, 2015, 07:56:12 am »
Bump. Still need help.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #11 on: February 18, 2015, 11:07:49 am »
You may want to check how channel spells work. Most of them don't really do anything and also don't have visual effect at all (they have just animation and effects around hands and thats pretty much all). What most of channel spells do is triggering another spell which already does have even missile animations and such things. If you didn't forget this, then my apologies, I can't help you any further anyway.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: [QUESTION] SpellVisualKit.dbc Channel Visual Floats
« Reply #12 on: March 24, 2016, 06:16:59 pm »
Bumping this old ass thread because the problem was never solved.

Use this as reference: https://wowdev.wiki/DB/SpellVisualKit
In SpellVisualKit.dbc, traditionally we've thought that the value in Column 22 was simply a colormask in decimal form. But that is not entirely true. It is a colormask ONLY if the value of Column 18 is greater than 0. If the value of Column 18 is exactly 0, then Column 22 no longer refers to a color, but rather is a reference to some type of model or mesh or something, located in some unknown table. This is how many spells work, like Drain Soul, Drain Life, Chain Heal, Chain Lightning, and so forth. All of those spells have something in common, which is that they don't shoot a missile, but rather instantly project a beam toward the target.

EDIT:
It's SpellChainEffects.dbc but all the tables are blank. I only know this is the correct dbc by checking the strings. As of right now the only way I know to mod the color of the spell is to change an existing texture to match the color you want. Currently no way to simply add new textures to the dbc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »