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

NPCMod and Addons

I would hold off on attempting to download any of the packs ive done until later today, controller, code and other changes have been made but not applied yet.

 
Consider updating your NPC Mod Add On Packs (for Darkstardragon's offerings) if they were downloaded a few days ago as they were updated to balance their spawn rates and spawn locations. They were inappropriately spawning in those Downtown type areas as well.

They were released a touch too early and still had their higher value spawn rates for testing, as well as being allowed to spawn in places they shouldn't. The updates will be a different experience. It is horrifying to think of how things were faring with the cumulative effect of them spawning Downtown at higher rates alongside the Dangerous Cities Mod pumping them out even more!! Your description is very accurate.

It's probably a good idea to download everything (including Score and XNPCCore) again as some nice fixes and optimisations have been put in place.
A21 requires a lot of 'overhauling' and just getting to this stage has been nothing short of a splendid achievement for those in the background putting the time in to balance things out.
thanks, i will give that a shot, i did grab the xnpcCore  from yesterday's upload a few moments ago, ill also grab the rest of the mod as recomended 

I would hold off on attempting to download any of the packs ive done until later today, controller, code and other changes have been made but not applied yet.
sounds good i will hold off on those for now

 
Fixed a bug where NPCs would run endlessly into trees.  Issue was the treeMaster block was not marked as solid, so NPCs saw going through this as a valid path.  Zombies would act the same, but it would then trigger the breakblock AI task and attack the tree.  You may have seen that behavior on zeds before, they attack a tree rather than taking a better path.  That is also fixed by this edit.  Possible consequences is if you are using a mod that enables crop trampling, seedling trees might not get trampled when they are in the first stage of growing. 

 
Hello, I hope this is the right way to report a bug I found, also sorry for my english.

Summary: Game stuck when trying to exit game when drone is out

Game Version: A21 Stable

Platform: PC, Windows 11

Video Settings: Ultra

Game mode: SP

Did you start a new game? Yes

Did you validate your files? Yes

Are you using any other mods? No, only Score, Xnpccore and Darksoldierz

EAC off?  Yes

Bug Description: Game stuck when trying to exit game when drone is out with Hired npc. Drone is lost if game is ended using end task from task manager. Game exit normally if I take drone back into inventory.

Detailed steps to reproduce the bug: Bring out the drone then hire an npc, take back the drone and bring it out again after that.

Actual result: Game stuck when clicking Exit game from menu, using shutdown command will make the game freeze and not responding.

Expected result: Game exit to menu.

Error from logs :

2023-07-10T08:40:30 351.918 INF [Steamworks.NET] NET: Server stopped
2023-07-10T08:40:30 351.919 INF [EOS-P2PS] Server stopped
2023-07-10T08:40:30 351.920 INF SaveAndCleanupWorld
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <03bd9b261dff4c2b8b568aca27f561b2>:0 
  at DroneManager.RemoveAllVehiclesFromMap () [0x000c6] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at GameManager.SaveAndCleanupWorld () [0x0006e] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at ConnectionManager.StopServers () [0x00028] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at GameManager.Disconnect () [0x0014c] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_InGameMenuWindow.exitGame (XUiC_SaveDirtyPrefab+ESelectedAction _action) [0x00022] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_InGameMenuWindow.BtnExit_OnPressed (XUiController _sender, System.Int32 _mouseButton) [0x00031] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_SimpleButton.Btn_OnPress (XUiController _sender, System.Int32 _mouseButton) [0x00010] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiController.OnPressed (System.Int32 _mouseButton) [0x0000e] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiController.Pressed (System.Int32 _mouseButton) [0x00000] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiView.OnClick (UnityEngine.GameObject _go) [0x0003f] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at UIEventListener.OnClick () [0x0001c] in <0266d593c0f442fa83ca9e728741ee90>:0 
UnityEngine.GameObject:SendMessage(GameObject, String, Object, SendMessageOptions)
UICamera:Notify(GameObject, String, Object)
UICamera:ProcessRelease(Boolean, Single)
UICamera:ProcessTouch(Boolean, Boolean)
UICamera:ProcessMouse()
UICamera:ProcessEvents()
UICamera:Update()


Thanks.

 
Uploaded Darkstar's RaiderGurlz, back by popular request.  There are two packs, one bandit, one friendly.  Only load one or the other, not both.
Can't tell if its a minor glitch or a game issue.

Gave her a auto shotgun and other then the fact its invisible everything fine.

addaad.jpg

 
Hello, I hope this is the right way to report a bug I found, also sorry for my english.

Summary: Game stuck when trying to exit game when drone is out

Game Version: A21 Stable

Platform: PC, Windows 11

Video Settings: Ultra

Game mode: SP

Did you start a new game? Yes

Did you validate your files? Yes

Are you using any other mods? No, only Score, Xnpccore and Darksoldierz

EAC off?  Yes

Bug Description: Game stuck when trying to exit game when drone is out with Hired npc. Drone is lost if game is ended using end task from task manager. Game exit normally if I take drone back into inventory.

Detailed steps to reproduce the bug: Bring out the drone then hire an npc, take back the drone and bring it out again after that.

Actual result: Game stuck when clicking Exit game from menu, using shutdown command will make the game freeze and not responding.

Expected result: Game exit to menu.

Error from logs :

2023-07-10T08:40:30 351.918 INF [Steamworks.NET] NET: Server stopped
2023-07-10T08:40:30 351.919 INF [EOS-P2PS] Server stopped
2023-07-10T08:40:30 351.920 INF SaveAndCleanupWorld
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <03bd9b261dff4c2b8b568aca27f561b2>:0 
  at DroneManager.RemoveAllVehiclesFromMap () [0x000c6] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at GameManager.SaveAndCleanupWorld () [0x0006e] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at ConnectionManager.StopServers () [0x00028] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at GameManager.Disconnect () [0x0014c] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_InGameMenuWindow.exitGame (XUiC_SaveDirtyPrefab+ESelectedAction _action) [0x00022] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_InGameMenuWindow.BtnExit_OnPressed (XUiController _sender, System.Int32 _mouseButton) [0x00031] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiC_SimpleButton.Btn_OnPress (XUiController _sender, System.Int32 _mouseButton) [0x00010] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiController.OnPressed (System.Int32 _mouseButton) [0x0000e] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiController.Pressed (System.Int32 _mouseButton) [0x00000] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at XUiView.OnClick (UnityEngine.GameObject _go) [0x0003f] in <0266d593c0f442fa83ca9e728741ee90>:0 
  at UIEventListener.OnClick () [0x0001c] in <0266d593c0f442fa83ca9e728741ee90>:0 
UnityEngine.GameObject:SendMessage(GameObject, String, Object, SendMessageOptions)
UICamera:Notify(GameObject, String, Object)
UICamera:ProcessRelease(Boolean, Single)
UICamera:ProcessTouch(Boolean, Boolean)
UICamera:ProcessMouse()
UICamera:ProcessEvents()
UICamera:Update()


Thanks.
Just verifying and confirming on a new World in Nevezgane with just Score and XNPCCore.

A counting issue it seems...
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

xzHcQ1G.jpg


 
Just verifying and confirming on a new World in Nevezgane with just Score and XNPCCore.

A counting issue it seems...
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index



Confirmed.  Nice find.  Will see if we can get that fixed quickly

Can't tell if its a minor glitch or a game issue.

Gave her a auto shotgun and other then the fact its invisible everything fine.

View attachment 28500
Likely a simple uncheck box in Unity, I will let Darkstar know

Just FYI, expect more bugs to be found in the coming weeks.  This mod has a ton of new code, so things can go sideways at unexpected times.  There is a reason TFP is taking time to even add simple bandits.  This stuff is hard.   Currently we are noticing under some conditions the NPCs stop attacking or move slowly until they either attack or are knocked down.  Still hunting this bug. 

 
It really depends on how the Better Vanilla Pack is changing things. NPC Mod things generally load before other mods because of the 'alphabetical' loading order. If a mod loading after the NPC Mod and Add On packs makes some fundamental resets, it will wipe out all of the NPC Mod actions.


Should I rename it to load AFTER the better vanilla mod then or keep the file names as is (with the 0 in the front) ******EDIT NVM I see you said this to another member so I will try this out and see if it works :) Thanks again!!***

 
Last edited by a moderator:
Day 12 in Navezgane, still no birds or spiders (including nest(s)). I don't even know what to look for or where in-game. I have all the latest from here as I know things are still being worked on. I also have DarkRaiderGurlzFriendly installed which works fine so far, haven't hired any yet though.

 
Last edited by a moderator:
Day 12 in Navezgane, still no birds or spiders (including nest(s)). I don't even know what to look for or where in-game. I have all the latest from here as I know things are still being worked on. I also have DarkRaiderGurlzFriendly installed which works fine so far, haven't hired any yet though.
Can you spawn the birds or spiders with f6? Also, in your %appdata% 7dtd folder, in generated worlds > prefabs do you see any of the spider pois spawning?

 
Day 12 in Navezgane, still no birds or spiders (including nest(s)). I don't even know what to look for or where in-game. I have all the latest from here as I know things are still being worked on. I also have DarkRaiderGurlzFriendly installed which works fine so far, haven't hired any yet though.
The spiders appear in the Wasteland and Desert. The Colony Expansion spiders also have their own POIs once generated in a RWG World and they can appear anywhere.

 
Can you spawn the birds or spiders with f6? Also, in your %appdata% 7dtd folder, in generated worlds > prefabs do you see any of the spider pois spawning?
I went into the desert, hung out for a while exploring the entire desert area, spammed F6 in a dozen places (EDIT: Didn't know about DM mode, will try again later), opened command to see if anything came up relating to birds or spiders, nothing... just a bunch of Raider girls killing stuff. No nests at all, no spiders. I did see 2 vultures, but that's vanilla. Unless TFP removed them and that's what this bird mod does is bring them back?

EDIT: Sorry, forgot to check the prefabs file while the mods were still installed, but I did look in there afterwards and searched for the keyword spider and nest and nothing came up. I imagine it was too late cuz it was uninstalled, but maybe it wasn't?

The spiders appear in the Wasteland and Desert. The Colony Expansion spiders also have their own POIs once generated in a RWG World and they can appear anywhere.
Thanks. I hardly ever go there for anything, so maybe it's pointless for me to have that mod installed anyway. Though I was curious so I went there to see them but obviously saw nothing as I described above.

Something else I'd like to point out and I kind of doubt the mods are the cause of this but my fps went from the capped 144 down to 12 when one of the wandering hoards spawned in near my base area. Killing the zeds didn't fix anything. Had to lower a few settings from Ultra+ to high to I guess reset some stuff which bumped me back to 144 again. I'll try Ultra+ again now that I uninstalled all but the raider girls and core stuff and I'll see if it happens again.

EDIT: Turns out having a buttload of full grown trees in a small area tanks fps when everything is maxed.

 
Last edited by a moderator:
I went into the desert, hung out for a while exploring the entire desert area, spammed F6 in a dozen places, opened command to see if anything came up relating to birds or spiders, nothing... just a bunch of Raider girls killing stuff. No nests at all, no spiders. I did see 2 vultures, but that's vanilla. Unless TFP removed them and that's what this bird mod does is bring them back?

Thanks. I hardly ever go there for anything, so maybe it's pointless for me to have that mod installed anyway. Though I was curious so I went there to see them but obviously saw nothing as I described above.

Something else I'd like to point out and I kind of doubt the mods are the cause of this but my fps went from the capped 144 down to 12 when one of the wandering hoards spawned in near my base area. Killing the zeds didn't fix anything. Had to lower a few settings from Ultra+ to high to I guess reset some stuff which bumped me back to 144 again. I'll try Ultra+ again now that I uninstalled all but the raider girls and core stuff and I'll see if it happens again.
Did you load both the base spider pack then his expansion pack?  Any error in the log?   You hear birds more often than see them, but again, that mod might not be loading due to a log error

 
Did you load both the base spider pack then his expansion pack?  Any error in the log?   You hear birds more often than see them, but again, that mod might not be loading due to a log error
Nothing red came up, but I didn't read every line as, well... a lot of text comes up all the time. Maybe I should have paid more attention for the yellow texts?

Didn't hear any birds either. And yes, I loaded both spider mods (yours and the expansion).

 
Nothing red came up, but I didn't read every line as, well... a lot of text comes up all the time. Maybe I should have paid more attention for the yellow texts?

Didn't hear any birds either. And yes, I loaded both spider mods (yours and the expansion).
When you are in DM, and press F6, can you spawn a bird?  I just went in game an spawned a few.  Maybe the spawn rate needs bumping up a bit

 
Last edited by a moderator:
When you are in DM, and press F6, can you spawn a bird?
Ok, so after re-installing the mods, going into DM mode which I didn't know I needed to do for F6 to work, I was able to get spiders to spawn, but could not find any birds in the list at all. Is it named bird or something weird?

Ok, so I was able to find robin (and others now that I know to filter / search under animal) and that spawned in just fine... although damn some of those things are small. So maybe it all works fine and I'm just not able to see them naturally spawn in cuz I'm in a biome that only spawns in tiny birds (base located in large corn field near city)?

 
Last edited by a moderator:
Pushed .08 version update:  Added tags for each weapon type that an NPC can swap to.  This fixes a bug where if the Character author only wanted some weapons to be used on a character, they could specify only to use those weapons.

Darkstars soldiers and friendly Gurlz are now updated to this new system, so be sure to download those updates.  This version also requires the latest version of SCore.  

 
Back
Top