Project Zomboid

Project Zomboid

176 평점
[B42] Background Framework
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
5.446 MB
2025년 1월 11일 오전 4시 53분
2025년 1월 13일 오전 5시 57분
업데이트 노트 4개 (보기)

다운로드 위해 구독하기
[B42] Background Framework

설명
You can open game folder, create folder named "direct" then just drop background.png there and select it from mod options or more...

Main menu Background Framework supports
  • Single image (no more need to split image by tiles)
  • Images will resize, fit and center perfectly at any resolution
  • Any resolution (like ultrawide 3440x1440 or even 4k too)
  • Bonus vanilla image for ultrawide resolution (select it from mods options)
  • Optional lightning image
  • Vanilla like lightning transition (optional, active only if second image provided)
  • Mod menu drop list to select background on the fly (select + apply = done)
  • Image resolution details on drop list items (easy select by your resolution)
  • Possibility to use mulltiple addons to select a background from
  • Select logo: default or none (hide logo)
  • Optional backgrounds randomize (respects aspect ratio of selected background)
  • Optional logo randomize
  • Addons can add custom logos on a list
  • Direct image feed from ProjectZomboid folder (details below)

Direct image feed
Open ProjectZomboid game folder, create folder named "direct" and copy images into it so framework will find them.

How to open game folder:


Make sure that:
  • You created and put files in main game folders /direct sub folder ( ProjectZomboid/direct )
  • Images are .png type (format)
  • Main image is named: background
  • (optional) If you have lightning image you can add image named: background_lightning
  • (optional) if you have logo image you can add image named: logo
  • Make sure logo image sizes are 697 x 456 or menu could be shifted by logo
  • Open Game options -> MODS and select "Direct" image from drop menu
For multiple direct images rules are similar but:
  • Name background files with number at the end (example: background1, background2)
  • (optional) Name background lightning files with accordingly and number after "background" but before "_lightning" (example: background1_lightning, background2_lightning)
  • (optional) Name logo files with number at the end (example: logo1, logo2)
  • Note that files are checked by number one by one ...1,...2,...3 if you skip this order by 10 or more further files won't be read (example with names logo1, logo5, logo16: only logo16 won't be found by framework)
Example:

Full path example: D:/Steam/steamapps/common/ProjectZomboid/direct/background.png

Addons (for content creators)
Here is an example mod how to add one or multible backgrounds via lua
Background Framework Example
If you copy an example make sure that:
  • You changed folders name
  • You changed media/lua/client/backgroundFrameworkAddon.lua to another unique name
  • You changed mod id and name on 42/mod.info
  • You can use your poster.png and preview.png
  • Adding lightning image is optional
  • Add required item on a steam page
  • Put images into media/ui/backgrounds/
  • Use unique file names like ModId_something
The lua part for background addons is simple
Backgroundspictures should be on media/ui/backgrounds/
backgroundFramework:addBackground("DisplayName", "PictureFileName", "PictureFileNameForLightning") -- or if you don't have lightning image variation backgroundFramework:addBackground("DisplayName", "PictureFileName")

The lua part for logo addons
Logo pictures should be on media/ui/logos/
backgroundFramework:addLogo("DisplayName", "logoFileName")

Addons list
  1. Girl background [ultawide]
  2. BM Ultimate Custom Background
  3. Lily's Journal
  4. [BFW] Kirok's Backgrounds add-ons

Incommiiing (future plans)
  • Video background support (limited by .bik and .bk2 formats game does support)

My other mods:



Workshop ID: 3405199543
Mod ID: backgroundFramework
인기 토론 모두 보기(2)
24
2025년 1월 18일 오전 8시 48분
Errors report
UnCheat
4
2025년 5월 30일 오전 6시 47분
Suggestions
UnCheat
댓글 78
*gönlümüzde orası 2025년 8월 6일 오전 7시 00분 
Does b41 work?
Nod for Big Naturals 2025년 7월 19일 오전 5시 54분 
Thank you very much for this wonderful mod. I'm having a blast with it. As someone who used to download main menu mods frequently, I've really appreciated being able to easily make my own.

If anyone wants to check out the ones I've made available for others to use, you can do so here.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3527329129
DOgeboii2 2025년 6월 13일 오전 5시 45분 
I made one for the Anime lovers out there, with 25 images, some already recognizable to the community Check it out!

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3498201101
RAVE--PMW 2025년 5월 31일 오전 10시 42분 
I have made a HD Main Menu Suite using this mod, please check it out here:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3490948057

Mr UnCheat thank You for this! Exactly what I needed for the Main Menu Suite :D Take my points!
QS 2025년 4월 21일 오전 3시 13분 
What do I do if I have black screen when choosing "direct"?
I've created the direct folder and placed the "background.png" there but it doesn't work, a black screen instead of my picture.
Sir Doggy Jvla 2025년 3월 9일 오전 7시 54분 
Feel free to modify the page as needed, clarify points or add more to it
Sir Doggy Jvla 2025년 3월 9일 오전 7시 53분 
Hello, I currently lead the Project Modding for the official wiki for the game and I made a page to document your framework for other modders to be able to easily find it:
https://pzwiki.net/wiki/Background_Framework
Wawa 2025년 2월 27일 오후 3시 39분 
The main menu changes to a black screen when I use my direct custom image, the default ones work fine.
Wawa 2025년 2월 27일 오후 3시 33분 
I am able to change the icon perfectly fine but when I go to change the background it does not work. I have all my mods disabled except this one and it still does not work. I have named it background.png
RayPlayST 2025년 2월 26일 오전 12시 48분 
最近遇到画面闪烁的问题 不知是不是原版还是mod造成的........喜欢你的模组 ~
Recently, I encountered a problem of screen flickering. I don't know if it is caused by the original version or a mod... I like your mod.