• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script:UI customization
#7
fn CreateFFX=
(
ff = fumefx ()
ff.previewfps = 24
ff.width = 10
ff.length = 10
ff.height = 10
ff.setpath "e:/aa.fxd" #overwrite
/*
add here xtra wanted parameters of the ffx Grid ..example:
- for having grid sensitivity set : ff.sensitivity= 0.05
- for having grid spacing set : ff.gridspacing = 0.02
- for tweeking sim and playblack frames different than default :
ff.startframe= -20
ff.endframe = 80
ff.playfrom = 20
ff.playto = 140
*/

ff
)

fn SimpleSource ffx=
(
ss = Simple_Src ()
/*
add here xtra wanted parameters of the source example:
- for having smoke only : ss.fueltype = 0
- for having smoke additive : ss.smoketype = 1
- for tweeking smoke density : ss.SmokeDensity = 10
*/
ffx.addsource ss
)

ff = createffx()
simplesource ff

_________________________________________________

Now all u need to do is take a template of a Floater script Macro , put the headers , create it in a categorie FFx ( for example ) and put some ugly images calling each of the function and ur set.. for Adding xtra function u can look in the FFx maxscript reference or enable listener and do it normally mannually and see what the script says..


cheers,
<!-- w --><a class="postlink" href="http://www.cgfluids.com">http://www.cgfluids.com</a><!-- w -->
  Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)