Project Zomboid

Project Zomboid

PZNS NPC Framework
Viser 11-20 af 47 forekomster
< 1  2  3  4  5 >
Opdatering: 5. sep. 2023 kl. 9:29

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

Opdatering: 4. sep. 2023 kl. 18:07

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)

Opdatering: 2. sep. 2023 kl. 15:15

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

Opdatering: 1. sep. 2023 kl. 18:04

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.

Opdatering: 24. aug. 2023 kl. 14:14

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"

Opdatering: 23. aug. 2023 kl. 10:03

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).

Opdatering: 20. aug. 2023 kl. 9:54

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

Opdatering: 15. aug. 2023 kl. 11:25

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

Opdatering: 13. aug. 2023 kl. 17:09

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

Opdatering: 12. aug. 2023 kl. 15:49

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