Project Zomboid

Project Zomboid

Longer Smoke Time
50 kommentarer
AcidKettle430 28. dec. 2024 kl. 3:23 
BUILD 42!!!!!
blevins 26. dec. 2024 kl. 16:02 
yo, any chance you can update to b42? :spycon:
amorchis06 22. dec. 2024 kl. 22:21 
Does this work on b42?
count 3. juli 2024 kl. 2:58 
smoke coming off the tip would be cool
Tex 11. mar. 2024 kl. 22:44 
Sweet thnx lol I should've looked a bit harder 🤪🤣
Atophite  [ophavsmand] 3. mar. 2024 kl. 5:00 
@Not Sure If you want to adjust the time you can use https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3153845649
Tex 3. mar. 2024 kl. 3:10 
Great mod but it sucks you can't do anything else whilst smoking. A 20/30 sec one would be welcomed!!! :)
aquelarrefox 29. feb. 2024 kl. 19:20 
i use your code to patch spice foods files, that mod cant be override by direct override. as far i know its the only one, replace your function on the spacy food mod.
i was getting mad cose i couldnt find the cause of the mod not working. info for other users, cose who dont want a burnig assburrito
Art_Benelli 4. feb. 2024 kl. 13:55 
@Atophite of course I credited you, I just patched your work.
The mod is live https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3153845649
If you add me I can even put you in the authors slot, already did in mod.info
Atophite  [ophavsmand] 4. feb. 2024 kl. 12:27 
@Art_Benelli Yeah you can do whatever with it. Tbh you don't have to credit me unless you really want to. But it's awesome you added sandbox options! Thanks for asking!
Art_Benelli 3. feb. 2024 kl. 15:56 
@Atophite Hej mate I sent you a friend request. I expanded this mod's compatibility and added sandbox options, wanted your permission to publish it crediting your work if you don't mind
Omega_Wolf 19. nov. 2023 kl. 12:57 
really hoping this can become compatible with consume slower, love both but hate having to turn one or the other off.
Rob 14. nov. 2023 kl. 7:15 
Are there any possibilities to change smoking time to the value i want?
Atophite  [ophavsmand] 3. okt. 2023 kl. 15:52 
@Atropine That's really weird. The only thing that the mod does is make the action of smoking longer. So I basically set a number to a higher value. So nothing I can do about it. But thanks for the warning.
Atropine 3. okt. 2023 kl. 10:09 
I want to make a note for subscribers as well as for the author about an interaction I have found with this mod and another. If you have the "Drop That Cigarette" mod on your world with this one it can create a pretty big issue. I wanted to make smoking a hassle for my character by installing this mod and making quitting much more of a realistic goal, but one day I forgot to smoke (with the DTC mod it makes you sick if you don't smoke for a while) and my character ended up being sick for 2 whole months before I said screw it and disabled the mod. I'm not sure what the fix would be for this: Just wanted to mention it.
Atophite  [ophavsmand] 11. juli 2023 kl. 13:13 
@Frits191 Thank you for liking it!
Frits191 11. juli 2023 kl. 12:23 
@Atophite I see thank you! If I know the duration then its fine really, I'll just have to make longer audio files :p I still would like to "use" your mod because I want it to be optional for people who just want 10s smoking. I will ofcourse include a link to here and such in my post!
I honestly prefer your duration alot more haha, 60s is more realistic instead of inhaling the entire thing in under 10seconds.
Atophite  [ophavsmand] 11. juli 2023 kl. 11:26 
@Frits191, I've created a Better Smoke Sound mod that incorporates an 8-second smoke sound clip. The clip is automatically looped. But since your mod is much more advanced, I'm uncertain about how to address the current problem you're experiencing.
Atophite  [ophavsmand] 11. juli 2023 kl. 11:03 
@Frits191 Hey,

You can do whatever with the mod.

I realized that the length might be a bit unusual. Even though I knew it wasn't precisely 30 seconds, I found it to be sufficiently long to meet my needs. In the code, I used 3000, assuming it represented milliseconds, but it seems to be measured in a different unit, maybe ticks? I'm not entirely certain. I will edit the mod description that the timing is 1 minute instead of 30 seconds.
Frits191 8. juli 2023 kl. 11:16 
Heya! I made smoking sounds overhaul and I was interested in adding compatibility for your mod! I would make longer versions of mine, and if both our mods are installed, it'll play the longer ones.
Assuming you are okay with this, I had a question, I'm not sure if its me but when ingame the smoking time (no other mods installed) is not 30s, its more around 1m 02s, so I was wondering what time it actually is? Thats the length I'd make my audio files. I looked in the comments and your code but it all looked fine to me.
Thanks in advance for your reply!
Krampus 21. juni 2023 kl. 21:03 
How does one edit the times for actions i want to make a few mods myself
Trithian Xiaxis 17. maj 2023 kl. 11:11 
Thank you
Atophite  [ophavsmand] 10. maj 2023 kl. 4:22 
@Trithian Xiaxis

Hello KYRP Senior Admin Team,

Thank you for reaching out to me regarding the inclusion of my mod in your upcoming mod pack for the Kentucky Roleplay (KYRP) server. I appreciate your interest in my work and your willingness to credit me as the original creator of the mod.

I am happy to grant you permission to include my mod in your mod pack, as long as it is not made public on the workshop. I understand that the mod pack will be for internal use within your server community, and that it will not be distributed to the wider public.

Also as an addition to this mod you can also use my better smoke sound mod. Its in the description.

If you have any questions or concerns about its use, please do not hesitate to contact me.

Thank you again for your interest in my mod, and I hope that it adds value to your server community.

Best regards,
Trithian Xiaxis 9. maj 2023 kl. 20:16 
Hello,
The Kentucky Roleplay (KYRP) server will be including your mod on our next iteration. Our team would like to add your mod to a mod pack. We will credit you as the creator of the original mod. Our mod pack would not be public on the workshop.

Please let us know if we have permission to incorporate your mod in our mod pack.

We appreciate your time and the work you put into your mod.
KYRP Senior Admin Team
Krampus 18. feb. 2023 kl. 16:06 
I can confirm that this mod conflicts with longer eating times
Marcos 15. feb. 2023 kl. 8:44 
Just a heads up, removing this mod from my local server removed all cigarettes from the world and they dont spawn anymore either. Also using the smoker mod
Atophite  [ophavsmand] 5. feb. 2023 kl. 16:42 
@Rabbitowitz Thank you for liking it. It's really hard to get into modding for this game. It will take some time since it isn't really documented. I'm not really actively modding right now but I did a quick search and there is a file called IsInventoryTransferAction.lua, look for the function ISInventoryTransferAction:new the transfer time of each item will be decided there (if im correct). Look at maxTime.
Rabbitowitz 5. feb. 2023 kl. 8:45 
Hi, I'm trying to get into modding, I was just wondering where did you find the ''time'' of each action? I was specifically searching for item transfer time, but I'm too dumb to find it.

Anyway, I love smoking for more than 5 seconds so this mod is great, thanks for it a lot.
Skyzoo 7. dec. 2022 kl. 14:06 
it make sense, more like having a remaining gauge like food, also i'm searching for a mod to smoke while reading or sorting items to match this one
Atophite  [ophavsmand] 10. nov. 2022 kl. 10:19 
What are you smoking my brother? Can I have some of that?
Khiva 10. nov. 2022 kl. 0:10 
why not give it a right click menu option simular to watering crops, where you select smoke cigarette and it gives you a range of smoke time from 15-45 seconds or whatever?

sometimes you just need to hoover a dart and get on with your day, other times you're lounging, ya know?
H 10. okt. 2022 kl. 15:04 
love this mod but was wondering if you could make one for the alcohol
BluntMan 1. okt. 2022 kl. 8:43 
@atophite youre a king thank you
Atophite  [ophavsmand] 1. okt. 2022 kl. 8:11 
@BluntMan No problem https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2869927438 I will make it unlisted since I dont want to have 10 different versions.
BluntMan 1. okt. 2022 kl. 6:27 
hate to bother you atophite, but would you still consider uploading a 15 second version? I want to use for a dedicated server and 30 seconds is just a bit too long for what I am going 4.
Faria 17. sep. 2022 kl. 9:47 
Nice mod mate!!
eNoble-US 2. sep. 2022 kl. 12:09 
I really appreciate it man, I'll rate up and toss a few rewards your way, that shit was quick
Atophite  [ophavsmand] 2. sep. 2022 kl. 4:18 
eNoble-US 1. sep. 2022 kl. 19:51 
Any chance you could reupload a version thats around 1-2 minutes, for roleplay/realism servers?
곰탱 1. sep. 2022 kl. 12:22 
It works fine.
Thank you very much. :)
Atophite  [ophavsmand] 1. sep. 2022 kl. 10:35 
@곰탱 Go to your steam folder -> steamapps -> workshop -> content and then there should be a folder named 108600 -> my workshop id (2855493549) -> mods -> LongerSmokeTime -> media -> lua -> client -> isEatFoodSmokeAction.lua. in the file there should be a local variable named eatTimeLong = 3000; change it to a shorter duration like 1000. Let me know if that works. If it doesn't I can upload the mod with a shorter duration just for you <3. There is no easier way to change it in game options.
곰탱 1. sep. 2022 kl. 10:10 
It's the mode I wanted Thank you.
But 30 seconds is too long
I want to shorten it to 10 to 15 seconds. Where should I fix it?
Atophite  [ophavsmand] 31. aug. 2022 kl. 13:24 
@Kyrox It should work with autosmoke but I have to confirm this. Also with the mod Smoker I have to check for compatibility.
Kyrox 31. aug. 2022 kl. 8:33 
Does this also work with Smoker, and Autosmoke?
Atophite  [ophavsmand] 29. aug. 2022 kl. 3:40 
You can't do two actions at the same time. But you can walk, sit and sneak while smoking :)
nigel 29. aug. 2022 kl. 0:13 
Hello I want to smoke for longer, It would be cool to smoke for longer while doing other actions, maybe in project zomboid 2
Teamson 28. aug. 2022 kl. 16:27 
Finally
Atophite  [ophavsmand] 28. aug. 2022 kl. 15:57 
If it doesn't work I can probably make it compatible with jigga green fire.
Atophite  [ophavsmand] 28. aug. 2022 kl. 15:55 
I assume it doesn't since the mod checks if the player is "eating" a cigarette or just regular food. So I have to test that.
Sco 28. aug. 2022 kl. 14:25 
works with jigga green fire?