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

NPCMod and Addons

Hi there! I just have a quick question. I'm not sure if I asked this, but the NPC XP amount when I open their inventory, is a lot to me; like 1900 or something. I level fast just by doing that. I tend to open quite a bit. Is there an edit for that? I presume it's in one of the NPC folders. Any easy step instructions would be nice!
New testing version of SCore that works on b316:   https://github.com/7D2D/V1.0-Mods/blob/main/0-SCore.zip

Added link to a new expansion pack, DarkStar's Preppers.   Lots of custom work in this pack, enjoy.

 
Last edited by a moderator:
Hi xyth, thanks for reaching back, and is this correct? What I'm understanding from you is that this modding for changing the xp of opening the NPC inventory, is in mods/blob/main/0-SCore?

Waiting on your reply.

I haven't been on my laptop recently, but I'll be able to take a look today/tonight.

Also, would I have to change what I changed on my other users' laptop(s), or would their data change to my edited change when joining my world?

 
Last edited by a moderator:
Hi xyth, thanks for reaching back, and is this correct? What I'm understanding from you is that this modding for changing the xp of opening the NPC inventory, is in mods/blob/main/0-SCore?

Waiting on your reply.

I haven't been on my laptop recently, but I'll be able to take a look today/tonight.

Also, would I have to change what I changed on my other users' laptop(s), or would their data change to my edited change when joining my world?
Erm, I just looked at where 0-SCore  is at, but there is no "blob/main". 

Mine shows Mods/0-SCore/(then either: Caves, Config, Documentation, Harmony, Licenses, Prefabs, Properties, Resources, Scripts, UIAtlases) for a folder. Which one of these? Remember: I'm still running Alpha 20.7 Stable.

 
Erm, I just looked at where 0-SCore  is at, but there is no "blob/main". 

Mine shows Mods/0-SCore/(then either: Caves, Config, Documentation, Harmony, Licenses, Prefabs, Properties, Resources, Scripts, UIAtlases) for a folder. Which one of these? Remember: I'm still running Alpha 20.7 Stable.
As I stated, at this point we do not know where the exp is coming from when opening NPC backpacks.  On any version.

 
Pushed 1.0.3 of the NPCCore.

Add 1-Mechpack, needs testing

Changes:

Harley Ranged versions and Mechs now use `<property name="Class" value="EntityNPCBandit, SCore" /> ` , a new class that likely will replace the EntityEnemySDX class..

Fixed Soundtime values to remove decimals that threw warnings in log.
Fixed gamestages.xml
Made ranged entities miss more often at longer ranges (more degrees of H and V variance)
UAI edits, tuning for ranged bandits and mechs
Added dependency mod checks, message added to menu screen at bottom if a dependency is missing
Added a chance of a knockdown when NPC ranged weapon Melee is used, heavier weapons have more chance.

 
As I stated, at this point we do not know where the exp is coming from when opening NPC backpacks.  On any version.
Ah, sorry about that. Didn't know if you meant for your new Alpha 21/22 version or any version. Didn't really clarify that. I understand now. If you find it, you can let anyone know. I'm sure some, most, or everyone here on discussion might be wondering too somewhat.

(Or just me).😆

 
Last edited by a moderator:
Here is an updated addition for the NPC Mod for V1.0.

2-NPCXSpiderPack-ColonyExpansion

Download here: https://github.com/arramus/V1-NPCMod/blob/main/2-NPCXSpiderPack-ColonyExpansion.zip

This expansion pack is dependent on having Xyth's 1-NPCXSpiderPack Add On folder in your Mods folder.

Features:

- Regular, Feral, Radiated, Queen, and Mini spider types

- Custom POIs (requires generating an RWG)

- Able to climb ladders

- Spider bite toxin gives blurred vision

2LYhSlk.jpeg


GvBZk0t.jpeg


 
2024-07-16T15:02:44 337.750 WRN XML patch for "entityclasses.xml" from mod "2_NPCXSpiderPack_ColonyExpansion" did not apply: <append xpath="/entity_classes/entity_class[@name='animalSpider01']">
  <property name="LootDropProb" value=".02" />
  <!-- Whether it drops a loot bag on death or not. -->
  <property name="LootDropEntityClass" value="EntityLootContainerRegular" />
  <property name="CanClimbLadders" value="true" />
</append> (line 4 at pos 3)
2024-07-16T15:02:44 338.091 ERR XML loader: Loading and parsing 'entityclasses.xml' failed
2024-07-16T15:02:44 338.094 EXC Did not find 'extends' entity 'animalSpider01'
  at EntityClassesFromXml+<LoadEntityClasses>d__1.MoveNext () [0x00175] in <e36a8a99a59140168271d964e85a0efd>:0 
  at ThreadManager+<CoroutineWrapperWithExceptionCallback>d__51.MoveNext () [0x00044] in <e36a8a99a59140168271d964e85a0efd>:0 
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
<>c__DisplayClass51_0:<loadSingleXml>b__4(Exception)
<CoroutineWrapperWithExceptionCallback>d__51:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Just to note as well, I was getting a few red errors with other zombies spawning when I had this installed. 

I will have to try later to see if they remain or go away next time. 

 
Last edited by a moderator:
One of the warnings suggests 'Did not find 'extends' entity 'animalSpider01'.
Can you confirm that 1-NPCXSpiderPack Add On Mod is in your Mods folder?

 
Since moving my mods to the 7dtd mods folder (instead of the mod launcher like I am used to) I have noticed an issue with npc's. Just wondering if anyone else is experiencing this as well.

251570_2.jpg

251570_22.jpg

 
Last edited by a moderator:
Since moving my mods to the 7dtd mods folder (instead of the mod launcher like I am used to) I have noticed an issue with npc's. Just wondering if anyone else is experiencing this as well.

Only saw that if you changed things significantly and didnt start a new game, or if the version of SCore used is too old.  

 
I noticed it on my first game when I moved out of the mod launcher. Deleted that save and started a new save, and still having that happen. All of the other mods are the same as they were on the launcher, so the only real change was putting the mods into the 7dtd mod folder. Kinda bummed, I like my soldiers....

Also, forgot to mention, I downloaded the new SCore and NPCcore as well. 

 
Last edited by a moderator:
Its likely that another mod is now causing the issue.  Test with just the NPCCore, SCore and 0_TFP_Harmony mods loaded.  If that works, add the 1- npc expansion packs.  If its still working add your other mods 1 by 1 and retest.

 
Latest update seems to have broken NPCMod "windows.xml.

I get this error in red and game stops loading, if I remove SCore and NPCCore game loads.

2024-07-20T16:46:55 25.369 ERR [XUi] Error while updating window group 'windowEula':
2024-07-20T16:46:55 25.370 EXC Method not found: System.Action Platform.IUserClient.IsConnectToServerFromCommandline()
  at (wrapper dynamic-method) XUiC_MainMenu.DMD<System.Void XUiC_MainMenu:Open(XUi)>(XUi)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Void XUiC_MainMenu:Open(XUi)>(XUi)
  at XUiC_EulaWindow.Close () [0x0008b] in <9012b453657e4cfc9b8737a1be61667f>:0 
  at XUiC_EulaWindow.Update (System.Single _dt) [0x00046] in <9012b453657e4cfc9b8737a1be61667f>:0 
  at XUiController.Update (System.Single _dt) [0x00084] in <9012b453657e4cfc9b8737a1be61667f>:0 
  at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00159] in <9012b453657e4cfc9b8737a1be61667f>:0 
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()

Hope this helps xyth.

 
Back
Top