IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
TextureSuffixChanger v0.1, MaxScript for easy texture swapping
Stalker
post 16 Jul 2015, 16:38
Post #1



Group Icon

Group: Dev. Team
Posts: 276
Joined: 10 June 2009
From: Austria
Member No.: 123



After way too many years of tedious manual work with building models I made this 3dsmax8 Script to quickly switch Textures.
This script lets you type in a texture suffix (e.g. "ds" for Damaged/Snow texture variants) and sets all your selected Objects' (W3D)Materials to the matching texture variant.
For this to work, the texture variants must be in the same folder and have the same name and file extension. It currently supports Multi-Materials, but only affects the first pass of your W3D materials.
If you select a suffix that doesn't exist for a material, it will not be changed. (e.g. housecolor2.tga stays housecolor2.tga). Leaving the Box empty will revert to default texture variants (= no suffix)

If you did not understand anything above, you will most likely not need this script.

It was tested in 3dsmax8, but should probably also work for 7.

Before:

After:


For Installation and Usage see the Readme:
CODE
************************************
TextureSuffixChanger V0.1 by Stalker
************************************
Description:
--
Changes all selected objects' textures to the matching textures with a different suffix.
e.g. Changes all objects from normal to snow or damaged textures.

NOTE: Materials will only be affected if the texture with the new suffix actually exists.


Installation:
--
* Put the .ms file into your 3dsmax\scripts\startup folder
* Launch 3dsmax
* Right-click any menu button, selec 'customize...'
* In the 'Category' Listbox, select 'W3D Utils'
* In the 'Actions' List find 'TextureSuffixChanger'
* Left-Click and Drag it into a toolbar
* Customize the Button if you want

Usage:
--
* Select all objects in the scene that you want the texture changed to
(usually just select all objects)
* Click the button you just created
* Enter a new texture suffix (e.g. "ds" for "<texture_ds>.tga")
(Keep the box empty to revert to default texture without suffix)
* Click apply



I hope you find this useful. If you have any questions, feel free to ask.

Happy modding!
Attached File(s)
Attached File  TextureSuffixChanger_v0.1.zip ( 1.81K ) Number of downloads: 24
 
Go to the top of the page
 
+Quote Post
menard
post 18 Aug 2015, 23:25
Post #2



Group Icon

Group: Members
Posts: 8
Joined: 26 June 2015
Member No.: 11644



Wow thanks for this script.I want to try to make a telacoil too sir. do you know how to create a electric sparkling effects and moving around in tesla coil sir?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 19 March 2024 - 9:36