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!

Built-In Crafting System Blueprint Question

Discussion in 'Discussion' started by JrLemonsHD, Jul 10, 2016.

  1. JrLemonsHD

    JrLemonsHD Clockwork Customer

    I'm trying to figure out how to add new blueprints to the built-in crafting system, I've looked around but being the scrub I am, I found nothing. I'd really like it if I could get an example on how to add one if possible. I'm speaking of this crafting system, the one that is enabled throught the config settings in the system tab.

    [​IMG]

    If someone could give me an example plugin that would add a blueprint to that menu or if thats not possible link me a guide to making a blueprint I'd greatly appreciate it!

    -Thanks so much! <3 JrLemonsHD
     
    Last edited: Jul 10, 2016
  2. RJ

    RJ no pay Legend Clockwork Customer

    • Friendly Friendly x 1
  3. JrLemonsHD

    JrLemonsHD Clockwork Customer

    Thanks very much RJ. I'm still pretty new to all of this stuff, and I spent a day digging around. Seems I just over looked your plugin example. Going to attempt and combine this with the weapons durability to create a form of stable and fun rebel or gang roleplay :D
     
    Last edited: Jul 10, 2016
  4. Claude

    Claude Clockwork Customer

    Hello,

    Sorry for necroposting, but I'm trying to use RJ's plugin and instructions, but no matter how hard I try adding blueprint requirements and so on, all I get is lua error spamming when I get ingame...

    I use Clockwork 0.96.2 , am I doing something wrong? Is it no longer compatible? I checked over and over again, I followed the instructions letter per letter, and still no luck.

    The error spam being :

    Code:
     unknown - gamemodes/clockwork/framework/derma/cl_crafting.lua:147  7. GetMarkupToolTip - gamemodes/clockwork/framework/libraries/sh_crafting.lua:620  6. FormatRequirements - gamemodes/clockwork/framework/libraries/sh_crafting.lua:395  5. CheckFormatRequirements - gamemodes/clockwork/framework/libraries/sh_crafting.lua:281  4. HasItemCountByID - gamemodes/clockwork/framework/libraries/sh_inventory.lua:194  3. GetItemCountByID - gamemodes/clockwork/framework/libraries/sh_inventory.lua:175  2. __index - lua/includes/extensions/string.lua:310  1. error - [C]:-1[ERROR] gamemodes/clockwork/framework/libraries/sh_inventory.lua:175: attempt to index a string value with bad key ('bs_cs_g3sg1' is not part of the string library) 
    Does this have todo with the format it uses? ... I don't know.
    After investigating, it appears I have errors if I put anything else than "1" , in ["beer"] = 2, for instance.
    Thanks in advance...
     
    • Agree Agree x 2
    Last edited: Sep 5, 2016

Previous Readers (Total: 0)