Project Zomboid

Project Zomboid

30 ratings
Zombie Kill Count
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
482.529 KB
15 Mar @ 5:48am
11 Aug @ 3:29am
11 Change Notes ( view )

Subscribe to download
Zombie Kill Count

Description
Zombie Kill Count by RyuuCreator

Features
- Displays the number of zombies killed in real time.
- Session kill counter (incremental).
- Two buttons (▲, ▼) to expand or collapse the panel.
- Shows 10 kill statistics: vehicle, fire, blunt weapon, small blunt weapon, long blade, small blade, axe, spear, firearm, unarmed.
- Fully draggable anywhere on the screen to match player preference.
- Remembers its position between game sessions.
- Generates one file per stat under `C:\Users\<YourUsername>\Zomboid\Lua\` (or press Win+R and paste `%UserProfile%\Zomboid\Lua\`).

OBS Studio Setup
1. Create a new Text (GDI+) source.
2. Check Read from file.
3. Click Browse and navigate to any file in `C:\Users\<YourUsername>\Zomboid\Lua\` or `%UserProfile%\Zomboid\Lua\`.

All filenames start with `obs_b41_` for Build 41 and `obs_b42_` for Build 42.

Available Output Files
- survivalTime.txt: player’s survival time
- name.txt: character’s name
- totalKills.txt: total zombies killed
- fireKills.txt: kills by fire
- vehicleKills.txt: kills by vehicle
- weapon_Blunt.txt: kills with blunt weapons
- weapon_SmallBlunt.txt: kills with small blunt weapons
- weapon_LongBlade.txt: kills with long blades
- weapon_SmallBlade.txt: kills with small blades
- weapon_Axe.txt: kills with axes
- weapon_Spear.txt: kills with spears
- weapon_Firearm.txt: kills with firearms
- weapon_Unarmed.txt: kills unarmed

Supported Translations
- French
- English
- Simplified Chinese

Workshop ID: 3444883126
Mod ID: ZombieKillCount
46 Comments
RyuuCreator  [author] 11 Aug @ 3:30am 
[Fix] When the panel is positioned at the bottom of the screen, opening and closing it now correctly restores its intended position
JENOVA Absolute 10 Aug @ 3:56pm 
Oh, I see you already noticed in the time it took me to answer your question. :steamfacepalm: My mistake. I look forward to the update. Thanks! :steamhappy:
RyuuCreator  [author] 10 Aug @ 3:42pm 
Okay, I see the problem. It works fine at the top, but there's a problem at the bottom. I'll take a look at it this week.
JENOVA Absolute 10 Aug @ 11:20am 
I assume the intended behavior when collapsing is for the panel to reposition itself back to where it was before it was expanded. This is not the case for me. Expanding and collapsing the panel causes it to move away from whatever position I have it set to, which is the bottom left corner.
RyuuCreator  [author] 6 Aug @ 6:48am 
[Fix] Top and bottom buttons now dynamically hide based on panel state for smoother user interaction (this fix may potentially reset position data)
RyuuCreator  [author] 2 Jul @ 2:38am 
Yes, it will be in a patch, which is why I specified to click on the same button used when opening, and not on the other one.
Yava 1 Jul @ 11:02pm 
thanks for the changes, but there is a small error. When closing, the top button should minimize the window to the bottom, not to the top.
RyuuCreator  [author] 30 Jun @ 6:05pm 
[Update] Added a second toggle button to open the panel from the top, per player preference. Due to a known issue, you must click the same button again to close the panel. A patch will arrive later to allow closing with the opposite button.

[Update] Files for each displayed stat are now created under
C:\Users\<YourUsername>\Zomboid\Lua\.
All filenames begin with obs_b41_ for build 41 and obs_b42_ for build 42.
RyuuCreator  [author] 21 Jun @ 1:49am 
Hello, I had planned to make files with the information in question for the Stream. But for the moment I have another project in the works (apart from the mods). But I'll try to do the interface modification and the file addition before the end of July.
beaverrage 17 Jun @ 6:23am 
Hi, could this also write to a text file in the users Zomboid directory? Then it could be called with bots etc for stream integration. I like this simplified one for on screen vs the others I've used before, the only part I'm missing is it writing the overall kills out to a file.