Project Zomboid

Project Zomboid

SIF - Example Events
85 Comments
KvasForUs 24 Aug @ 7:43am 
Thanks a lot man) Yes maybe solution isn't perfect but its a solution and its worked)) Thank you again :steamsunny:
YebNFlo  [author] 23 Aug @ 9:54pm 
@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 @ 9:47am 
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 @ 9:38am 
пр - yep, something like this.
YebNFlo  [author] 22 Aug @ 9:33am 
@KvasForUs does it show question marks (?????) or something like this kind of garbled text (пр…)
KvasForUs 22 Aug @ 6:59am 
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 May @ 5:33pm 
Awesome! It worked! Thank you so much!
YebNFlo  [author] 14 May @ 5:27pm 
the script was expecting the parameter if weather is true, which I did not add in the list
YebNFlo  [author] 14 May @ 5:26pm 
somehow when I was refactoring everything I think I missed it.
YebNFlo  [author] 14 May @ 5:26pm 
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  [author] 14 May @ 5:16pm 
I'll look into it
Bosterk 14 May @ 4:14pm 
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  [author] 14 May @ 3:30pm 
It should also say that "Winter is Coming"

on top of the player
YebNFlo  [author] 14 May @ 3:29pm 
@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 May @ 3:24pm 
Hey friend, a question, does this function {type = "weather"} work? I tried it but I didn't notice any change.
YebNFlo  [author] 14 May @ 3:00pm 
@Bosterk its haunting you :steamhappy:
Bosterk 14 May @ 2:47pm 
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 May @ 2:24pm 
@YebNFlo Thank you so much, I'm going to try it, you're amazing.
YebNFlo  [author] 14 May @ 2:06pm 
@Bosterk done.
{ type = "zombierain", number = 20, radius = 10, interval = 120, viewer = "%user%" }
YebNFlo  [author] 14 May @ 1:42pm 
@Bosterk I can add that as an optional parameter for rain zeds
Bosterk 14 May @ 10:01am 
Thank you very much @YebNFlo it worked perfectly, another question is there a command to make "rainZeds" show the names on the zeds?
YebNFlo  [author] 14 May @ 9:37am 
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  [author] 14 May @ 9:34am 
And for the trigger you will need to use twitch > trigger > cheer
YebNFlo  [author] 14 May @ 9:33am 
@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 May @ 8:55am 
Hello YebNFlo, Is there any possibility to make the game spawn a zombie for every bit?
YebNFlo  [author] 2 May @ 1:05pm 
@Ninours what do you have in mind
Ninours 30 Apr @ 11:08pm 
So I need another idea then to differentiate Z from the game and those sent by the viewers.
Ninours 30 Apr @ 11:06pm 
@YebNFlo Ok thx :)
YebNFlo  [author] 30 Apr @ 1:27pm 
Added new event to open driver seat window
{type = "carEvent", part = "OpenWindow"}
YebNFlo  [author] 30 Apr @ 1:13pm 
@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  [author] 30 Apr @ 1:12pm 
@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  [author] 30 Apr @ 7:15am 
@Ninours I'll look into it
Ninours 30 Apr @ 12:35am 
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 @ 12:29am 
Thanks for your help !
And thanks for the mod too, it's really great !
YebNFlo  [author] 23 Apr @ 1:07pm 
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  [author] 23 Apr @ 1:04pm 
@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 @ 3:27am 
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 @ 4:31am 
nice mods thanks very much,it's a excellente work !!!
Ninours 12 Feb @ 12:46pm 
Nice, thx :steamhappy:
YebNFlo  [author] 12 Feb @ 7:41am 
@Ninours { type = "circle_viewerZeds", viewer = "%user%", number = 5, radius = 16, bone = true }
YebNFlo  [author] 12 Feb @ 7:24am 
@Ninours yea sure, I can add that in.
Ninours 9 Feb @ 3:09pm 
I think it's a skin that already exists in the game, maybe the one for the decaying Zs
Ninours 9 Feb @ 3:08pm 
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  [author] 4 Feb @ 9:18am 
@Ninours fixed :steamthumbsup:
Ninours 4 Feb @ 5:50am 
Ok stop but it's very very very long lol
Ninours 3 Feb @ 6:49pm 
Car alarms are ok, but Indoor alarms dont stop
YebNFlo  [author] 3 Feb @ 5:35pm 
@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 @ 10:52pm 
Can't you increase the sound radius? Just 50 is enough for us to hear it every time, I think.
YebNFlo  [author] 1 Feb @ 1:36pm 
@Ninours I'll look into it if I can tune it better. :steamthumbsup:
Ninours 1 Feb @ 12:24am 
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