• Turn ragdoll into player model.
    4 replies, posted
Is there anyway I cane use a ragdoll for a player model for a darkrp job with out it doing any weird poses or not working group correctly?
There's no code behind this, you have to rig the model with a modeling software, most of case if you don't have any experience, i highly recommend you to find someone on workshop that does this kind of job, but be aware, most of people won't make it for free (It takes several hours to rig a model correctly)
:snip: I forgot about the animations being needed- you'll probably have to recompile it with m_anm or f_anm as the animations
[QUOTE=MPan1;50631163]Well, most ragdolls are already rigged- they need to be for their physics objects to move. The only thing is that they might not work if their bone names are wrong or their weights are stuffed up. If they're not too stuffed up then this might work: [CODE] list.Set( "PlayerOptionsModel", "What you want it to be called", "model/path.mdl" ) player_manager.AddValidModel( "What you want it to be called", "model/path.mdl" ) [/CODE] Just replace 'What you want it to be called' with what you want the model to be displayed as, and the path with the actual model path. [editline]2nd July 2016[/editline] Dammit, I didn't notice you wanted it for DarkRP. Since I still have no clue how DarkRP works, the thing above probably doesn't work with it[/QUOTE] You haven't needed the list.Set for years (thank for teaching me that Robotboy).
[QUOTE=MPan1;50631163]Well, most ragdolls are already rigged- they need to be for their physics objects to move. The only thing is that they might not work if their bone names are wrong or their weights are stuffed up. If they're not too stuffed up then this might work: [CODE] -- list.Set( "PlayerOptionsModel", "What you want it to be called", "model/path.mdl" ) -- apparently not needed, but pretty much every addon on the workshop uses it player_manager.AddValidModel( "What you want it to be called", "model/path.mdl" ) [/CODE] Just replace 'What you want it to be called' with what you want the model to be displayed as, and the path with the actual model path. [editline]2nd July 2016[/editline] Dammit, I didn't notice you wanted it for DarkRP. Since I still have no clue how DarkRP works, the thing above probably doesn't work with it[/QUOTE] No, ragdoll != playermodel If your model has different bones names and don't have players animations attached, you can't use it as playermodel (T Pose)
Sorry, you need to Log In to post a reply to this thread.