1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Need help with Models

Discussion in 'Discussion' started by Cpt. Max, Aug 18, 2013.

  1. Cpt. Max

    Cpt. Max Loading creativity for a title... Clockwork Customer

    Hello all, I need some help with Models.

    I am starting a server with a bunch of cool Factions like the New York Police Department, Mafia and a bunch of normal Citizen models. But sometimes they start T-posing, I was unable to find a guide on this. Please help!

    I also am trying to get the Glock into Clockwork from M9K, but it doesn't work. This is what I have done:

    File sh_m9k_glock.lua

    --[[
    ? 2013 CloudSixteen.com do not share, re-distribute or modify
    without permission of its author ([email protected]).
    --]]

    local ITEM = Clockwork.item:New("weapon_base");
    ITEM.name = "Glock";
    ITEM.cost = 100;
    ITEM.model = "models/weapons/w_dmg_glock.mdl";
    ITEM.weight = 2;
    ITEM.access = "V";
    ITEM.classes = {CLASS_EMP, CLASS_EOW};
    ITEM.uniqueID = "weapon_m9k_glock";
    ITEM.business = true;
    ITEM.description = "A small glock with a long magazine";
    ITEM.isAttachment = true;
    ITEM.loweredOrigin = Vector(3, 0, -4);
    ITEM.loweredAngles = Angle(0, 45, 0);
    ITEM.attachmentBone = "ValveBiped.Bip01_Pelvis";
    ITEM.attachmentOffsetAngles = Angle(0, 0, 90);
    ITEM.attachmentOffsetVector = Vector(0, 4, -8);
    ITEM:Register();

    --------------------------------------------------------------------------------

    File sh_ammo_glock.lua :

    --[[
    ? 2013 CloudSixteen.com do not share, re-distribute or modify
    without permission of its author ([email protected]).
    --]]

    local ITEM = Clockwork.item:New("ammo_base");
    ITEM.name = "9MM Glock bullets";
    ITEM.cost = 20;
    ITEM.classes = {CLASS_EMP, CLASS_EOW};
    ITEM.model = "models/items/boxsrounds.mdl";
    ITEM.weight = 1;
    ITEM.access = "V";
    ITEM.uniqueID = "ammo_glock";
    ITEM.business = true;
    ITEM.ammoClass = "pistol";
    ITEM.ammoAmount = 20;
    ITEM.description = "A container filled with bullets and 9mm printed on the side.";
     
  2. trurascalz

    trurascalz C16 Developer Legend

    use [ code= lua ] (without the spaces )tags and some models don't have the animations for certain things thus the T pose make sure they are player models aswell
     
  3. Cpt. Max

    Cpt. Max Loading creativity for a title... Clockwork Customer

    What do you mean with
    Code:
     ? I don't get it :L
     
  4. Kezter

    Kezter Certified Old Fag

    He means to do this

    Code:
    COPY AND PASTE YOUR CODE INTO HERE
     
  5. Cpt. Max

    Cpt. Max Loading creativity for a title... Clockwork Customer

    Code:
     --[[
            ? 2013 CloudSixteen.com do not share, re-distribute or modify
            without permission of its author ([email protected]).
    --]]
     
    local ITEM = Clockwork.item:New("weapon_base");
            ITEM.name = "Glock";
            ITEM.cost = 100;
            ITEM.model = "models/weapons/w_dmg_glock.mdl";
            ITEM.weight = 2;
            ITEM.access = "V";
            ITEM.classes = {CLASS_EMP, CLASS_EOW};
            ITEM.uniqueID = "weapon_m9k_glock";
            ITEM.business = true;
            ITEM.description = "A small glock with a long magazine";
            ITEM.isAttachment = true;
            ITEM.loweredOrigin = Vector(3, 0, -4);
            ITEM.loweredAngles = Angle(0, 45, 0);
            ITEM.attachmentBone = "ValveBiped.Bip01_Pelvis";
            ITEM.attachmentOffsetAngles = Angle(0, 0, 90);
            ITEM.attachmentOffsetVector = Vector(0, 4, -8);
    ITEM:Register();
     
  6. Cpt. Max

    Cpt. Max Loading creativity for a title... Clockwork Customer

    Code:
    --[[
            ? 2013 CloudSixteen.com do not share, re-distribute or modify
            without permission of its author ([email protected]).
    --]]
     
    local ITEM = Clockwork.item:New("ammo_base");
            ITEM.name = "9MM Glock bullets";
            ITEM.cost = 20;
            ITEM.classes = {CLASS_EMP, CLASS_EOW};
            ITEM.model = "models/items/boxsrounds.mdl";
            ITEM.weight = 1;
            ITEM.access = "V";
            ITEM.uniqueID = "ammo_glock";
            ITEM.business = true;
            ITEM.ammoClass = "pistol";
            ITEM.ammoAmount = 20;
            ITEM.description = "A container filled with bullets and 9mm printed on the side.";
     
  7. trurascalz

    trurascalz C16 Developer Legend

    Now i suggest you edit your original post and not doublepost
     

Previous Readers (Total: 0)