Project Zomboid

Project Zomboid

SIF - Example Events
85 kommentarer
KvasForUs 24. aug. kl. 7:43 
Thanks a lot man) Yes maybe solution isn't perfect but its a solution and its worked)) Thank you again :steamsunny:
YebNFlo  [ophavsmand] 23. aug. kl. 21:54 
@KvasForUs Added Cyrillic to Latin romanization in the main mod. If Cyrillic chat was garbled, use this Streamer.bot import (temp fix): Pastecode [pastecode.io] It automatically detects Cyrillic, writes base64 and the mod decodes and shows romanized in the game (ex. «это…» to “eto…”). The import string is plug and play-ish.
KvasForUs 22. aug. kl. 9:47 
Just to narrow down the search area a little. I checked the Unicode of the SIF.txt file — it’s UTF-8, and from what I’ve read online, that shouldn’t be a problem. Also, chat messages are being written to that file correctly
KvasForUs 22. aug. kl. 9:38 
пр - yep, something like this.
YebNFlo  [ophavsmand] 22. aug. kl. 9:33 
@KvasForUs does it show question marks (?????) or something like this kind of garbled text (пр…)
KvasForUs 22. aug. kl. 6:59 
Hi. The mod is really awesome, but I have a question. When people type in Cyrillic in the chat, their messages appear as garbled text in the game. I’ve tried everything I could with my limited knowledge. Do you have any ideas on how to fix this?
Bosterk 14. maj kl. 17:33 
Awesome! It worked! Thank you so much!
YebNFlo  [ophavsmand] 14. maj kl. 17:27 
the script was expecting the parameter if weather is true, which I did not add in the list
YebNFlo  [ophavsmand] 14. maj kl. 17:26 
somehow when I was refactoring everything I think I missed it.
YebNFlo  [ophavsmand] 14. maj kl. 17:26 
aa I see what the problem is, the line I listed in the list above is wrong and it was missing a parameter.

{ type = "weather", weather = true }
YebNFlo  [ophavsmand] 14. maj kl. 17:16 
I'll look into it
Bosterk 14. maj kl. 16:14 
Please, when you have free time, help me with this. I've been trying to run the weather but I can't get the character to say winter is comig the console throws me this
SIF DEBUG Skipped invalid line:
SIF DEBUG Queued event: {type = "weather"}
SIF DEBUG Pre-processed Line: {type = "weather"}
SIF Handled event: weather
What do you recommend? Is something wrong with my PC?
YebNFlo  [ophavsmand] 14. maj kl. 15:30 
It should also say that "Winter is Coming"

on top of the player
YebNFlo  [ophavsmand] 14. maj kl. 15:29 
@Bosterk it should activate their Winter is Coming from what I saw in the debug. It should also say that "Winter is Coming". the change is subtle but I think from what I saw in another stream is that it builds up slowly but eventually it will snow.
Bosterk 14. maj kl. 15:24 
Hey friend, a question, does this function {type = "weather"} work? I tried it but I didn't notice any change.
YebNFlo  [ophavsmand] 14. maj kl. 15:00 
@Bosterk its haunting you :steamhappy:
Bosterk 14. maj kl. 14:47 
Dude, there's a detail I just looked at, when the event of sending zombies by bits comes in, and the zombies have the name of the viewer, when the character moves from area or chunks some zombies still have the name of the viewer who used the bit or the twitch points reward, when you have some time try it, I did the test in Muldraugh and when I teleported to Riverside some zombies had names, it's weird but fun
Bosterk 14. maj kl. 14:24 
@YebNFlo Thank you so much, I'm going to try it, you're amazing.
YebNFlo  [ophavsmand] 14. maj kl. 14:06 
@Bosterk done.
{ type = "zombierain", number = 20, radius = 10, interval = 120, viewer = "%user%" }
YebNFlo  [ophavsmand] 14. maj kl. 13:42 
@Bosterk I can add that as an optional parameter for rain zeds
Bosterk 14. maj kl. 10:01 
Thank you very much @YebNFlo it worked perfectly, another question is there a command to make "rainZeds" show the names on the zeds?
YebNFlo  [ophavsmand] 14. maj kl. 9:37 
For example:

type = "zombierain", number = %bits%, radius = 10, interval = 120}

