• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A19 NPCs DMT Mod

Status
Not open for further replies.
Yes, but there's no easy way to enable / disable it in game, so what I was trying to suggest is to build a mod around this feature that would allow players to enable and disable it in game any time. The way this could be done is through crafting a walkie-talkie, use it to contact other friendly survivors and reveal their location on the map.

 
The link to the creature pack human "

<dependency>0-CreaturePackHumans</dependency> " On the first page is broken.Do you have another link? Using the launcher to download takes forever.

 
I don't have a bug to report, just a question. Would it be possible to make NPCs wake up sleepers too? I noticed while clearing a building that NPCs can walk right by sleepers and they don't wake up until I go near them.
Are you saying you dont have this bug? When you tell an NPC to "stay here" or "wander around",do they actually obey the command? Is it just me having this issue? Im on the latest version of Sphereii core , NPC dialogue, NPC creature pack humans, and NPC pack. All on SP ,loaded via mod launcher

 
Are you saying you dont have this bug? When you tell an NPC to "stay here" or "wander around",do they actually obey the command? Is it just me having this issue? Im on the latest version of Sphereii core , NPC dialogue, NPC creature pack humans, and NPC pack. All on SP ,loaded via mod launcher
I just tested it right now as I had yet to actually recruit an NPC before on my map. They do in fact follow commands and do not appear to be trying to go in a particular direction, especially not when told to stay or follow. They do exactly as told. I just tested it in SP, but I assume dedi or MP will be the same.

 
No idea, I'll investigate.

I edited the humanpack xml so NPCs dont show on the map anymore. If you want that feature back, check out the creaturepackhuman entityclasses.xml and remove the comment marks from the compass properties.
On the same note with a similar question, would it be possible to make an NPC get into a vehicle with the player? I noticed that while driving the 4x4 that the NPC that was following me would teleport to me then get run over. I don't really want to kill my NPCs lol. I'm just throwing suggestions out there :)

 
I just tested it right now as I had yet to actually recruit an NPC before on my map. They do in fact follow commands and do not appear to be trying to go in a particular direction, especially not when told to stay or follow. They do exactly as told. I just tested it in SP, but I assume dedi or MP will be the same.
So telling them to stay ,the actually stay in one position and dont move,even after 10-20 seconds? Are you loading the mod through the launcher or DMT viewer?

This is really odd,because im playing it on SP too and i have this issue with everything up to date and no other mods running. Maybe Xyth or Sphereii can confirm if this is an actual issue or if indeed its just on my end.

 
Yes, when I told an NPC to wait, they did. Then I waited to see if they would wander off and they didn't. I don't use a launcher I just throw all my normal mods in the mod folder and DMT mods I just build then hit play from the viewer.

I did notice however that when leaving the game and coming back in, the hired NPC isn't set to follow you anymore, and mine ran off to the SW a few dozen feet then looked at a building. It was just looking at a sleeper inside the building and was back to normal the moment I killed the Z. Maybe the glitch is a weird pathfinding bug where the NPCs are tracking something but never getting to it?? I have no clue lol

 
Last edited by a moderator:
Yes, when I told an NPC to wait, they did. Then I waited to see if they would wander off and they didn't. I don't use a launcher I just throw all my normal mods in the mod folder and DMT mods I just build then hit play from the viewer.
I did notice however that when leaving the game and coming back in, the hired NPC isn't set to follow you anymore, and mine ran off to the SW a few dozen feet then looked at a building. It was just looking at a sleeper inside the building and was back to normal the moment I killed the Z. Maybe the glitch is a weird pathfinding bug where the NPCs are tracking something but never getting to it?? I have no clue lol
Just to clarify..after telling them to stay here,are you as the player backing a few feet away from the NPC,like more than 10 feet away,so the NPC is NOT looking at the player? They seem to freeze in place and not move in every situation when a player is in their proximity.Under these conditions they wont move anywhere.

 
I will have to launch the game again to give you a definitive answer, but when I tested previously I was out of their range that they focus on the player. I then waited for at least a minute and nothing. I already got off for the night though so I will try tomorrow.

 
I will have to launch the game again to give you a definitive answer, but when I tested previously I was out of their range that they focus on the player. I then waited for at least a minute and nothing. I already got off for the night though so I will try tomorrow.
Ok thank you. The only difference i see is that im using the launcher instead of DMT viewer.

