• Some material problems when compiling model
    5 replies, posted
I'm currently trying to compile my Dodge Charger model but during the compiling process I'm getting a warning: [code]WARNING: KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/models/1969_dodge_charger/dodge charger black interior.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/models/1969_dodge_charger/dodge charger black interior.vmt WARNING: VertexLitGeneric, WARNING: [/code] Could somebody explain what is happening, it seems to have stopped all the other commands in my .vmt from working (envmap, phong etc).
Post the VMT it's talking about please, then we can see what it's complaining about ^^
[QUOTE=Silver Spirit;18469070]Post the VMT it's talking about please, then we can see what it's complaining about ^^[/QUOTE] [code]"VertexLitGeneric" { "$baseTexture" "models/1969_Dodge_Charger/Charger" "$bumpmap" "models/1969_Dodge_Charger/Charger_norm" "$nocull" "$model" 1 "$envmap" "env_cubemap" "$envmaptint" "[ 0.1 0.1 0.1 ]" "$envmapsaturation" 0.1 "$phong" "1" "$phongboost" "3" "$phongfresnelranges" "[0 0.5 1]" "$phongexponent" 150 } [/code] The really strange part is that I already did an earlier test compile with the model using the same .vmt and it worked fine. Now though every time I compile I get the same message and none of the phong or envmap settings work in the model viewer. I'm beginning to think it may have something to do with the materials or textures I'm using in XSI. I may have botched one of the clusters that gives the windows a different texture. With the previous version of the model I had two textures; one for the body and one for the windows but now for some reason it's not referencing the windows texture and just seems to have forgotten about it even though I'm sure I haven't edited the clusters or the texture paths. I'm going to fiddle around in XSI and see if there is anything I can do there but if someone else has had a similar problem then please tell me how you solved it.
I'm not entirely sure what the problem is that your describing (are the textures not showing, all parts using same/wrong part of the texture or the settings not working? A picture may help), but i'd say try removing these: [code] "$nocull" "$model" 1 [/code] As I see no reason for them to be there.
[QUOTE=Silver Spirit;18493122]I'm not entirely sure what the problem is that your describing (are the textures not showing, all parts using same/wrong part of the texture or the settings not working? A picture may help), but i'd say try removing these: [code] "$nocull" "$model" 1 [/code] As I see no reason for them to be there.[/QUOTE] That seems to have worked, thanks very much! [img]http://img689.imageshack.us/img689/9508/dodgetex1.png[/img] This is what it looked like before: [img]http://img689.imageshack.us/img689/1746/dodgetexold.png[/img]
np :) Thought that might be the problem ^^
Sorry, you need to Log In to post a reply to this thread.