Might have to be careful with the trigger. Probably want to use a specific range. If it is any amount and someone cheers 20k bits, thats going to spawn 20k zombies. 😁
YebNFlo  [ophavsmand] 14. maj kl. 9:34 
And for the trigger you will need to use twitch > trigger > cheer
YebNFlo  [ophavsmand] 14. maj kl. 9:33 
@bosterk yes, https://docs.streamer.bot/api/triggers/twitch/chat/cheer

You will need to change the one of the parameters, number = %bits%
Bosterk 14. maj kl. 8:55 
Hello YebNFlo, Is there any possibility to make the game spawn a zombie for every bit?
YebNFlo  [ophavsmand] 2. maj kl. 13:05 
@Ninours what do you have in mind
Ninours 30. apr. kl. 23:08 
So I need another idea then to differentiate Z from the game and those sent by the viewers.
Ninours 30. apr. kl. 23:06 
@YebNFlo Ok thx :)
YebNFlo  [ophavsmand] 30. apr. kl. 13:27 
Added new event to open driver seat window
{type = "carEvent", part = "OpenWindow"}
YebNFlo  [ophavsmand] 30. apr. kl. 13:13 
@Ninours its best to not use the bone variable for now as it will crash when you try to use firearms with or without the mod.
YebNFlo  [ophavsmand] 30. apr. kl. 13:12 
@Ninours it looks like it crashes even without the mod. I spawned one via debug lua console. As soon as I press the aim action with firearm, it crashes even with no mods.
YebNFlo  [ophavsmand] 30. apr. kl. 7:15 
@Ninours I'll look into it
Ninours 30. apr. kl. 0:35 
Hello, I have a crash that happens when someone sends Z with bone=true if I use a gun, I don't understand the link between the skins and the gun but if I deactivate bone=true, I no longer have a crash
Kaililou 25. apr. kl. 0:29 
Thanks for your help !
And thanks for the mod too, it's really great !
YebNFlo  [ophavsmand] 23. apr. kl. 13:07 
you will probably need to use for example

{type = "circle_viewerZeds", viewer = "%charityDonationFrom%", number = 5, radius = 15}

if the trigger is streamlabs charity donation
YebNFlo  [ophavsmand] 23. apr. kl. 13:04 
@Kaililou I dont think %user% will be the correct variable according to the streamerbot site

https://docs.streamer.bot/api/triggers/integrations/streamlabs/charity-donation

It looks like you will need to use %charityDonationFrom%
Kaililou 23. apr. kl. 3:27 
Hello, i want to use your mod for a charity event. We are collecting funds with Streamlabs Charity
I did a test this morning using the trigger "Source Streamlabs Type Charity donation".
It works but the variable %user% didnt show the name of the donator, is it the good one for this case ?
LordRyoo 16. feb. kl. 4:31 
nice mods thanks very much,it's a excellente work !!!
Ninours 12. feb. kl. 12:46 
Nice, thx :steamhappy:
YebNFlo  [ophavsmand] 12. feb. kl. 7:41 
@Ninours { type = "circle_viewerZeds", viewer = "%user%", number = 5, radius = 16, bone = true }
YebNFlo  [ophavsmand] 12. feb. kl. 7:24 
@Ninours yea sure, I can add that in.
Ninours 9. feb. kl. 15:09 
I think it's a skin that already exists in the game, maybe the one for the decaying Zs
Ninours 9. feb. kl. 15:08 
I saw on a stream someone who had an integration that made zombies appear with a skeleton skin, would it be possible to put this skin for the command {type = "circle_viewerZeds"}?
YebNFlo  [ophavsmand] 4. feb. kl. 9:18 
@Ninours fixed :steamthumbsup:
Ninours 4. feb. kl. 5:50 
Ok stop but it's very very very long lol
Ninours 3. feb. kl. 18:49 
Car alarms are ok, but Indoor alarms dont stop
YebNFlo  [ophavsmand] 3. feb. kl. 17:35 
@Ninours I changed the sounds. The original sound was problematic to use and it kept cutting off. Indoor alarms and car alarms now have proper alarm sounds.
Ninours 1. feb. kl. 22:52 
Can't you increase the sound radius? Just 50 is enough for us to hear it every time, I think.
YebNFlo  [ophavsmand] 1. feb. kl. 13:36 
@Ninours I'll look into it if I can tune it better. :steamthumbsup:
Ninours 1. feb. kl. 0:24 
Not every time, it often happens that the sound is too far away to be heard, and this on soundevent or on alarms.
The sound radius is too short I think, if I move towards the Zombies, I can hear the alarm and I sometimes hear the end of a sound event when I went in the right direction