NOTE:
The unencrypted maxscripts are provided mainly to make it easier to develop third-party tools. Modifying the source will most likely compromise compatibility with future versions of B3d Pipeline - so modify at your own risk!
The maxscript for the Blitz3d Brush and Blitz3d Map can be found in: [3dsmax]\scripts\startup\
Search for "Scripted Plug-ins" in the MAXScript Reference.
Customize UI: B3d Pipeline Tools category: B3d Convert Material
This script attempts to convert the active material slot to a Blitz3d Brush and Map.
Customize UI: B3d Pipeline Tools category: B3d Convert Scene Materials
This script attempts to convert all scene materials to use Blitz3d Brush and Map.
The maxscript source for these material utilities can be found in: [3dsmax]\scripts\b3dpipeline\B3dMaterialUtils.ms
I'm no expert on maxscript; in fact, most of the time I find it quite baffling. So I'm always interested in learning how other people use maxscript, and I'm hoping that by providing the source, other people might help refine these scripts and/or come up with third party tools they might be kind enough to let me integrate into the pipeline.