• How do I go about changing a model for an entity?
    8 replies, posted
Ive got three .lua files in the folder: shared.lua init.lua cl_init.lua Which would normally contain the model for the object, and how do I change it?
[b][url=wiki.garrysmod.com/?title=Entity.SetModel]Entity.SetModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] in [b][url=wiki.garrysmod.com/?title=ENT.Initialize]ENT.Initialize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] on [img]http://wiki.garrysmod.com/images/9/9f/NewerServer.png[/img] (init.lua)
Generally it's in init.lua but it's worth having a look around all of them. Simply look for a string that ends in .mdl, that's a model name. Simply replace it with the path to your new model. Note what the root of the path is. [editline]12:49PM[/editline] @ MakeR Pretty sexy way to put it.
NVM Sorry, didn't see that post crazy.
[QUOTE=Crazy Quebec;20269550]Pretty sexy way to put it.[/QUOTE] I thought so too :smile:
Now to find the props folder. Thanks guys. ;D
[QUOTE=My_Ass_Is_Grass;20269636]Now to find the props folder.[/QUOTE] There is no props folder.
Wherever the models are.
You can get them in game in the spawn menu, just right click on the spawn icon of the model you want and click copy to clipboard.
Sorry, you need to Log In to post a reply to this thread.