Newbie to Max Script with loading problem

Newbie to Max Script with loading problem

Anonymous
Not applicable
403 Views
4 Replies
Message 1 of 5

Newbie to Max Script with loading problem

Anonymous
Not applicable
Hi,

I've never dabbled with Max Script before, so I'm totally ignorant of the procedures, but I've just bought a CG Human with ms files for linking the biped to skeleton and skeleton to musculature etc. However, when I try to load the ms files I get Unknown property : 'parent' in undefined. I looked at the file and 'parent' is in plain text linking all the max script commands. It seems intact to me, but every time I try to run the script I get this message. I haven't a clue what I'm doing/not doing, I just want to get to a point where I can animate the mesh!
Need help from one of you Max veterans out there!

Cheers,

Laura
0 Likes
404 Views
4 Replies
Replies (4)
Message 2 of 5

Steve_Curley
Mentor
Mentor
Pure guesswork...

The "parent" is a property - more than likely of a "child". The "child" is "undefined" therefore it can't have a "parent" property. My guess is that you need the "child" assigned to whatever is being referenced (probably a variable). Impossible to be certain without seeing the entire script (which you probably should not post as it's part of a purchased "package").

If you can work out which line of code is causing the problem, you can find the reference which is undefined. From that you should be able to work out why it's undefined (search for that variable throughout the script).

You could contact the seller - see if there's any support offered for the product.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 3 of 5

Anonymous
Not applicable
Thanks for that, yes I've tried to contact the seller - Australia, so I'll wait a while for an answer! I've just taken a screenprint portion to post here for you to look at. I've loaded the full model supplied, inserted a biped, loaded the figure file, all fine - the script I've attached is a portion of the link of human to biped - I'm assuming this negates the need for lengthy skinning/physique operations? There is another max script file that links the CG mesh skeleton to itself - I'm getting the same error message, and the script is identical in its make-up as the other one.

Is there something I should be doing that I'm not before I try running the script file?

Cheers,

Laura

0 Likes
Message 4 of 5

Steve_Curley
Mentor
Mentor
I'm not familiar with that package or how it's intended to work, but it would seem that in each line the "child" is an object "S C <something>" - if there is no such object in your scene then the script will fail because "S C <something>" doesn't exist therefore it can't have a parent property. Perhaps you need to rename your objects (bones?) to match the naming convention used in the script?.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 5 of 5

Anonymous
Not applicable
Did that script come with a 3dsmax file as well, or were there multiple scripts? Since it is calling items by name, those objects are expected to already be in the scene. I suspect that you either need to open a certain 3dsmax file, or run an initialization script that creates those objects.
0 Likes