Jump to content

eaglescout666

Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by eaglescout666

  1. hello, im trying to make a mod for a trauma kit, but it needs items to spawn within. problem its, the do not. i have no clue what is going on. the first part goes like this, and works fine

    -- LargeTraumaBagtable.insert(SuburbsDistributions["pharmacy"]["shelves"].items, "TRAUMAKIT.LargeTraumaBag");table.insert(SuburbsDistributions["pharmacy"]["shelves"].items, 3);table.insert(SuburbsDistributions["all"]["crate"].items, "TRAUMAKIT.LargeTraumaBag");table.insert(SuburbsDistributions["all"]["crate"].items, 3);table.insert(SuburbsDistributions["policestorage"]["metal_shelves"].items, "TRAUMAKIT.LargeTraumaBag");table.insert(SuburbsDistributions["policestorage"]["metal_shelves"].items, 4);table.insert(SuburbsDistributions["gunstore"]["locker"].items, "TRAUMAKIT.LargeTraumaBag");table.insert(SuburbsDistributions["gunstore"]["locker"].items, 2);

    then THIS part keeps screwing everything up

    ------------------------------------------------------------------------- Add Items To EMT Bag-----------------------------------------------------------------------function TRAUMAKIT (return true)if(function(TRAUMAKIT)==true){}thenwhile true dofor LargeTraumaBag, if item ipairs (table [medSuppliesTable]) then if container:getType() == "LargeTraumaBag" thenplayer:getCurrentSquare():AddWorldInventoryItem(item, 0.0, 0.0, 0.0);else{container:AddItem(Base.Bandaid = 100and AddItem Base.AlcoholBandage = 100and AddItem Base.Disinfectant = 100and AddItem Base.AlcoholWipes = 100and AddItem Base.SutureNeedle = 75and AddItem Base.SutureNeedleHolder = 75and AddItem Base.PillsBeta = 50and AddItem Base.PillsAntiDep = 50and AddItem Base.PillsSleepingTablets = 50and AddItem Base.Splint = 11)};};};};};endend-- -------------------------------------------------- Game hooks-- ------------------------------------------------Events.OnGameBoot.Add(TRAUMAKIT.init);print("TRAUMAKIT: SuburbsDistributions added. ");

    any adivce or help in figuring out whats going on is greatly apreciated

     

    btw item table is as follows:

     

    table = medSuppliesTable {"Base.Bandaid","Base.AlcoholBandage","Base.Disinfectant","Base.AlcoholWipes","Base.SutureNeedle","Base.SutureNeedleHolder","Base.PillsBeta","Base.PillsAntiDep","Base.PillsSleepingTablets","Base.Splint"};

    i just nedd help getting items to spawn in bag. i don't know what is issue

     

    many thanks

     

  2. yes its a mod, and what i am asking is how do i make it to not require a frameless alice PLUS a framed alice to remove a frame from the framed one., instead, i need to make it so it just needs a framed one to result in a separate frame and frameless alice as the result. 

     

    sorry if i sound cranky. been fixing the bugger all day.

  3.  
    for some odd reason, with these recipes, in game, it requires a medium alice with frame and without frame to take frame off medium with frame and...well, screenshots should be less confusing:
     
     
    code is below:
    module ALICE
    {
        recipe Add Frame to Medium ALICE Pack
        {
    MALICEWITHOUTFRAME,
    ALICEFRAME,
     
    Result: MALICEWITHFRAME,
    Sound:PZ_Hammer,
    Time:150.0,
    Category:Carpentry,
        }
        recipe Remove Frame from Medium ALICE Pack
        {
    MALICEWITHFRAME,
     
    Result: ALICEFRAME,MALICEWITHOUTFRAME,
    Sound:PZ_Hammer,
    Time:150.0,
    Category:Carpentry,
        }
        recipe Add Frame to Large ALICE pack
        {
    LALICEWITHOUTFRAME,
    ALICEFRAME,
     
    Result: LALICEWITHFRAME,
    Sound:PZ_Hammer,
    Time:150.0,
    Category:Carpentry,
        }
        recipe Remove Frame from Large ALICE Pack
        {
    LALICEWITHFRAME,
     
    Result: ALICEFRAME,LALICEWITHOUTFRAME,
    Sound:PZ_Hammer,
    Time:150.0,
    Category:Carpentry,
        }
    }

     

     

     
     
     
    what exactly is causing it to need both a framed and unframed to remove a frame i wonder?
     
    any help would be very appreciated!

    post-17207-0-81278000-1444659688_thumb.j

    post-17207-0-38655900-1444659693_thumb.j

  4. Steam name: begginfokillz


    In-Game name: Eagle Scout


    Job: medic/scavenger


    Longest Time Survived (dd/hrs): 17days 3 hours


    Gender: male


    Town of Residence: west point


    Why should you get picked?: i love being the local "heal bitch" in any game involving medical systems. i will lvl the doctor skill as much as i can, and patch you guys up as much as possible. i also know how to prioritize what gear is needed when looting, and going for that over other stuff.


     


    Location: (US East, US West, EUR, EU, EU West, EU East, RU, etc.) us east


    Main Server: (You main server you are always on): none. have not done public mp in a loooong time.


  5. hello all, i was wondering if there is a way to edit my save file so that i can copy paste my fort i built in game? this is not a building made in tilezed or a map editor: im talking about my fort i put blood, sweat, and many many nails into. i was hoping to be able to copy the building or cell, then paste it into a new save or a file or something for future use.

     

    is this possible?

     

    also, i apologize if this question was previously answered. i googled this, and could not find anything. any help is GREATLY appreciated.

     

     

×
×
  • Create New...