1. and I can't really call them African-Americans because they're in South Africans, but they'd really like to be black in Rust. I know your skin color is chosen based off your Steam ID, and that Garry has no intention of allowing you to choose it for yourself. I was just wondering if there would be an easy way to spoof a player's Steam ID to give them the skin color of their choice, or any other way would be fine too. ^.^
     
  2. anyone can make a plugin to change skin color and face?
    thx :)
     
  3. I'll try it. but since I'm testing the plugin through screen sharing on Skype - would not be very quickly.
     
  4. Well at least, there should be the possibility. Garry talked about the possibility once.
     
    Last edited by a moderator: Jun 20, 2015
  5. Code:
    public class PlayerModelSkin : MonoBehaviour
    {
    public MaterialList materialList;
    public MeshList headMeshList;
    public SkinnedMeshRenderer targetMeshRenderer;public void Setup(float materialNum, float meshNum)
      {
    foreach (SkinnedMeshRenderer skinnedMeshRenderer in this.GetComponentsInChildren<SkinnedMeshRenderer>(true))
        {
    Material[] sharedMaterials = skinnedMeshRenderer.sharedMaterials;
    sharedMaterials[0] = this.materialList.GetMaterial(materialNum);
    skinnedMeshRenderer.sharedMaterials = sharedMaterials;
        }
    if (!(bool) ((Object) this.targetMeshRenderer))
    return;
    SkinnedMeshRenderer skinnedMesh = this.headMeshList.GetSkinnedMesh(meshNum);
    this.targetMeshRenderer.sharedMesh = skinnedMesh.sharedMesh;
    this.targetMeshRenderer.bones = skinnedMesh.bones;
      }
    }
    with this, it is possible, I think.
     
  6. seems legit
     
  7. Wulf

    Wulf Community Admin

    Garry actually said no last I saw.
     
  8. Last time when i tried to code this i got working skit/ face changes, but they work only for admin (via chat commands), and somewhy didn't applies to normal players at all, if give player admin access it started work, so probably there is some restriction client-side.
     
  9. I can throw the code that you used? I'll see, maybe something will come up.
     
  10. i think it should be possible to spoof the value from dark skin to white
     
  11. Wulf

    Wulf Community Admin

    It's all handled client-side based on a user's steamid. The only way you change it is by changing the steamid, but that causes issues.