• Desert Eagle 357 World Models Error
    8 replies, posted
Can someone help me out? The 357 World Model I made for IIopon's deagle are messed up. [img]http://img97.imageshack.us/img97/9030/render05q.jpg[/img]
So you mean it's clipping with the surface? Use that command: [code] $collisionmodel "modelname.smd" { $concave $mass 0.2 $inertia 1.00 $damping 0.00 $rotdamping 0.00 [/code] You can customize that values. I am just using it for my models. Also, you can make your own collision model and save it as, for example, "phys.smd" and use this model as collision model. And if I didn't understand - try to better describe your problem.
[QUOTE=Trek;30683992]So you mean it's clipping with the surface? Use that command: [code] $collisionmodel "modelname.smd" { $concave $mass 0.2 $inertia 1.00 $damping 0.00 $rotdamping 0.00 [/code] You can customize that values. I am just using it for my models. Also, you can make your own collision model and save it as, for example, "phys.smd" and use this model as collision model. And if I didn't understand - try to better describe your problem.[/QUOTE] Thank you for your help. But where in the ref.smd do I put this code?
[QUOTE=12345memeber;30684291]Thank you for your help. But where in the ref.smd do I put this code?[/QUOTE] You put it at the end of your .QC code. Not the SMD itself.
[QUOTE=Code Shooter;30684393]You put it at the end of your .QC code. Not the SMD itself.[/QUOTE] Inserted. Now it gives me this huge list of errors. And the gun is now invisible. WARNING: Model has 2-dimensional geometry (les•14K}Y@s than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! EDIT: And the gun is now invisible. The gun itself can be seen on npcs but once they die, the gun goes with them.
[QUOTE=12345memeber;30684433]Inserted. Now it gives me this huge list of errors. And the gun is now invisible. WARNING: Model has 2-dimensional geometry (les•14K}Y@s than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! EDIT: And the gun is now invisible. The gun itself can be seen on npcs but once they die, the gun goes with them.[/QUOTE] If you just pasted in the above code, it looks like it missed a brace. Try this instead: [code] $collisionmodel "modelname.smd" { $mass 10.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/code]
[QUOTE=Code Shooter;30684804]If you just pasted in the above code, it looks like it missed a brace. Try this instead: [code] $collisionmodel "modelname.smd" $mass 10.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }[/code][/QUOTE] Still invisible.
Dunno if this helps, but when I compile it normally I get this: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/frame.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/frame.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/front.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/front.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/grip.vmt WARNING: VertexLitGeneric, WARNING: WARNING: KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/weapons/v_models/vashts deagle/grip.vmt WARNING: VertexLitGeneric, WARNING:
[QUOTE=12345memeber;30683416]Can someone help me out? The 357 World Model I made for IIopon's deagle are messed up. [img]http://img97.imageshack.us/img97/9030/render05q.jpg[/img][/QUOTE] Hi I have a question, How did you get the world model to even work in garrysmod because when I put any world model for the 357, Gmod just uses the default 357 skin.
Sorry, you need to Log In to post a reply to this thread.