Modding:Coding An Item: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 60: Line 60:
  <node id="MaterialPresets" /></code>
  <node id="MaterialPresets" /></code>
  '''(We can add any colour available to us (cloth, leather, accent) but this circlet is only metal 1 so we only need to list metal 1.)'''</code>
  '''(We can add any colour available to us (cloth, leather, accent) but this circlet is only metal 1 so we only need to list metal 1.)'''</code>
 
  <node id="Vector3Parameters"></code>
  <node id="Vector3Parameters"></code>
  <attribute id="Color" type="bool" value="False" /></code>
  <attribute id="Color" type="bool" value="False" /></code>
Line 66: Line 66:
  <attribute id="Enabled" type="bool" value="False" /></code>
  <attribute id="Enabled" type="bool" value="False" /></code>
  <attribute id="Parameter" type="FixedString" value="Metal_Primary" /></code>
  <attribute id="Parameter" type="FixedString" value="Metal_Primary" /></code>
  <attribute id="Value" type="fvec3" value="0.7667436 0.7667436 0.7667436" /> You can get a line of </code>
  <attribute id="Value" type="fvec3" value="0.7667436 0.7667436 0.7667436" /> The colour code in Hex form, you can use [https://www.nexusmods.com/baldursgate3/mods/502 BG3 Minitool] to convert a value.</code>
  </node></code>
  </node></code>
  </children></code>
  </children></code>
Line 75: Line 75:
  <node id="Visuals"></code>
  <node id="Visuals"></code>
  <children></code>
  <children></code>
  <node id="Object"></code>
  <node id="Object"></code>
  <attribute id="MapKey" type="guid" value="71180b76-5752-4a97-b71f-911a69197f58" /> Human Male Race IUUD example</code>
  <attribute id="MapKey" type="guid" value="71180b76-5752-4a97-b71f-911a69197f58" /> Human Male Race IUUD example. [https://bg3.wiki/wiki/Modding:Race_UUID Others Here]</code>
  <children></code>
  <children></code>
  <node id="MapValue"></code>
  <node id="MapValue"></code>
Line 83: Line 84:
  </children></code>
  </children></code>
  </node></code>
  </node></code>
(Removed for length - all the other mapkeys/mapvalues of every race this item is available for)</code>
(Removed for length - all the other mapkeys/mapvalues of every race this item is available for)</code>
  </children></code>
  </children></code>
  </node></code>
  </node></code>