Project Zomboid

Project Zomboid

PZNS NPC Framework
Showing 11-20 of 47 entries
< 1  2  3  4  5 >
Update: Sep 5, 2023 @ 9:29am

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/50
- Special Thanks to Poltergeist (Discord @poltergeist_ix)
- 20+ Languages Translation Created

Update: Sep 4, 2023 @ 6:07pm

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/49
- Special thanks to "lanceris" for this PR https://github.com/lanceris
- 00_references/init.lua - global variable (PZNS) and all necessary namespaces.
.registry tables will eventually be used as a reference to relevant part of ModData for easier access across the codebase
- 03_mod_core/PZNS_NPCSurvivor - Added typings, descriptions and core methods for NPC management
- Changed default values for lastEquippedXWeapon to nil (as those will store reference to InventoryItem). Added default value (empty string) when calling instanceItem in PZNS_UtilsNPCs.PZNS_AddEquipWeaponNPCSurvivor to avoid error.
- 04_data_management/PZNS_NPCsManager - changed logic in createNPCSurvivor, moved creation of IsoPlayer to separate function and added ability to provide existing IsoPlayer (to create PZNS NPC only)
- 05_npc_actions/PZNS_WeaponReload - Fixed bug in PZNS_WeaponReload caused by unknown variable weaponAmmoType (was declared out of scope)

Update: Sep 2, 2023 @ 3:15pm

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/47
- Confirmed and updated for limited RV Interiors support
- RV Interiors works by teleporting the player to the new RV interior map... and I will not be writing a teleporter function for NPCs to follow players into the RV Interiors.
- However, I have confirmed that NPCs will remain where they were on the world map whenever the player enters/exits the RV interiors.
- Because the NPCs are intended to work with the vanilla world map, I cannot guarantee consistent data being saved when the map is loaded, unloaded in a completely different and separate mod.
- So this leaves me with "limited" rather than full compatibility with RV Interiors.
- Video - https://www.youtube.com/watch?v=YW3aEUswLPo

Update: Sep 1, 2023 @ 6:04pm

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/45
- Updated the ticks counter and trackers.
- Companions movements now update at set ticks interval, which should further improve overall game performance.

Update: Aug 24, 2023 @ 2:14pm

Fixes and Updates
PR: https://github.com/shadowhunter100/PZNS/pull/43
- Special Thanks to NightScale5755 - https://github.com/NightScale5755
- Added a nil check for unloaded squares when NPCs are "wandering"

Update: Aug 23, 2023 @ 10:03am

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/42
- Added and Updated conditional checks for spawnining and unloading NPCs.
- Added a function which should allow modders to add a custom Job AI routine to PZNS (To-be-Verified).

Update: Aug 20, 2023 @ 9:54am

Fixes and Updates
PR: https://github.com/shadowhunter100/PZNS/pull/41
- Special Thanks to lanceris (https://github.com/lanceris) for his contribution
- ContextMenu updated, the code is now modular and looks cleaner in-game

Update: Aug 15, 2023 @ 11:25am

Fixes and Updates
PR: https://github.com/shadowhunter100/PZNS/pull/39
- Workaround solution for discussion: https://github.com/shadowhunter100/PZNS/discussions/38
- Added a function to remove non-Zombie corpses within 30 squares of the player with translation files.

PZNS_Framework/media/lua/client/02_mod_utils/PZNS_DebuggerUtils.lua
- PZNS_GetAllObjectsInCell() - Added a few more list API calls, all returned nothing.
- PZNS_RemoveDeadBodies() - Added to remove dead non-zombie bodies within 30 squares of the player.

PZNS_Framework/media/lua/client/08_mod_contextmenu/PZNS_ContextMenuDebug.lua
- Added Remove Dead bodies to the Debug World context menu

Update: Aug 13, 2023 @ 5:09pm

Fixes and Updates
PR Link: https://github.com/shadowhunter100/PZNS/pull/37
- This PR is to address 2 reported issues and a hotfix in which the NPCs were not targeting the player
- NPCs are invisible without any collision models - https://github.com/shadowhunter100/PZNS/issues/34
- Game Crash when offscreen NPC fails to update - https://github.com/shadowhunter100/PZNS/issues/36

Update: Aug 12, 2023 @ 3:49pm

Hotfix: Hostile NPCs weren't targeting and attacking the player survivor.
The PR link will be created later