March 28, 2017, 12:43:06 PM

Author Topic: How do I give material properties to a weapon or armor ?  (Read 855 times)

Kaiaphas

  • Newbie
  • *
  • Posts: 10
    • View Profile
How do I give material properties to a weapon or armor ?
« on: November 28, 2015, 04:39:10 PM »
Hello,
everything is in the title :)
i have the armor set, i have the material properties,
how do i say this armor is done with this material ? I'm a bit confused and didn't really get it.

thanks for any help

here's is a little teaser
« Last Edit: November 28, 2015, 04:52:02 PM by Kaiaphas »

Roboute

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: How do I give material properties to a weapon or armor ?
« Reply #1 on: November 29, 2015, 12:39:25 AM »
In the workshop.xml, inside the craftable item tag use the following tag to tell the game the crafted item is Always af a certain material:

"ConversionMaterial (optional): When set, newly crafted item will ignore MaterialIndex and be of this Material"
<ConversionMaterial>"Enter material here"</ConversionMaterial>