Snippets - SWTOR-Slicers/WikiPedia GitHub Wiki
NPC creatures: finding their animation files (by C-3PO).
Applying animations to NPC creatures can get difficult at times: many species of creatures share common animation files with simplistic directory names such as "cat" or "dog", or the name of one of several species compatible with it, such as "rancor".
As there is no correspondence data among the .xml
files we can find through a simple desktop search, we need to use Jedipedia's File Reader to locate it inside SWTOR's hierarchical node structure.
Let's try the case of a K'lor Slug:
We look at the NPC node, npc.location.korriban.mob.klorslug.klorslug_broodling
, where we can see the char spec is set to klorslug
(we could also look at the NPP node, npp.creature.klorslug.larva) or chrSpecPrototype
but that shouldn't be necessary).
Once we know the character's spec, we open /resources/art/dynamic/spec/klorslug.dat
and then look inside AnimBodyType
or AnimNetworkFolder
. The former simply tells us the name of the animation category, while the latter gives us its directory path relative to the resources
folder.
Lightsaber crystal colors: finding the colors to apply to the blades.
We look for the crystal name in swtor.jedipedia.net's search form: clicking on the result, we look for the FQN in the entry's Metadata panel.
Through Jedipedia's File Reader, in the Nodes tab, we navigate to that FQN subtree (or just paste it in the tab's search field to isolate it) and click on the node. Inside it there is a itmDyeSlotId
field, listing a number.
We can search for that number inside the itmAppearanceColorsPrototype
node. This node is directly at the root of the nodetree (somewhere below all the folders listed in the Nodes tab). Each color definition comes preceded by the number, and holds RGBA values (only showing the ones different to zero) in the 0-1 range.