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

xyth

Community Moderator
NPCs DMT Mod
 
 
Screenshot.jpg

 
 
 
Description
 
This is a mod that introduces dynamic NPC characters into the game by expanding on the CreaturePack Humans. These NPCs require some of Sphereii's DMT scripts, and these dependencies will be enforced upon loading this mod with the mod launcher. Many issues probably exist and we need help testing to make these NPCs work better.
 
This mod adds many new NPCs to the game. Unlike previous NPCs, these can be hired then issued orders to stay, follow, and guard (patrol eat, drink, and looting POIs for you are  being reworked, or abandoned). All this is configured in XML. Once hired, you cannot kill them, nor can another hireling or allies in your party hurt them. This blocks friendly fire issues. Non hired NPCs are fair game. They are currently set to spawn in the friendly animal spawn group, but you can change that in xml. 
 
You set the patrol route by using invisible patrol blocks.  Likely that will need a video to explain. 
 
In xml you can set what the NPCs eat and drink, what they use for a toilet and what they defecate (if you turn that on), whats their home block, what they use for a bed, food containers, etc. Take a look at the xml and read the comments. The NPCs are an adaptation of the animals used for another mod, so if you want NPCs to breed and lay eggs, well, that could happen with the right xml. Just don't ask me to help you with that 🙂
 
 
Installing
 
The NPC mod is found in the DMT section of the mod launcher or in my repo here:
 
https://github.com/7D2D/A19DMTMods
 
A18 version is here:
https://github.com/7D2D/A18DMTMods
 
This is an DMT mod so it must be compiled with DMT, or loaded by the mod launcher. This mod has several dependencies that must be compiled with this mod for it to work properly. These are:
 
<dependency>0-SphereIICore</dependency>
<dependency>SphereII NPC Dialog Windows</dependency>
 
Find those dependency mods here:
https://github.com/SphereII/SphereII.ModsA19
 
<dependency>0-CreaturePackHumans</dependency>
 https://github.com/7D2D/A19Mods
 
A18 version is here
https://github.com/7D2D/A18Mods
 
 
Known Issues
 
This mod has not had much A19 testing and has so much code we expect you to find issues.
 
No training guide. Sphereii posted details on each new script that contains lots of info on your xml options. But if your confused, feel free to ask questions here. Well, except questions about egg laying....
 
Credits
 
First, thanks to SphereII for creating all the new AI tasks and scripts that make these NPCs possible.
 
Thanks to DarkStarDragon for joining in this project and adding his own NPCs to this mod.
 
And a shout out to Mumpfy who edited the base meshes and retextured several of these new entities.
 
Last edited by a moderator:
The NPCs look great:tickled_pink:

But, my empty jars have quality and don't stack...

If it's only me that's having this problem, I'll go find out what I might have done:cower:

 
FINALLY !!!

The best mod ever is out! :D I must try it asap!!!

Quick question. When you say "In xml you can set what the NPCs eat and drink, what they use for a toilet and what they defecate (if you turn that on), whats their home block, what they use for a bed, food containers, etc. Take a look at the xml and read the comments.", do you mean we need to edit xml or it's optional and we can just use the defaults?

 
You can just use the defaults as that's what we used during testing. If you only want them to drink beer you wouls make that change in xml. The jars not stacking is an artifact of cow things and will be fixed hopefully today.

 
You can just use the defaults as that's what we used during testing. If you only want them to drink beer you wouls make that change in xml. The jars not stacking is an artifact of cow things and will be fixed hopefully today.
Oh wow, I didn't realize it had such complex possibilities. If you want to go that deep, maybe you could somehow make it so that random characters will have random taste? One would prefer beer, another would need coffee, while some other npc would prefer just water?

 
Sphereii's SDX code modlets are very flexible and powerful. In testing we only scratched the surface of what's possible. He documented each class which shows how they are used. My NPCs are just samples we used in testing with xml that seems to provide a stable NPC. For example, move the Maslow task before the patrol task and the NPC will often fail to patrol because hes worried about his next meal. So its best to read Sphereiis documentation before changing things.

 
Oh wow, I didn't realize it had such complex possibilities. If you want to go that deep, maybe you could somehow make it so that random characters will have random taste? One would prefer beer, another would need coffee, while some other npc would prefer just water?
Depending on who uses what, we can add a lot of randomness to the NPCs, even including random skill perk / progression values that make them naturally better at some things.

The issue with giving random tastes is communicating to you what those random tastes are. We touched a bit on the dialog system, but there's more work that needs done. Maybe have an option where you can ask them their preferences and they tell you. Maybe they don't tell you but offer you some context clues? "Dude is always raiding the beer fridge...."

 
By the way, I was trying to install this mod using mod launcher, but when I wanted to add the dependencies, I couldn't find these in the list:

<dependency>SDX_SpawnFromEntityGroup</dependency>

<dependency>SDX_ItemActions</dependency>

Is it currently only possible to install it using SDX itself?

 
I don't see them in the launcher either. I'll see if Sphereii can link those today.

 
By the way, I was trying to install this mod using mod launcher, but when I wanted to add the dependencies, I couldn't find these in the list:<dependency>SDX_SpawnFromEntityGroup</dependency>

<dependency>SDX_ItemActions</dependency>

Is it currently only possible to install it using SDX itself?
They should be available now.

- - - Updated - - -

The NPCs look great:tickled_pink:But, my empty jars have quality and don't stack...

If it's only me that's having this problem, I'll go find out what I might have done:cower:
Jars should be fixed as well.

 
Status
Not open for further replies.
Back
Top