Jump to content

tommysticks

Member
  • Posts

    603
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tommysticks reacted to Connall in Reference List of Lua Events   
    As it turns out, a lot of the places that have Lua event listings, are either woefully out of date or have since disappeared from the internet. With that in mind, I have added a section to the pzwiki that lists all the Lua Events currently found in game, though fair warning some are now obsolete.
     
    https://pzwiki.net/wiki/Modding:Lua_Event
     
    I have created some pages for some of the events but more still needs to be done. Some pages haven't been created as of writing and the template used for the pages leaves much to be desired, but will hopefully still be helpful to those looking for a quick reference. It also has the added benefit of other people being able to update the listings or change descriptions based on what they find.
     
    Any questions you can post here, or say something in the workshop_modding channel of Discord. I'm usually around there willing to answer questions.
  2. Like
    tommysticks got a reaction from Jason132 in WIP - Wilhelm's Weapon Mod   
    Looks good!
  3. Like
    tommysticks reacted to Friendly bandit in WIP - Wilhelm's Weapon Mod   
    Hi there, 
    Because I'm feeling better right now (my health condition isn't good) Before I will go to the hospital again, I decided to make my second mod for PZ.
    I won't tell you too much for now, but I'm gonna post here few screenshots
     

     

     

     

     

     
    I tested them in-game, and that Jab's model loader works surprisingly well.
    I'm gonna make more weapons soon, pipe wrench, Ice axe, lead pipe, crossbow, metal rod etc:
     
    I hope you like it ^^ 
     
     
     
  4. Like
    tommysticks got a reaction from Sparrow in Timed Item Scripting Help   
    Yo man, I would need to see exactly how the stuff from your first question works in order to be able to try to answer that. HC is too big for me to go digging around in there to find out what function changes the animal to hungry, but you would need to alter that function. If you have Notepad++ you could do a search for "TurnInto" in all of the file contents and see what that's about, and that would help out.
     
    As for the second question, the way PZ is coded limits what is made by recipes to one item, or multiple of one item. TIS included a function that works around this:
     
    OnCreate:randomPiggies,
     
    So you'd need to write a function that fires whenever that recipe is ran, and give it a random value for the piggies.
    Something like this:
     
    function randomPiggies(item, resultItem, player) local player = getPlayer(); local pInv = player:getInventory(); local numPiggies = ZombRand(4); --random number between 0 and 3 local malePiggies = ZombRand(numPiggies); --random number between 0 and numPiggies if numPiggies > 0 then if malePiggies > 0 then pInv:AddItems("HydroCraft.MalePig", malePiggies); pInv:AddItems("HydroCraft.FemalePig", malePiggies - numPiggies); else pInv:AddItems("HydroCraft.FemalePig", numPiggies); end end end Now, before this code will work, you need to change the "HydroCraft.MalePig" and "...FemalePig" to whatever it actually is in his script. Those are just place holders. Another thing that might fuck this up is trying to AddItems("HC.Pig", 0). I don't know if AddItems will return an error if there are zero items to be added. If you do encounter this I could do a quick rewrite to fix it. 
     
    Also, the issue with vanilla recipes is that SOMETHING has to be created. So I suggest making a dummy item like "HydroCraft.AfterBirth" that has no value, aside from weight and ickiness, that will be added so you can get around the problem of having to have a pig born every time.
     
    So the new recipe would look like this:
    recipe Breed Pigs { HCPigmale, HCPigfemale, Apple/Carrots/Cabbage/Corn/Lettuce/HCGrass/HCStraw/HCChinesecabbage/HCCornred/HCCornblue/HCCornwhite/HCCabbagered/HCCabbagewhite, Water, CanBeDoneFromFloor:true, Result:HCAfterBirth, OnCreate:recipe_hcpigbreeding, OnCreate:RandomPiggies, Time:2000.0, NeedToBeLearn:true, Sound:oink, Category:Ranching, } I just noticed that there is already an OnCreate in that recipe. I don't know if there's going to be an issue using that function twice, however there is a workaround for that, too, if there is a problem.
     
    Please let me know if there are any issues with this, or if you don't understand something.
  5. Spiffo
    tommysticks reacted to Tekniqe in Override base game recipe   
    Following the steps in the thread I linked worked.
     
    To be clear:
     
    Included the original base recipe in my mod script file, adding the property "Obsolete: true" to it. Then, adding my own recipe (I did so in the same file) with the property "Override:true".
     
    Cheers tommy!
  6. Like
    tommysticks got a reaction from DramaSetter in Loot Ratio Engine   
    Loot spawns as you get close to the container it is in (close meaning it is around/within the edges of the screen fully zoomed out, maybe a little further). So the problem with this is that by end-game most people have  (I assume) looted/visited most areas of the map. It's a cool idea, but I think the only way it would have any impact is if the map was a lot larger or procedural, especially with the introduction of vehicles. Even if you don't use them to visit every building, loot is spawning as you're driving by.
  7. Like
    tommysticks got a reaction from Phil81 in Thursdoid Rising   
    Please consider adding this vehicle, as it would not only add to realism, but also overall awesomeness.
     
    Thank you for your time.
     

  8. Pie
    tommysticks got a reaction from myhappines in Thursdoid Rising   
    Please consider adding this vehicle, as it would not only add to realism, but also overall awesomeness.
     
    Thank you for your time.
     

  9. Like
    tommysticks reacted to Necromatic_Corgi in Thursdoid Rising   
    If we don't get this I'm going to quit this game 4 lyf.
     

  10. Like
    tommysticks got a reaction from Patrick H in Thursdoid Rising   
    Please consider adding this vehicle, as it would not only add to realism, but also overall awesomeness.
     
    Thank you for your time.
     

  11. Like
    tommysticks got a reaction from Necromatic_Corgi in Thursdoid Rising   
    Please consider adding this vehicle, as it would not only add to realism, but also overall awesomeness.
     
    Thank you for your time.
     

  12. Pie
    tommysticks got a reaction from Svarog in Thursdoid Rising   
    Please consider adding this vehicle, as it would not only add to realism, but also overall awesomeness.
     
    Thank you for your time.
     

  13. Like
    tommysticks got a reaction from Akimbo Swords in Hairstyle Mod   
    http://steamcommunity.com/sharedfiles/filedetails/?id=928393336
     
    Combs change hairstyles.
    Razors change beards or shave your head.
     
    Dye packs can be found in bathrooms.
    There are currently blue, red, orange, yellow, black, and green dyes.
     
    To go back to your original hair color, shave your head with a razor then change your hairstyle with a comb.

  14. Like
    tommysticks got a reaction from Akimbo Swords in Zombies Spawn without Clothes   
    Simple mod that gives the zombies a chance to spawn without clothes!
     
    LINK
     
     

  15. Like
    tommysticks reacted to Cutflood in It was so BLACK AND WHITE   
    I did a quick search and saw no one suggesting this, even if it, to me, was so obvious...
    A BLACK AND WHITE MODE.
     
    In the honor of the classic, Night of the Living Dead, the ability to play the game in a Black & White mode would be terrifying. 
    Zed's would be MUCH harder to see. 
    The blood and gore would be presented much more starkly.
    Going out at Night would be only for the insane, or the insanely prepared. 
     
    I removed the color from a screenshot of mine. Already, I can see this is only for HARDCORE players....

  16. Like
    tommysticks reacted to Cutflood in Thank you George Romero   
    George A. Romero is like that cool grandpa who gave you your first beer.
    Only instead of beer, it was your first horror film. 
    Mr. Romero will always be my favorite director and film maker.  A quote from Slate.com:
     
    "He made Night of the Living Dead as part of a filmmaking collective, Image Ten.
    Each member contributed $600 toward a feature that would help them launch careers as filmmakers.
    Located in Pittsburgh, Image Ten was indie all the way."
     
    I think I see a connection here.  
    The only thing I love more than Zombie Films is Zombie Games.
    And I have Romero to thank for that... 

     
    P.S. - A cool film technique, in Night of the Living Dead, Mr. Romero decided to use Bosco Chocolate Syrup as blood. 
            Since when shooting in black and white, the darker color showed much more contrast. And the Zombies enjoyed
            munching on chocolate syrup much more than the stage blood they had made. 
     
    P.P.S. - Holy crap, a Black and White shader for the game would be AMAZE BALLS. >:) 
  17. Like
    tommysticks reacted to Svarog in Thank you George Romero   
    Manual gear shifting too hardcore but you can handload every single bullet into a clip and need to rack/pump your guns before firing.

    Wat
  18. Like
    tommysticks got a reaction from Cutflood in Thank you George Romero   
    I'll let it slide.... this time.
  19. Like
    tommysticks got a reaction from Cutflood in Zombie Camo   
    I have the camo system working, but I'm trying to decide what would be best way to acquire the camo in-game. Currently, this is how it works (not how I want finished product, but how I slapped it together):
    Zeds have a chance to drop heart, brain, guts, and blood. 
    Those items can be combined to make a new item,(using recipe system) Weak zed camo, Zed Camo, or Strong Zed Camo.
    Stronger camo takes more ingredients. 
    Camo wears off with time, how fast you move, rain, and attacking. 
     
    What I want to refine is how the camo is made. I would like to change it where you right click on zed corpse and can mutilate body with either your hands or a blade. Then the zed camo body parts will drop. I was thinking about instead of crafting camo, that each piece can be consumed to just add to your camo. 
     
    I also want to incorporate a sickness and infection system.
     
    Input would be appreciated. 
  20. Like
    tommysticks reacted to Cutflood in Zombie Camo   
    -I am the wisest man alive, for I know one thing, and that is that I know nothing. 
    Socrates
     
    Dude, Don't sell yourself short. Love your Gun mod! 
  21. Like
    tommysticks got a reaction from Cutflood in Zombie Camo   
    Just started working on this mod. 
     
    I don't know shit about making mods work for MP, so it'll only be single player. 
  22. Like
    tommysticks got a reaction from Legoland99 in Thank you George Romero   
    I'll let it slide.... this time.
  23. Like
    tommysticks got a reaction from Rafer in Zombies Spawn without Clothes   
    Simple mod that gives the zombies a chance to spawn without clothes!
     
    LINK
     
     

  24. Like
    tommysticks got a reaction from EnigmaGrey in RELEASED: IWBUMS Build 38.15   
    I was playing 38.4 on vacation and noticed that the tutorial wouldn't load. I was getting an error that said to check the console, then the program would crash. I skimmed the console, which I didn't save, and it said some shit about spawn points. I will try to recreate this, see if it persists in 38.5 or if I just fucked up some code. 
  25. Like
    tommysticks reacted to Legoland99 in Civilian Nuclear Bunker   
    Hey guys, marked the 200 buildings anniversary that I made with this nice family sized Nuclear Bunker. It has 2 decontamination rooms, a common area, a kitchen, storage, bathroom, small armory, small medical supplies room, two shared bedrooms (F and M sleep in different rooms) and a storage room with food and freezers. It has a vent that goes outside, you can probably see it in the pictures. All is furnished and done, and yes, even the light switches are there, it's just that they are a bit hidden from view  Hope you all enjoy my work for the upcoming Union City map !  
×
×
  • Create New...