View Single Post
Old 12-15-2004, 03:43 AM   #5 (permalink)
key0p
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

ok, Ive been doing some looking through gmax2w3d.dle

While searching through the document for "material" I came across the following line:
Code:
F:\Projects\Renegade\Code\Tools\max2w3d\FormClass.cpp   FORMCLASS   MaterialNavNotify   Launch  SetMultiMaterialTabBySlot   SubMtlTexIndex  SetMaterialTabBySlot    SetMultiMaterialBySlot  Element SetMaterialBySlot   slot    GameMaps    Animatable
I tested the first entry, MaterialNavNotify, in the listener.It returned <Interface:MaterialNavNotify>

I checked for these entries in the script gMaterielEDNotifyOnly.ms installed by renx.I looked at how they were used in the script, and did some tests in the listener.

MaterialNavNotify.Launch()
OK
MaterialNavNotify.SetMultiMaterialTabBySlot()
-- Argument count error: SetMultiMaterialTabBySlot wanted 3, got 0
MaterialNavNotify.SetMultiMaterialTabBySlot 1 2 3
OK

The third entry (MaterialNavNotify.SetMultiMaterialTabBySlot 1 2 3) opened up the Renegade Material Editor on the screen

I plan to look into this some more, I hope it helps you in the meantime.
key0p is offline   Reply With Quote