Jump to content

Search the Community

Showing results for tags 'sheet'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 6 results

  1. Ive never made a mod or coded in Lua before, but Ive been learning and searching a lot about it in the last month just so I can make a mod for PZ Im trying to make a new barricade. Warning: Im very very lost on what Im doing. I dont have any personal reference if Im going the wrong way or the right way. My biggest challenge has been knowing what Im suppose to look for and what I doing in general. Its like I have a chicken in my hands, but I dont know how to prepare it or ow the majority of the tools needed to prepare it ARE and are used for. Initially I tried to use the "Sheet" lua and txt files to make it, since this barricade has no health and is more just to cover the window, but either I didnt do it right (very likely) or its harder than what I am currently capable of doing. My new approach was to use the "Metal Sheet" lua and txt files, since it seemed easier and more in accordance to what my item is meant to work. However, Im having difficulty understanding what Im meant to change in the ClientCommands.lua file. I know the obvious, which is replacing Base.ShetMetal with my new item's name, but the rest is a bit hard for me to understand, and god have I been trying. Probably doesnt help that Im trying to do this at the end of the day when Im already quite exhausted. Also, thanks to https://pzwiki.net/wiki/Barricade I realized that I might need to get my hands on the java files as well, but because, once again, I dont really know what Im doing, Im not sure if I actually need those java files or not. Ive downloaded some curtains/barricade related mods to see what those creators use and did, but they work differently than what Im trying to make or they use 99% vanilla items/files. Ive e-mailed info@theindiestone.com 6 days ago to see if they could give me any guidance, but no response so far. Ive been googling for PZ modding tutors or lua modding tutors, but with no luck. I refuse to give up. I want to give my contribution to the community. The following code is off of ClientCommands and only contains the lines related to the metal sheet barricade. Can someone explain to me like I was a small child what I need to do to this? if isClient() then return end local ClientCommands = {} local Commands = {} Commands.object = {} ClientCommands.wantNoise = getDebug() local noise = function(msg) if (ClientCommands.wantNoise) then print('ClientCommand: '..msg) end end Commands.object.barricade = function(player, args) local object = _getBarricadeAble(args.x, args.y, args.z, args.index) if object then local barricade = IsoBarricade.AddBarricadeToObject(object, player) if barricade then if args.isMetal then local metal = InventoryItemFactory.CreateItem('Base.SheetMetal') metal:setCondition(args.condition) barricade:addMetal(player, metal) barricade:transmitCompleteItemToClients() player:sendObjectChange('removeItemID', { id = args.itemID, type = "Base.SheetMetal" }) end end else noise('expected BarricadeAble') end end Commands.object.unbarricade = function(player, args) local object = _getBarricadeAble(args.x, args.y, args.z, args.index) if object and object:isBarricaded() then local barricade = object:getBarricadeForCharacter(player) if barricade then if barricade:isMetal() then local metal = barricade:removeMetal(nil) if metal then player:sendObjectChange('addItem', { item = metal }) end end end end end ClientCommands.OnClientCommand = function(module, command, player, args) if Commands[module] and Commands[module][command] then local argStr = '' for k,v in pairs(args) do argStr = argStr..' '..k..'='..tostring(v) end noise('received '..module..' '..command..' '..tostring(player)..argStr) Commands[module][command](player, args) end end Events.OnClientCommand.Add(ClientCommands.OnClientCommand)
  2. Hello, I discovered that when you put a sheet on a sliding door and you open it, the sheet stays floating in the air. Maybe it would be better to make it disappear when the sliding door is open to solve the bug. LXS
  3. Hi, I recently started a little project of mine. I wanted to make an isometric project, not sure where I'm specifically going, but we'll see, probably more to the Fallout style. Anyway, I also stumbled upon the post: Well, first of all. I've currently made so that I only have to take a single flat texture and it will automically shift the pixels to match an isometric wall's mask, so - less textures and less tinkering around them, yay... BUT it's in 2D right now, so nothing hardcore here... Now, the problem that I stumbled upon that I can't figure out is - How exactly PZ draws these 3d walls? Well, technically speaking, if I were to use 3D, but make the projection Orthographic, I'd get a topdown view, but that also would mean that I couldn't just use wall planes, because they would be invisible, meanwhile using floor planes would just draw a rectangle on a screen. Maybe I can actually make a transformed floor plane/vector (romb, paralelogram), assign a texture to it and set depth relative to "-y" coordinate? Basically, it would be identical to as just placing sprites on top of each other in a 2d view, but in this case, it would be done with actual 3d objects and 3d draw ordering (z-buffer), I guess... What are your thoughts, any ideas? What would be the best way to accomplish a 2d Isometric game, like PZ, Shadowrun Return, Fallout? Thanks regardless, E.P. Martin
  4. I would love to see some kind of option between curtains being closed or completely open, maybe a severely limited field of vision where the player is only visible to zombies adjacent to the door or window? The reason I ask is that during helicopter events, even if the player immediately steps back after opening the curtains to see which way the horde is moving (ie "have I been spotted?") it seems the heli can still see the player and brings a horde the the safehouse. I like what the heli events do for the atmosphere of the game and don't want to see them nerfed, but it's frustrating when your player makes it inside in time, but gets spotted looking out the window; especially when it's 12pm in-game and you're not even breaking curfew.
  5. Haven't seen it being mentioned here... I think having an option to craft ropes from ripped sheets (~8) instead of sheet/clothing would be convenient.
  6. Training dummy, constructed out of wood, pillows and sheets (ripped sheets). Used to train up combat skills. Maybe even firearm skills for target practice, with the Pillow Silencer mod.
×
×
  • Create New...