Jump to content

Recommended Posts

Posted

KotOR Blender Texture Swap script


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.

K Blender Tex Swap.zip


 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.