Page 1 of 2

Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 6:24 pm
by metal_head
I got an awesome alien model,which is jointed and animated,but it's in max.I got thing working with the NFO and KEY plugins,but I have another problem.I exported an NFO of the actor to build it in Equity,but when I set the path to the NFO in Equity and clicked on Build Actor,Equity gave a message saying: "Can't Add Material" and gave an error.Please,help me with this!I just need this model in my game!

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:08 pm
by bernie
At the moment .key animations are disabled in equity so you can't build an actor from .nfo and .key files in Equity. They will probably be enabled in the release after the next one. Build the actor in Astudio for the time being.

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:12 pm
by metal_head
Hmm,I just tried to convert the NFO with the Astudio,but it gave this message:
Warning: no material path specified
add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.dds')
ERROR: Material 0, unable to locate bitmap 'gazer_self_illum.dds'
ERROR: Unable to add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.dds')
Error: Failed to build '.\BldTemp\gazer.BDY' file from 'gazer.NFO' file
Error: Failed to make BDY file
Error: Failed to build body. Unable to make Actor.
From what I see it's something wrong with the textures...i think

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:25 pm
by bernie
You have to show Astudio where the material file is. Enter the path to the material file in the paths tab. I think you will have to save the material seperately from 3dsmax. I don't know much about 3dsmax I'm afraid.

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:32 pm
by metal_head
Thanks for the help,bernie :),but I want to ask another question,is it possible to build an actor from a key file and a max file in Astudio?

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:40 pm
by bernie
Thanks for the help,bernie ,but I want to ask another question,is it possible to build an actor from a key file and a max file in Astudio?
No. You can only build it with .nfo and .key files or .bdy and .mot files.

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 7:59 pm
by metal_head
damn....I'll search in the forum if somewhere is explained how to compile an actor from NFO and KEY,because I don't know how to add the material and how to export it from .max

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 8:17 pm
by Allanon
metal_head wrote:damn....I'll search in the forum if somewhere is explained how to compile an actor from NFO and KEY,because I don't know how to add the material and how to export it from .max
Here is the documentation for Astudio that came with Genesis3d 1.1:
http://pages.suddenlink.net/someone/doc/Tools.htm

Also, NFO files are text files and you can edit them. I think actor textures must be bitmaps, RF may have changed this requirement but for G3D it was required. Open the NFO file and look for your texture names and if they are not bitmap files then change the extension to .bmp. You must also convert your textures to bitmap files.

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 8:27 pm
by metal_head
That really helps! I'll try it!

Re: Can't Add Material! (and error)

Posted: Sun Aug 17, 2008 10:43 pm
by metal_head
I don't get it,I did everything like it's said (at least I think I did it)and it's still not working..

it says:
Building 'C:\user\Users\Desktop\RealityFactory2\tools\alien.apj'
Actor doesn't exist:
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
Making Body
Making Body '.\BldTemp\nfo.BDY' from NFO 'C:\Documents and Settings\Mitko\Desktop\gazer\nfo.NFO'
Warning: no material path specified
add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.bmp')
ERROR: Material 0, unable to locate bitmap 'gazer_self_illum.bmp'
ERROR: Unable to add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.bmp')
Error: Failed to build '.\BldTemp\nfo.BDY' file from 'C:\Documents and Settings\Mitko\Desktop\gazer\nfo.NFO' file
Error: Failed to make BDY file
Error: Failed to build body. Unable to make Actor.
all this doesn't make sence to me...nfo.BDY' out of date. (Doesn't exist) yeah,that's because I WROTE nfo.NFO !!!! "alien.apj'" ??? I set the output to .act ..

Look,I've uploaded a picture of what I did,can someone please take a look at it and tell me where I'm wrong (god,I didn't think I'll have problems witha Astudio).

Re: Can't Add Material! (and error)

Posted: Mon Aug 18, 2008 1:47 am
by steven8
I've never worked with NFO files, but this line is troublesome:
Warning: no material path specified
Make sure your textures are where the NFO file says they should be, or maybe they just have to be in the same folder as the NFO file.

Now, for all I know, and I don't, astudio may do a conversion TO bdy then act?

Re: Can't Add Material! (and error)

Posted: Mon Aug 18, 2008 6:39 am
by Allanon
Make sure you put the absolute path of the folder that holds your textures in the Paths->Material directory textbox.

Re: Can't Add Material! (and error)

Posted: Mon Aug 18, 2008 12:01 pm
by bernie
astudio may do a conversion TO bdy then act?
That is correct. An actor (.act) file consists of a header, a body and a directory containing the motions.

Re: Can't Add Material! (and error)

Posted: Mon Aug 18, 2008 12:20 pm
by metal_head
ohh,maybe I'm doing something wrong,but the textures are in the nfo folder and I gave the path to the folder: C:\Documents and Settings\MHead\Desktop\gazer
but still not working :cry:
Building 'C:\user\Users\Desktop\RealityFactory\tools\alien.apj'
Actor doesn't exist:
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
Making Body
Making Body '.\BldTemp\nfo.BDY' from NFO 'C:\Documents and Settings\MHead\Desktop\gazer\nfo.NFO'
add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.bmp')
ERROR: VPH data needed (and not loaded) for mesh 'LOWmesh'
--- possibly this mesh has not been physiqued: 'LOWmesh'
Error: Failed to build '.\BldTemp\nfo.BDY' file from 'C:\Documents and Settings\MHead\Desktop\gazer\nfo.NFO' file
Error: Failed to make BDY file
Error: Failed to build body. Unable to make Actor.

Re: Can't Add Material! (and error)

Posted: Mon Aug 18, 2008 2:40 pm
by steven8
metal_head wrote:ohh,maybe I'm doing something wrong,but the textures are in the nfo folder and I gave the path to the folder: C:\Documents and Settings\MHead\Desktop\gazer
but still not working :cry:
Building 'C:\user\Users\Desktop\RealityFactory\tools\alien.apj'
Actor doesn't exist:
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
'.\BldTemp\nfo.BDY' out of date. (Doesn't exist)
Making Body
Making Body '.\BldTemp\nfo.BDY' from NFO 'C:\Documents and Settings\MHead\Desktop\gazer\nfo.NFO'
add material 0 ('(MAP) ALL MATS-DX Disp: gazer_self_illum.bmp')
ERROR: VPH data needed (and not loaded) for mesh 'LOWmesh'
--- possibly this mesh has not been physiqued: 'LOWmesh'
Error: Failed to build '.\BldTemp\nfo.BDY' file from 'C:\Documents and Settings\MHead\Desktop\gazer\nfo.NFO' file
Error: Failed to make BDY file
Error: Failed to build body. Unable to make Actor.
Well, you got past the texture issue, according to this. Now it seems to be a mesh issue:
ERROR: VPH data needed (and not loaded) for mesh 'LOWmesh'
--- possibly this mesh has not been physiqued: 'LOWmesh'

Error: Failed to build '.\BldTemp\nfo.BDY' file from 'C:\Documents and Settings\MHead\Desktop\gazer\nfo.NFO' file
Error: Failed to make BDY file
Error: Failed to build body. Unable to make Actor.
Trouble is, I do not know what this means. :( Physiqued. Does it have any bones?