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!

Clockwork Item Skeleton

Discussion in 'Plugins' started by TheDogFather, Jun 17, 2014.

  1. TheDogFather

    TheDogFather Guest

    Code:
    local ITEM = Clockwork.item:New("");
        ITEM.name = "";
        ITEM.cost = ;
        ITEM.model = "";
        ITEM.weight = ;
        ITEM.access = "";
        ITEM.uniqueID = "";
        ITEM.isMeleeWeapon = ;
        ITEM.description = "";
        ITEM.value = ;
        ITEM.spawncategory = ;
        ITEM.isAttachment = true;
        ITEM.loweredOrigin = ;
        ITEM.loweredAngles = ;
        ITEM.attachmentBone = "";
        ITEM.attachmentOffsetAngles = ;
        ITEM.attachmentOffsetVector = ;
    ITEM:Register();
    So, I thought I'd make this skeleton. Have fun. :3
     
  2. kurozael

    kurozael Cloud Sixteen Director Staff Member Administrator Investor

    What about all the functions! :p
     
  3. Here's all the functions.

    Code:
    Clockwork.item:HasSameDataAs
    Clockwork.item:GetBuffer
    Clockwork.item:GetAll
    Clockwork.item:New
    Clockwork.item:Register
    Clockwork.item:CreateCopy
    Clockwork.item:IsWeapon
    Clockwork.item:GetByWeapon
    Clockwork.item:CreateInstance
    Clockwork.item:GenerateID
    Clockwork.item:FindInstance
    Clockwork.item:GetDefinition
    Clockwork.item:GetSignature
    Clockwork.item:FindByID
    Clockwork.item:Merge
    Clockwork.item:Initialize
    Clockwork.item:Use
    Clockwork.item:Drop
    Clockwork.item:Destroy
    Clockwork.item:RemoveItemEntity
    Clockwork.item:AddItemEntity
    Clockwork.item:FindEntityByInstance
    Clockwork.item:SendToPlayer
    Clockwork.item:SendUpdate
    Clockwork.item:GetIconInfo
    Clockwork.item:GetMarkupToolTip
    Code:
    CLASS_TABLE:__call
    CLASS_TABLE:__tostring
    CLASS_TABLE:Override
    CLASS_TABLE:AddData
    CLASS_TABLE:RemoveData
    CLASS_TABLE:IsInstance
    CLASS_TABLE:AddQueryProxy
    CLASS_TABLE:RemoveQueryProxy
    CLASS_TABLE:IsBasedFrom
    CLASS_TABLE:GetBaseClass
    CLASS_TABLE:CanBeOrdered
    CLASS_TABLE:GetData
    CLASS_TABLE:IsTheSameAs
    CLASS_TABLE:IsDataNetworked
    CLASS_TABLE:Register
    CLASS_TABLE:SetData
    CLASS_TABLE:NetworkData
    CLASS_TABLE:SubmitOption
    EDIT: Realized this probably isn't what you meant by "the functions" but anyways.
     
  4. This gives me an idea for a program. (VBSCRIPT or C++ time...)

    An item generator, for those lazy server owners who don't know how to code! :O

    If anyone wants to help me with it, hit me up on steam. (Make sure you have Visual Studio, unless you code with Notepad because gg)
     
  5. TheHipster

    TheHipster rhenz is a fairly decent fellow

    We can post skeletons now? Can I post the faction skeleton like I do as well as the other skeletons here? Just completely fill it up with code.
     
  6. -snip-

    Holy shit I'm stupid.
     
  7. TheDogFather

    TheDogFather Guest

    Someone sticky the skeletons. :)
     
  8. EMP

    EMP

    Or merge them into one thread so there aren't a ton of skeleton threads. Or a better option add them to the wiki.
     
  9. Which is broken.
     
  10. Can you explain every line? Like translate.
    Thanks
     
  11. prizonerzr0

    prizonerzr0 Clockwork Customer

    Did you ever complete this?
     
  12. No, I haven't had a chance to start working on it yet, been extremely busy with FG.

    I'll start on it eventually.
     
  13. prizonerzr0

    prizonerzr0 Clockwork Customer

     
  14. I would pay for this, not because I'm lazy (I am though), but because that's super handy when I want to make tonnes of items.
     

Previous Readers (Total: 0)