Project Zomboid

Project Zomboid

Ocen: 153
BzoukPzHotBarNew
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
881.717 KB
6 stycznia o 10:31
3 lipca o 6:33
Listy zmian: 6 ( zobacz )

Zasubskrybuj, aby pobrać
BzoukPzHotBarNew

Opis
Hot bar mod v2
Hi everybody,

This is new version of my old mod The functionality is essentially the same.
Do not use the old and new mod at the same time. !!!

New stuff:
- Code is in Typescript and then it's transcribed into Lua. Thank to PipeWrench[github.com]
- Same info panel about the item as in the inventory when hover over slot.
- Hide delete button option
- The mod imports settings from the old mod. (Old file name:bzhotbar.ini, new file name: pzhotbar.ini)
- no HYPHEN in mod ID

Same old description

This mod adds quick access bar for items from player inventory. The main reason I made this mod is because I'm lazy to go through the inventory and look for one item that I just need. Mod idea is based another mod Hotbar for 5-20 often-used and also other games (Wow EFT etc.). Mod is also using library "Blindcoders Modding Utility".

PZ: build 41 - singleplayer

The basic version of mod have one bar with 1 row and 8 columns. You can drag bar around. Bar is using same windows like inventory page (X for hide and pin for collapsable window).
Also you can use Mod Options to add more quick access bars. With modoptions mod you can set number of bars from 1 to 5. How many rows and columns for each bar will have. Also default key for toggle bars can be changed with modoptions ( default: tab )


Usage
Pres "tab" for show/hide bars. Drag and drop item into slot. You dont need to have item in inventory to add it to slot. Slot counts non broken items in inventory ( number in slot example: (24) items in inventory and in all containers that you have on you ( even in containers in containers like bandage in medkit in backpack))

Broken items are iqnored, you have to go into inventory to work with them.

Right click: Same like in inventory window.

Left click have smart functions based on item in slot. Functions are using code already in project zomboid. Many function return used item into original container.


Example:
1) Click slot with Disinfectant ( item is inside medkit in backpack) 2) Disinfectant is moved to main inventory if needed 3) Disinfectant is used on damaged parts 4) Disinfectant is moved inside medkit in backpack if still exist.
Note: If you cancel action, item will remain in main invetory (start running etc.).

- Food
This works like double click in inventory (Cola, Chips, Cigarettes)
If food is non posion eat half or use whole if cigarettes ( need lighter :-) ) etc.
After use item returns to original container.

- Water
If item contain water, player is thirsty and water is not tainted then drink.
After use item returns to original container.

- Pills (BetaBlock, AntiDeb, SleepingTablets and Vitamins)
Take pill. Same like right click but item is put in original container after use.

- Disinfectant and AlcoholWipes
Apply alcohol on every damaged body part without alcohol.
After use item returns to original container.

- DishCloth BathTowel
Like right click option - dry yourself with a towel

- Thread
If you have needle in inventory it will stitch all deep wounded body parts.
After use item returns to original container. (needle and thread)

- Hand weapon
If two handed then equip two handed else one hand. New feature: swap weapon and item in hand to weapon container
Idea: spear -> broke -> click on slot with spears -> re equip new -> broke -> click on slot with spears -> re equip new

- Bandage (should work on any item that can bandage)
Clean burns if bandage is strong or apply bandage on damaged part

- Clothing
Equip right click - change to right etc.).

- Literature
Start reading.

- Suture Needle Holder or Tweezers
Remove all glass and bullets from damaged parts.
After use item returns to original container.

- Suture needle
Stitch one deep wounded body part.
After use item returns to original container.

- Comfrey Cataplasm
Apply to fractured body part without any comfrey.

- Wild Garlic Cataplasm
Apply to one infected wound without any comfrey.

- Plantain Cataplasm
Apply to one scratched, deep wounded or cut body part without any comfrey.

- Splint
Apply to fractured body part without any splint.

- Other items
Do nothing -> use right click

- Radio
Equip/unequip radio

Tips and ideas for items :
- ammo -> counter how many bullets|shells
- ammo box - right click -> open box
- watches - Equip -> add to slot -> right click to set alarm etc.
- items for quick crafting
- do not forget items
- spears -> broke -> left click -> re equip -> broke -> left click -> re equip (need to throw away broken ones)
- any item with info after right click (compass, radios gps...)
...


Summary

PZ: build 41 beta only
Required mods:
blindcoders Modding Utility (saving data to ini)

Optional mods:
Mod Options

Tab key for show/hide bar

Languages
- english
- czech
- french - @Bobitec + google
- spanish - @WhiteLotus + google
- chinese
- russian

Known issues - game features
- some items in inventory have same name (group under same name), but they are different items
- right click crafting need items to be in main inventory or backpack (game mechanic)

Tags:B41,Interface

Workshop ID: 3133189049
Mod ID: pzhotbar
Popularne dyskusje Zobacz wszystkie (1)
0
4 sierpnia o 5:18
Customization / Layout
Boeker
Komentarzy: 52
bzoukLop  [autor] 6 listopada o 5:25 
@DethMarine They are still useful and still have benefits like faster animations. But you can play without them.

The first tests with the new inventory change detection look promising.
DethMarine 5 listopada o 12:56 
So does this make belts, holsters not needed anymore?
bzoukLop  [autor] 26 października o 10:04 
I probably find some other way how to check items update. I will test it when I have time.
bzoukLop  [autor] 23 października o 1:43 
@진서 I need to find the right way to set up item updates. I only found one where it worked 100 percent, but the problem is it's not optimal at all. If anyone knows how to do this, I would appreciate any advice.

@TJSlayer10 Do you mean the Radial menu where you can add items similar to the Hotbar? This could be another mod. I'm not making any promises, but when I have time to look into the mod lag issue, I'll see how complicated it would be.
TJSlayer10 7 października o 11:39 
@bzoukLop can you help with creating a Radial Menu for me that allows players that are using controller to access hotbar items? I'm willing to pay if needed!
jodoo20 4 października o 6:59 
thx bro
bzoukLop  [autor] 24 września o 3:21 
@Strelok Not planning to. I am curently wainting for new version and also a i have less time, but updating dor new version, I will try to find time for update.

@N0wh3re Reset should happend with pressing tab. I will try to test it again.

@DoktorFar Thx for info.
Strelok 22 sierpnia o 14:15 
This mod is a must have! Please never abandon it
N0wh3re 16 sierpnia o 0:42 
Hello, How can i reset UI position? because it disappeared when i changed a resolution, and it didn't comeback after i roll-back to original resolution. (1920x1080 -> 1600x900 -> 1920x1080)
DoktorFar 19 lipca o 16:51 
@bzoukLop could very well be, I have a bunch of other mods. But, I don't have the problem anymore except that first time loading my save after enabling the your mod, just forgot to mention it. It works without problem now, can hide/show at will :steamthumbsup: :)