@xyth i tried using DMT viewer to compile mods instead of launcher,incase it was launcher that was casuing issues with the mod,i ran into this error while building

Unhandled Exception: System.Exception: 'D:\SteamLibrary\steamapps\common\7 Days To Die\Mods\0-CreaturePackHumans/Config/Localization.txt' Row index mismatch on line: 43. Expected 6 but got 7

at LocalisationTable.ReadFromStream(BinaryReader br, String path)

at LocalisationTable.Load(String path)

at DMT.Tasks.LocalisationPatch.PatchTextFile(PatchDat a data, String sourcePath, String destPath, String patchFilePath)

at DMT.Tasks.LocalisationPatch.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

process exited with error code -532462766

 
Last edited by a moderator:
Ok thank you. The only difference i see is that im using the launcher instead of DMT viewer.

@xyth i tried using DMT viewer to compile mods instead of launcher,incase it was launcher that was casuing issues with the mod,i ran into this error while building

Unhandled Exception: System.Exception: 'D:\SteamLibrary\steamapps\common\7 Days To Die\Mods\0-CreaturePackHumans/Config/Localization.txt' Row index mismatch on line: 43. Expected 6 but got 7

at LocalisationTable.ReadFromStream(BinaryReader br, String path)

at LocalisationTable.Load(String path)

at DMT.Tasks.LocalisationPatch.PatchTextFile(PatchDat a data, String sourcePath, String destPath, String patchFilePath)

at DMT.Tasks.LocalisationPatch.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

process exited with error code -532462766
Try to build it only with DMT mods, then add standard modlets and don't build again, just run the game.

 
Try to build it only with DMT mods, then add standard modlets and don't build again, just run the game.
i though NPC and creature pack mods were DMT mods. Anyway i tried using only sphereii core ,and got this error.

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.

at LocalisationTable.AddRow(String[] newColumns, String[] newRow)

at LocalisationTable.Merge(LocalisationTable table)

at DMT.Tasks.LocalisationPatch.PatchTextFile(PatchDat a data, String sourcePath, String destPath, String patchFilePath)

at DMT.Tasks.LocalisationPatch.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

either way im pretty sure the launcher is building the mods correctly,so the issue of the AI behaviour is most likely something else,i just wanted to bring these errors up.

 
Last edited by a moderator:
i though NPC and creature pack mods were DMT mods. Anyway i tried using only sphereii core ,and got this error.

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.

at LocalisationTable.AddRow(String[] newColumns, String[] newRow)

at LocalisationTable.Merge(LocalisationTable table)

at DMT.Tasks.LocalisationPatch.PatchTextFile(PatchDat a data, String sourcePath, String destPath, String patchFilePath)

at DMT.Tasks.LocalisationPatch.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

either way im pretty sure the launcher is building the mods correctly,so the issue of the AI behaviour is most likely something else,i just wanted to bring these errors up.
Did you get that error through the 7D2D Mod Launcher? Or through DMT? If through DMT, then update your version of DMT. That issue was fixed many moons ago, as neither the mod launcher or DMT does anything special to the localization, as its handled by the base game.

 
Did you get that error through the 7D2D Mod Launcher? Or through DMT? If through DMT, then update your version of DMT. That issue was fixed many moons ago, as neither the mod launcher or DMT does anything special to the localization, as its handled by the base game.
ok thanks Sphereii

thats the DMT launcher error.

so you think that the AI issue im having with NPCs walking away is down to an issue with me launching from the launcher? I get the feeling that if i use DMT i will still have that issue...

From what i see Sphereii core was updated 3days ago ,while the NPC mods have been updated more recently. Is that the problem?

I would try again through DMT ,would you be able to link me a version of the newest version of DMT? I only found one and that one you say is outdated.

Thanks again

