• Custom world model
    8 replies, posted
Guys, i was making my script for my rp server BUT i got one trouble. The world model doesnt show up, however it is downloading and written in the swep config. Now i think that my worldmodel doesnt actually show up, guess it is somewhere in the torso of the player. I tried making custom world model with all these angles and vector but it didnt work. Do you have any ideas what can i try? https://files.facepunch.com/forum/upload/149560/a88ebcac-fbe4-4549-a641-66a9aa8dbcf9/image.png SWEP.CustomWorldModel = { Model = SWEP.WorldModel, Bone = "ValveBiped.Bip01_R_Hand", Offset = Vector(-.5, 8, -4.3), OffsetA = Angle(175, 90, 0) }
The thing is stuck in my ass, my config doesnt actually change things, help! https://files.facepunch.com/forum/upload/149560/ccd7afcc-6aa6-4492-b5a3-1cb489bad9fd/image.png
SWEP.CustomWorldModel is not a part of Garry's Mod by default, so it will not do anything unless you install the addon that makes use of SWEP.CustomWorldModel and base your weapon off of whatever base the addon provides. Or compile the model properly so you don't have to do this.
Wait, what do you mean by saying: compile the model properly so you don't have to do this.
Check the path of SWEP.WorldModel, try to spawn that model as a prop
The gun model is bonemerged to the player model. bone MERGED. If you put a bone with a proper name (of a bone that exists on the player model) into the gun model and attach (by skinning) the model to the bone, the gun will automatically be in the player's hand. The bone name usually used is ValveBiped.Bip01_R_Hand (case sensitive)
Thank you!
Blender, naturally.
Thank you VERY VERY MUCH
Sorry, you need to Log In to post a reply to this thread.