About This File
Have you ever had a model where you need to replace the textures for WAY to many meshes? This automates that process turning a tedious couple hours into a quick and easy process. No need to convert to .ascii and batch files, this python script allows you to work and achieve your goal right within KotOR Blender!
This Script is meant to replace texture names in the KotOR Model Node ->Mesh -> Main Texture textbox in KBlender.
To USE
1)In Blender switch to the scripting- text editor (shift+f11)
2)Create a new Text Data Block (ALT N)
2)Paste the script
3)On lines 10 and 11 replace "blue" (make sure to replace "blue" on BOTH lines) with your original texture name AND replace "green" with the new texture. -You can replace just part i.e. bladeblue will become bladegreen, OR specify the whole name (replace "blue" with "bladeblue" and "green" with "testgreen" and blueblade will become testgreen.
4) Run script by pressing play button at top of scripting window or (Alt P)
5) To confirm changes at top of blender select Window -> Toggle Console.
Edited by EwokKotor