Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] General Discussion => Topic started by: cecofuli on 2013-05-01, 23:42:32

Title: REQ: Script to change the 24 Mtl from STD to Corona + Multi/Sub
Post by: cecofuli on 2013-05-01, 23:42:32
Hi all,
I know, there is a lot of work to do before this, but I'm here to ask you if, someone, can write a simple script to :

(*) Clean all 24 mat and and replace the Standard MTL with CoronaMtl
(*) Create on the selected slot a Multi sub/mtl with 10 Corona Mtl

This is very useful for every project and can speedup our workflow.

Just a suggestion...

Thanks :)
Title: Re: REQ: Script to change the 24 Mtl from STD to Corona + Multi/Sub
Post by: racoonart on 2013-05-02, 10:09:24
(1) is already implemented as a button in my Material Converter Script :-)
(2): Here you go...
Code: [Select]
meditmaterials[activeMeditSlot] = Multimaterial numsubs:10
for i = 1 to 10 do(
meditmaterials[activeMeditSlot][i] =  CoronaMtl name:("CoronaMtl_" + (formattedprint i format:".2d"))
)
Title: Re: REQ: Script to change the 24 Mtl from STD to Corona + Multi/Sub
Post by: cecofuli on 2013-05-15, 14:13:07
Thank you DeadClown, the the 10 Multimaterial are standard material, not Corona.