• Is there any way to get all models/materials/sounds needed for a weapon?
    2 replies, posted
Hello, is there any way to automatically detect which files (materials, models, sounds, etc) are needed for one weapon, by just giving the weapon models name or the swep file? Regards, Pascal
For materials: [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/GetMaterials]Entity:GetMaterials[/url] For models/sounds you should decompile the main .mdl file and it should reference any other models or sounds. [url]https://developer.valvesoftware.com/wiki/Crowbar[/url]
Thanks, that helped me. :)
Sorry, you need to Log In to post a reply to this thread.