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!

Other Savvyge Plugins

Discussion in 'Plugins' started by Savvyge Investments, Jun 18, 2019.

  1. Savvyge Investments

    Savvyge Investments Clockwork Customer

    Multiple Use Item Base
    While this isn't much of a plugin, you can download the Item base and edit it into countless items that have limited contents.


    Required Addons for Models Shown in Video - https://steamcommunity.com/sharedfiles/filedetails/?id=593929594

    https://drive.google.com/open?id=1sy0mi5X9coRNgPS838aZhRi9UDUpPsP3


    Detective style characters might find this Item Base interesting, as lazy people might just throw a certain brand of cigarette butt near the crime scene. Code multiple brand of packs.

    This Plugin currently uses strings from Primary Needs - http://forums.cloudsixteen.com/threads/clockwork-primary-needs-v1-1.1124/


    You may remove these strings as they are not necessary without Primary Needs.
    ITEM.thirst
    ITEM.hunger
    ITEM.sleep

    To make them into new items, just follow the strings containing the name of the items. It is very simple. Ask if you need help.​
     
    • Like Like x 1
    Last edited: Jun 18, 2019
  2. Savvyge Investments

    Savvyge Investments Clockwork Customer

    Voice Command Items Base
    Another rudimentary plugin.
    This allows you to attach any Half-Life 2 Sound to the item base provided, and on use, will play around the client using it.
    It has many uses, please use your imagination.

    These items do replace themselves into your inventory. This is easily abused and must be moderated by Administration.



    https://drive.google.com/open?id=1Rrm0uMy-LAD-MhE7whaYXT7HinRBArtr

    This would be very handy and neat to have during lockdowns or scopeouts. We all know we want to shout 'CP's!.'
    However remember to no spam these. It shows in the console what and when they are used and in conjunction with IC chat.

    "
    Shento Bazari has used '/InvAction use word_to_the_wise_keep_it_to_yourself 1560845000.00'."



     
    Last edited: Jun 18, 2019
  3. BurningMadness

    BurningMadness Clockwork Customer

    This is indeed quite interessing, but very basic, extremly basic, no one is gonna remake an item five times, exept me and you, because i was a dumb igniorant.

    I suggest you use Item.AddData instead of recreating the item multiples times
    ITEM:AddData("useremaining", 1, true);

    then in "Use"
    local useremaining = self:GetData("useremaining");
    if (useremaining > 1) then
    self:SetData("useremaining", useremaining - 1);

    return false
    elseif (useremaining == 1) then
    end;


    and for the visual, like how many cigs left
    function ITEM:GetClientSideInfo()
    if (!self:IsInstance()) then return; end;
    local clientSideInfo = "";
    local useremaining = self:GetData("useremaining");
    if (useremaining > 1) and (useremaining < X) then
    clientSideInfo = Clockwork.kernel:AddMarkupLine(clientSideInfo, math.floor(useremaining).." X left");
    elseif (useremaining == X) then
    clientSideInfo = Clockwork.kernel:AddMarkupLine(clientSideInfo, "Not opened yet");
    return (clientSideInfo != "" and clientSideInfo);
    end;

    And here you go, probably save you about one billion extra files and a ton of headache
     
    • Agree Agree x 2
    • Good Coder Good Coder x 1
  4. Savvyge Investments

    Savvyge Investments Clockwork Customer

    Thanks lad yeah my shit is super ghetto and myself an ignoramus.
     
    • Friendly Friendly x 1
  5. can you fix his plugin?
     
  6. Savvyge Investments

    Savvyge Investments Clockwork Customer

    Which one?
     
  7. Multiple Use Item Base <- This one can you?
     
  8. Savvyge Investments

    Savvyge Investments Clockwork Customer

    Ohh you must be using 1.3 for this Plugin is built on 1.08.
    I will go about strining one for 1.3.
     
  9. Sloth_

    Sloth_ Runs a shitty Hl2rp community Legend Clockwork Customer

    I want your vending machine
     
    • Like Like x 1
  10. Aspect

    Aspect =) Legend Clockwork Customer

    It's a salesman.
     
  11. Sloth_

    Sloth_ Runs a shitty Hl2rp community Legend Clockwork Customer

    I just want the model bby
     
  12. Aspect

    Aspect =) Legend Clockwork Customer

    a
     
  13. Sloth_

    Sloth_ Runs a shitty Hl2rp community Legend Clockwork Customer

    Do you have the model perhaps?
     
  14. Aspect

    Aspect =) Legend Clockwork Customer

    Nah, unfortunately I don't. @Savvyge Investments probably does though.
     
  15. dead flag blues

    dead flag blues "...ours is a world of nuclear giants..." Clockwork Customer

    Pretty sure that's from gStrings.
     
  16. Savvyge Investments

    Savvyge Investments Clockwork Customer

    I can link the Content Pack I used seen in this showcase.
     
  17. Sloth_

    Sloth_ Runs a shitty Hl2rp community Legend Clockwork Customer

    Would appreciate that haha
     
  18. Savvyge Investments

    Savvyge Investments Clockwork Customer

Previous Readers (Total: 0)