Project Zomboid

Project Zomboid

42 ratings
Twitch Stats
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
269.658 KB
Feb 6 @ 1:05pm
Feb 6 @ 1:10pm
2 Change Notes ( view )

Subscribe to download
Twitch Stats

Description
This mod was made for use with OBS as a realtime source for the run stats, activate the mod, fully load a game or start a new save and get in-game at least once to generate the files used on obs. After that, all you need to do is to add a Text GDI source and point it to the file %userprofile%/zomboid/lua/zkills.txt for zombie kills and a second source pointing to timealive.txt, for the time survived data.

Warning: If you want to use this mod with an existing save, you need to enable it under the [More] options when loading the save, or it will not work until you do so.

It is possible to use this mod with Nightbot and any other twitch bot, but an external program is needed to serve the files with the data to the bots ( http server ).

By using a http server to serve the files stored @ %userprofile%/zomboid/lua/ you can then use a bot to retrieve the info on the files above and from th extra file that stores the char build ( all data is always relative to the current loaded save ) with the name PlayerTraits.txt. All output to this file or any other file will be done in the selected language in the game.

-This is a new version of the mod

- New UI ( no longer a window ) less intrusive
- Double Click changes the orientation of the UI
- Right Control shows or hides the UI
- Added support for KillCount Mod
After some requests, and since there is already a mod available that works perfectly fine for that purpose, i decided to add support for that mod stats on Twitch Stats. Killmod will provide the extra kill counts ( fire, car ). At the moment only added the fire kill count to the UI .

To save the UI position you only need to close the ui and re-open it, temporary solution for now.

The icons used on the ingame UI can be changed to whatever you want. Just open the PSD file in the UI dir and make your own icons. Keep in mind that the icons name has to be the same as the original images and the same format (PNG).

Will keep improving the mod whenever i have free time to do so. Any bug feel free to contact me.

Done with the help of the awesome PZ modding community on the official pz discord server.
Special thanks to: @Chuck @Jab @????? @albion @Nippytime @Glytch3r


                                            If you like this mod, consider buying me a coffee
                                                                             [paypal.me]

Workshop ID: 3422377034
Mod ID: Twitch-Stats
Mod ID: Twitch-Stats
16 Comments
:) Apr 15 @ 6:31pm 
@M3ss worked! thanks :D
M3ss  [author] Apr 6 @ 7:23am 
On your keyboard... the control key on the right side ( CTRL )
:) Apr 6 @ 4:20am 
@M3ss what's right control? I play with a mouse+keyboard and I'm not sure what this means
M3ss  [author] Apr 4 @ 11:15am 
Right control then, i've just tested it and it works
:) Apr 4 @ 6:19am 
@M3ss it doesn't do anything when I right click 😅
M3ss  [author] Apr 1 @ 11:33am 
Right control can be used to show and hide the ui ( open and close ) or right mouse click
:) Apr 1 @ 9:02am 
Hey :) you wrote "To save the UI position you only need to close the ui and re-open it, temporary solution for now."
- But I don't understand how to close the ui? Could you please help?
Thanks
Rusty #DopeRust Mar 13 @ 2:28pm 
@M3ss, okay, i understand, i will be checking things then, thank you once again for your amazing work.

Cheers.
M3ss  [author] Mar 13 @ 10:27am 
@Rusty, waiting for the stable version. I rather wait and make everything like it should be done, when the stable is out. The first update is only to make sure it works on the new build, everything else will come later, and it makes no sense to update it the old version with new features when i should be working on the upcoming stable version, plus my priority is another mod atm.
M3ss  [author] Mar 13 @ 10:24am 
Complicated yes, impossible no... wrong place to ask this? Yup, the modding community is pretty active on the official pz discord server, i would try my luck there.