Author Topic: Using Nwmax with 3dsMax 2012?  (Read 465 times)

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« on: November 24, 2011, 06:53:13 pm »


               Hey all

I recently got a student licensed copy of 3dsMax 2012, however I'm having issues using NWMax with it. Anyone have any experience with installing/using NWMax with newer editions of Max?

Main issue I've gotten was a script error when trying to load skinmeshed models.

Thanks for any help/advice. And Happy Thanksgiving!

JFK
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #1 on: November 24, 2011, 07:04:14 pm »


               Happy Thanksgiving to you as well!

Let me guess, does the error start off with "coCreateInstance() failed" and go on about needing to check your registry entries, and so on? 

If that's the case, search for the MAXComponents.dll for your install of 3ds Max 2012.  Then open a dos prompt and navigate to the directory where the MAXComponents.dll resides and type:
regsvr32.exe MAXComponents.dll

This may happen from time to time.  It's not related to NWMax.
               
               

               


                     Modifié par OldTimeRadio, 24 novembre 2011 - 07:09 .
                     
                  


            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #2 on: November 24, 2011, 10:09:44 pm »


               Thanks for the reply OTR. Unfortunately, that's not the problem this time around. You DID solve that issue for me quite a few months back with this advice, when I was experiencing that coCreateInstance() problem with gMax and NWMax. This one, with Max 2012, seems to be related to skinmeshes. I'll experiment a bit more and come back here with more info.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #3 on: November 24, 2011, 11:05:03 pm »


               Okay, NWMax seems to work fine with other models, but when I try to import a model with a skinmesh (such as my fish, shadow, etc.) it throws an exception.

MAXScript Rollout Handler Exception pops up:

--Unknown property: "animations" in undefined

Also a script window pops up named aurora_fn_import.ms

This has a lot of scripting, but the error code at the bottom lists:

li=3745 co=1 offset=211237 INS (SR+LF)

Here is some of the code surrounding the line mentioned above:



3725                   if (importAnims) then
3726                    (
3727                        if lastFrame > 0 then (
3728                            animationRange = (interval 0 lastFrame)
3729                        ) else (
3730                            animationRange = (interval 0 60)
3731                        )
3732                    ) else (
3733                        lastFrame = animationRange.end
3734                    )
3735                )
3736               
3737            ) -- end mdl_pos case statement
3738        ) -- end while not eof
3739        --lastFrame += animGap
3740     )
3741    catch
3742    (
3743  --messageBox ("NWN importer Script Error reading mdl file at line:" + lineNum as string)
3744        close mdlStream
3745        throw
3746    )
3747    close mdlStream
3748    nx_FlushBuffer()
3749    if showprogress then
3750    (
3751        progressEnd()
3752    )
3753    )


Thanks for any help.

JFK
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #4 on: November 25, 2011, 12:47:41 am »


               Strange, I don't think I've seen that one before.  I'm using Michael DarkAngel's NWMax Plus with some homebrew modifications I made myself and I haven't had any similar problems that I can recall.  Maybe you're trying to import a binary model or something like that?  I believe NWMax should sniff that out but it's the only thing I can think of.

There is also the possiblity that you're running the GMax version of NWMax under Max 2012.  You probably wouldn't want to do that.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #5 on: November 25, 2011, 07:59:02 pm »


               Thanks for the help. I'm using the 3dsMax version 6-8 of NwMax, that being the last release.
I've just tried with MDA's NWMax+ with the same issue. It seems to be related to skin/bones in the model. I've used NWexplorer to export one of my fish models from a working .hak, and importing the model causes the problem.
Hmmm.... let me try importing it with gMax/NWMax, to see the result.
I get the same issue importing with gMax. I've tried opening a saved scene with a skinmeshed Gibbering Mouther I'd been working on a while back. It loaded and animated, etc., just fine. I exported it to the Desktop successfully. I then tried loading it into 3dsMax with NWMax+. No dice, as I got a new error about Unable to Convert... hmmm, something's up.
               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #6 on: November 25, 2011, 10:10:39 pm »


               I also receive an error ('Unknown property: "animations" in undefined') when trying to open one of your fish models using NWMax+ with 3DSMax9, and yet I closed NWMax+ and restarted it, without closing 3DSMax, the model appeared less the animations.

That error looks as though it has something to do with animations not the skinmesh.  I would hazard a guess that your previously posted error also has something to do with animations.  Let me see if I can solve this error, or if it happens with any other models, and then we'll go from there.

[EDIT]
I ran into this same issue using the original NWMax with 3DSMax8

Still testing
[/EDIT]

'Image
  MDA
               
               

               


                     Modifié par Michael DarkAngel, 25 novembre 2011 - 10:48 .
                     
                  


            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #7 on: November 25, 2011, 11:33:44 pm »


               Glad you're on the case, Michael! I had the same result when I closed NWMax+, with the model minus the animations.
The fact that gMax/NWMax does the same (sort of) thing makes it seem it is something in my model. However, it isn't just my fish model, but other skinmesh models I've tried. Let me try opening one of the skinmesh models from another source, such as ProjectQ...
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #8 on: November 25, 2011, 11:40:57 pm »


               Doh. Just realized I haven't yet installed ProjectQ. I had the obligatory and inevitable hard drive failure a few weeks ago, and now I have a new computer. I had most of my stuff backed up on a 1T external, but somehow it still is a chore to get stuff 'back in the saddle'.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #9 on: November 26, 2011, 02:22:26 am »


               Okay, I just tried it with a newly exported fish model from the ProjectQ creatures .hak. Same issue as above, on import. '<img'>
Next, I will try creating a new, simple model with a skinmesh on it, and see if it works after export/import...
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Using Nwmax with 3dsMax 2012?
« Reply #10 on: November 26, 2011, 02:39:09 am »


               New information:
It works to import the geometry only, and then to select the model base and import the animations only!

JFK