joeyslucky22

Member
  • Content count

    3
  • Joined

  • Last visited

About joeyslucky22

  • Rank
    Freshling

Contact Methods

  • Website URL
    http://joe-horan.com
  • Twitter
    @JoeysLucky22

Profile Information

  • Gender
    Man

Recent Profile Visitors

113 profile views
  1. Sleeping Bags! (Need some help with implementation)

    Ahhh right. Now I remember something about custom tiles only working when added to newtilesdefinition.tiles My guess is that since each tile has a unique GID, they need to be added to the current tileset as to not overwrite any existing tiles. *sigh* So a new tileset mod will only work if no other mods with a custom tileset are installed? If that's the case, that kind of sucks
  2. Sleeping Bags! (Need some help with implementation)

    Oh yeah, I've been digging around in the LUAs the last couple days and am just trying to wrap my head around how tents work or how I would implement a custom script without butchering the original. The files I found to contain tent behaviors were: ..\ProjectZomboid\media\scripts\camping.txt ..\ProjectZomboid\media\lua\server\Camping\camping.lua ..\ProjectZomboid\media\lua\server\Camping\BuildingObjects\campingTent.lua ..\ProjectZomboid\media\lua\client\Camping in the campingTent.lua I see where it's referencing a sprite (o:setNorthSprite("TileIndieStoneTentFrontLeft")) but I haven't got a clue on how to call a custom sprite. I'm not even sure how any of these scripts are called to begin with. If I were to make a new "sleepingbags.lua" script, how would I call those scripts in-game? Thanks for the tip on RoboMat's mod EnigmaGrey! Their LUAs seem to only be in the /shared folder. Would I need any scripts in there? I'm not sure this is what I was looking for to help get me started. I'm a real novice when it comes to scripting so it's difficult for me to figure out what's exactly needed or where to even start but any other help to point me in the right direction would be greatly appreciated!
  3. From my post on reddit: I just couldn't wait any longer so I made a few in blender + photoshop and put together the tileset in TileZed. I'm not a complete inept n00b when it comes to coding, I've got the basics down, but after 4 hours of attempting to get my mod working, I threw in the towel. If anyone here is capable or interested in modding sleeping bags into PZ, here are my source files (Tileset / Icons / TileZed building / Blender Files): http://joeflashedme.com/pz/JoeysLucky22_SleepingBags.zip Feel free to use them however and wherever you wish. The two sleeping bags with spiffio on them have a drawing from the PZ artist so don't use those if you plan on using these in any other unrelated projects. Anyways, here is what I was trying to do: Build & pack a sleeping bag as you would a tentCraft a sleeping bag with: recipe Make Sleeping Bag Kit {Pillow, Sheet, RippedSheets = 10, Result:SleepingBagKit, Time:50.0, } I was looking through the camping LUAs and tried to replicate tents but failed miserably. If anyone does manage to get these working properly in game, my hats off to you! Let me know too because I just want to have sleeping bags in PZ already!