edit i see version 1.51 on main page

 
Last edited by a moderator:
We are still working on the SDX AI Tasks. Just report what you are seeing as it helps us debug. Remember this is a highly complex work in progress. Things that worked will break as new features are added. Then they will be fixed.

On the NPCs in vehicles, its not on the near term list of things to do.

 
We are still working on the SDX AI Tasks. Just report what you are seeing as it helps us debug. Remember this is a highly complex work in progress. Things that worked will break as new features are added. Then they will be fixed.
On the NPCs in vehicles, its not on the near term list of things to do.
Yeah understandable,i just thought i was the only one with the issue.For example another user commented he had no such issue,im starting to think he was using the previous version of Sphereii core.

Il summarize the issues in detail iv seen to help you fix issues:

1) AI in wander and wait states start walking slowly 10 paces at a time south to south east,never stopping.

2) while in above state they WILL leave that state if player is aggro'd by zombie,and help player

3) while in the 2nd mentioned state,if engaging a zombie,the NPC will stop attacking the zombie after x amount of time(usually 15-25 seconds),even if zombie is still alive(but no longer aggroing player) and continue south direction

4 )NPCs who get too near traders inherit trader voice dialogue

5) NPCs sometimes teleport to player and suddenly die(most noticable on uneven surfaces)

6) enemy animals ignore NPCs

7) teleporting sometimes results in NPCs teleporting in front of player

8) AI NOT teleporting to player if player is upstairs or in a basement(im guessing the way teleport works is based off map coordinates and not actual height distance to player)

9) AI trying to dig through mountains instead of walking up them(not steep) . This is very noticable when observing point number 1.

Other than that you already know that the AI stop following player when player is driving and they aggro a zombie.

Thanks for all the hard work,if you need me to test anything ,im still in quarantine ,so iv a fair amount of time and would like to test or help out.

@sphereii i used DMT to build mods and the newest version did infact work and built fine,thanks for the heads up.

 
Last edited by a moderator:
I think I know what #3 is, and might have a fix. #1 is a known issue that almost got fixed but the code change disappeared :-) #2 is working as intended 4 and 5 I have not seen yet, but i have not tested those. #6 will be fixed with faction based targeting, which im working on now. 7 and 8 same as 4 and 5. Never seen an NPC dig. Didnt know they could.

 
Never seen an NPC dig. Didnt know they could.
I saw it myself and I thought that's not a bug, but a feature lol

By the way, speaking of digging and smashing, I think it's pretty hilarious to see NPCs and non-interactable human survivors smash the unlocked door. Ugh... A BIG DISADVANTAGE of not using DMT for every creature anymore! DMT allowed NPCs to open the door, right? Not sure if it still works at least for NPCs. I saw a survivor who was trying to get into a house, found an unlocked door and started smashing it lol so I came to him and opened the door for him, he ran inside and then I heard his typical "motherf*ckeeeeeeer...", so I knew that he finally met his new friend.. :p

 
Last edited by a moderator:
Just FYI, latest core has cause issues with weapon positioning on some NPCs, should be fixed tomorrow.

 
I think I know what #3 is, and might have a fix. #1 is a known issue that almost got fixed but the code change disappeared :-) #2 is working as intended 4 and 5 I have not seen yet, but i have not tested those. #6 will be fixed with faction based targeting, which im working on now. 7 and 8 same as 4 and 5. Never seen an NPC dig. Didnt know they could.
# 5 Happened near the traders, #4 did too..i'v dubbed trader areas as the Bermuda triangle of 7days to die when using the mod lol and therefore i have always ventured there solo.

The digging is probably happening with NPCs with certain walk types perhaps? If i recall correctly i saw the NPC called GUPSOLDIER HUNTER(Black dude with shaved head) doing the digging.

And with #2 i know its intended,i just wanted to point out that that behaviour snapped NPC out of issue #1(the SW wander thing)

Thanks Xyth. i stopped using the launcher and switched to DMT viewer because my internets slow and downloading from launcher takes hours. Is there anyway at some point you could add a link to github for creature human pack?The link on the front page isnt working and other than launcher i cant find another place to get an up to date version usually.

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top