• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fumefx5 in Max2018 - Maxscript support is broken and can't handle more than one line of code
#1
It seems that Fumefx5 has broken max script support (script that you set in General tab).
Here's my test code:

Code:
fn PostLoad = (
    print "PreRes"
    
    print "postRes"
)

If you scrub through the timeline you won't get any messages at all.

Code:
fn PostLoad = (
    print "PreRes"
)
This code actually works.

My assumption is that Fumefx is removing all newline characters in the maxscript which causes the script to be unusable. I found that if you add a maxscript that has more than one line, you save the script and the scene and you reload that scene, the whole script code will be collapsed into a single line !

Repo steps:
1. Add this code in your General tab-> Edit Script:
Code:
fn PostLoad = (
    print "PreRes"
    
    print "postRes"
    x = 10
    y = 200
    z = 123123
)
2. Save the script and the scene
3. Go to file->reset
4. Load your scene again
5. Go to fumefx general tab and open up attached max script
6. Notice that whole code will now be collapsed into one, very long line

Is there any workaround or a fix planned? This bug literally means no maxscript can be used in fumefx at all.
Senior VFX Artist @ Foundry 42 UK
  Reply
#2
I actually think maxscript support is broken in general. I am getting [0,0,0] values returned from GetVelWorld and GetVelLocal. I am sampling from areas which do have velocities and I do have Voxel Data Display turned on in the viewport. I am getting ->some
Senior VFX Artist @ Foundry 42 UK
  Reply
#3
Hello,

Thank you for the bug report. We can reproduce this as well and will work on the fix.
It works in 2019, but not in older versions.

Regards,

Kresimir Tkalcec
  Reply
#4
Thank you very much Smile
Senior VFX Artist @ Foundry 42 UK
  Reply
#5
Hello,

We have 5.0.2.2 almost ready, but wanted to share beta here so you can give it a try before the release.

Here are the links to files:

https://www.afterworks.com/betafiles/Fu ... 2R2015.exe
https://www.afterworks.com/betafiles/Fu ... 2R2016.exe
https://www.afterworks.com/betafiles/Fu ... 2R2017.exe
https://www.afterworks.com/betafiles/Fu ... 2R2018.exe
https://www.afterworks.com/betafiles/Fu ... 2R2019.exe

Please let us know how it works for you.

Thank you.

Regards,
Kresimir Tkalcec
  Reply
#6
Sorry- for some reason notification about your message landed in my junk mail. I'll give it a try next week. Cheers!
Senior VFX Artist @ Foundry 42 UK
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)