Author Topic: Dye kits copying existing color schemes  (Read 156 times)

Antediluvian

  • Nameless
  • *
  • Posts: 50
  • Karma: 0
Dye kits copying existing color schemes
« on: May 18, 2018; 03:17 PM »
Greetings!

If it's possible to read and duplicate colors attached to in-game armor, I'd like to request a set of dye kits copying those colors. Some color schemes already have matching kits, like "Temporal" and "Indigo Fire" or "Evanescent" and "Shadow", but some cool schemes like "Voltaic" (yellow - green trim - aqua glow; "Chakl's Kabuto" uses it) can only be used with corresponding armor equipped.

Kikina the templar

  • Named
  • **
  • Posts: 202
  • Karma: 4
Re: Dye kits copying existing color schemes
« Reply #1 on: May 18, 2018; 10:30 PM »
Any existing color set can be used for all three uses, such as an affix, armor, or dye kit.
If you want colors from Chakl kabuto for dye kit, try this:
 - open in Reanimator table "items", find Chakl's kabuto (line 1604), find parameter "affix" (470,480,378,368,432,-1)
 - uniques have after identification colors from affixes. Here is five affixes, program maybe select first (i dont know, this must be tested)
 - open table "affixes", find affix in line 470, look at parameter "colorSet". Hmm, there is nothing (-1). Lets try next affixes, all have (-1)
 - this step is neccesary, affix colors have priority over armor colors, now we can neglect the affixes
 - back to table "items", line 1604. Now check parameter "color set" here is "0", Grey-Gold-Blue colors, which should be our searched color scheme
 - now in table "items" find some from your dye kits, for example line 1044, Dye_Kit_Biohazard. Check parameter "color set" (138 Dye_Kit_Biohazard)
 - delete number "138" and enter number "0".
 - save table (like cooked file), delete from revival.zip file items.txt and replace it with your cooked file. Reinstall mod.
 - our custom change is done, dye kit "Biohazard" should now give to character same colors like kabuto

Physically is color sets defined in "colorsets.xml" file into "data" folder, here you can make direct changes into colors. If you write completely new color scheme, if necessary first add it to excel table "colorsets".
Each color set can be defined with different colors for different profesions.

Antediluvian

  • Nameless
  • *
  • Posts: 50
  • Karma: 0
Re: Dye kits copying existing color schemes
« Reply #2 on: May 24, 2018; 08:09 PM »
Thanks, I'll try that (I don't like some of the existing dye kits, so I'd only be happy to override them).