Jump to content

Moleon

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Moleon

  1. Moleon

    Gundoid

    This is awesome!!! i cant wait! But one question... We'll gonna see the chainsaws in a near future? I really love the chainsaws and i can't wait to use them to kill everything! PD: Im going to call my chainsaw "Draven"
  2. Hola compañero, yo también hablo español ;)

  3. Howdy! At my last post I ask help to create a mod items. Now, i can create any item that i want! But I have a problem, doesn't matter how many items I put, Only one Spawn; The first that I put: require 'Items/SuburbsDistributions' -- table.insert(SuburbsDistributions["all"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["all"]["fridge"].items, 10); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["counter"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["counter"].items, 10); table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["shelves"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["bar"]["shelves"].items, 10); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, "Cerveza.Amstel"); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, 10); -- table.insert(SuburbsDistributions["all"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["all"]["fridge"].items, 10); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["counter"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["counter"].items, 10); table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["fridge"].items, 10); table.insert(SuburbsDistributions["bar"]["shelves"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["bar"]["shelves"].items, 10); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, "Cerveza.Beelzebub"); table.insert(SuburbsDistributions["kitchen"]["fridge"].items, 10); I try put together, but only the first item appears naturally. I can spawn all the items of the mod on my inventary. And with many test I see that the only affect on my mod is this code. Someone can tell me something? Thank you very much!
  4. Hi Svarog!

    I've done  a few items, and i can spawn on my inventory and they work correctly.

     

    I only need the last step:

     

    I dont know how can i configure that they spawn of natural form.

     

    In mymod/lua/server/items i have this archive: MymodDistribution

     

    And, for example, for the Amstel Beer i have this code:

    require 'Items/SuburbsDistributions'
    /*************Cerveza*************/
    table.insert(SuburbsDistributions["all"]["fridge"].items, "Cervezas.Amstel");
    table.insert(SuburbsDistributions["all"]["fridge"].items, 3);
    table.insert(SuburbsDistributions["gasstore"]["fridge"].items, "Cervezas.Amstel");
    table.insert(SuburbsDistributions["gasstore"]["fridge"].items, 3);
    table.insert(SuburbsDistributions["bar"]["counter"].items, "Cervezas.Amstel");
    table.insert(SuburbsDistributions["bar"]["counter"].items, 3);
    table.insert(SuburbsDistributions["bar"]["fridge"].items, "Cervezas.Amstel");
    table.insert(SuburbsDistributions["bar"]["fridge"].items, 3);
    table.insert(SuburbsDistributions["kitchen"]["counter"].items, "Cervezas.Amstel");
    table.insert(SuburbsDistributions["kitchen"]["counter"].items, 3);

     

    can you help me please? i really want to do my first mod! :)

    1. Show previous comments  2 more
    2. Svarog

      Svarog

      If you want to comment something in lua don't do it like this

      /Something

       

      To make a line into a comment you need to use -- when a line starts with -- everything that comes after -- will be ignored.

      --Something


      The /*******Something*********/ lines break your code.

    3. Moleon

      Moleon

      Ok, i really desperate.

       

      I only try with one object, and the result is always the same. I spawn in the same place and tho mod didnt work.

       

      Please, can you check it and say to me something?

      I dont know what else to try :/

       

      Seroiously, i am desperate

      My mod.rar

    4. Moleon

      Moleon

      Finaly i did it!!!!

       

      Thank you so much Svarog! Serously, without you I would never have created my mod.

       

      I'll put your name in my credits mod as a sign of gratitude.
       

      Thank you very much!!! :D

  5. Moleon

    How i can start?

    Hi again Svarog! I have been seeing your littering mod, and now i try this: In "ProjectZomboid\mods\Mymod\media\scripts" Cervezas.txt -> "ProjectZomboid\mods\Mymod\media\lua\server\items" MymodDistribution.txt "ProjectZomboid\mods\Mymod\media\lua\client" EdiblesNecroForgePlugIn.txt -> And the mod file: Can you tell me waht i do wrong? Thank you very much!
  6. Moleon

    How i can start?

    Thank you so much Svarog!!! I'm gonna try this weekend to do something and i'll tell you my progress. I really want to contribute with something to the community, because i really love this game!
  7. Moleon

    How i can start?

    Howdy! I really want to make some mods, like a manga books, anime cds and more freak items. I dont know how i can start... where i can learn how the code works? What is the name of the programming lenguage? i really want to know the first step that i have to do. In the future i really want to contribute to the hydrocraft! Thank you very much!
  8. I registered in the forum for only one pourpose: I FEEL THE BUILD 33 or I hope so... :< PD: I need a new F5
×
×
  • Create New...