Jump to content

[WIP] Some tools oriented NPCs management


Recommended Posts

Here are some tools and libs to help managing NPCs.

 

CAUTION : all mods here will work only on some NPCs, excluding :

  • Respawning NPCs (too much problems on these to give support)

For now there are the only one I'm able to test and avoid but if I find other methods to eliminate problematic NPCs I'll do.

 

Caution 2 : some mods (for example "A World Of Pain") have NPCs not having the respawing flag set but are respawned by code. I can't test this but this sort of NPC can give problems. So you may avoid trying manage NPC who don't have a unique name.

 

So :

 

STV01zNPCOvaStatus

Status : final beta 0.9.1

 

This mod adds NPCs some pipboys of different color according to the status of the "SexoutPregnacyV3" menstrual cycle.

  • Pipboy is yellow if Ovas are present on NPC
  • Pipboy is pink if NPC is pregnant
  • Add a SPV3 fertlity token if female NPC don't have one

You can manage NPCs by usiing 'Left-Shift'+'Activate'

 

Required :

  • SexoutPregnancyV3 and all dependencies

For modders : you can deactivate the perk to manage the add/remove of the controller yourself

 

 

STV02aHumanOffsprings

Status : alpha under development (so use at your own risk and to help debugging)

 

This mod manage offsprings produced by "SexoutPregnancyV3" with some different features for children :

  • They can be differentiated
  • They grown to teenager then to adults
  • They can have dialogs (so you can manage then with any mod like for example CSR)
  • At birth they follow their mother 
  • For now they only know who is their mother

Some children (copy of vanilla ones) are present in 'STV02bVanillaChildren.esp' but you can replace this by other mod (see spoiler)

 

 

To do a mod furnishing other children you must do 2 things :

Each children must be scripted with the script existing in 'STV02aHumanOffspringsDatas.esm' else it will be rejected

You must populate the formlists existing in 'STV02aHumanOffspringsDatas.esm' with your children

Only one mod with children can be present in a game so if you just want to add some childre, make a copy of 

'STV02bVanillaChildren.esp' with an other name and add yours.

 

 

Required : (load order)

  • SexoutPregnancyV3 and all dependencies
  • SexoutOffSpring.esm
  • STV02zSPV3patchforSTV02a.esm
  • STV02aHumanOffspringsDatas.esm
  • some mod with children (for example 'STV02bVanillaChildren.esp')
  • STV02aHumanOffsprings.esp

 

STV01aDataLib

Status : alpha under development (so use at your own risk and to help debugging)

 

This mod is a lib for managing NPCs. For now it's basis and I'll implement more features as I need them in my future mods (if any) and principally if I launch SexoutSlavers 3.

 

Features : (orders are given by dialog or by 'shift'+'activate' NPCs)

You can deposit beacons (5 for now) to attach NPCs near them (equip the beacon manager to set a beacon)

  • You can order NPCs to
    • Follow you
    • Wait at the nearest beacon (if one is near)
    • Relax near the nearest beacon (if one is near)
    • Open their inventory
  • You can set NPCs as :
    • Slave (no use for now)
    • Sex slave (no use for now)
    • Main slave (no use for now)

For modders : 

  • you can deactivate the perk and topic quest to manage the NPCs yourself (see how to in perk and topic quest)
  • you can add static beacons by adding them in the beacons array 
  • main slave set one slave as the one selected for further actions you'll do (selling to NPX, train, ...) by setting a specific var in the vars quest (see code)

 

 

Good game and sorry for my bad english

 

 

 

Link to comment

Cool stuff, I would be happy to drop SexoutOffspring if this replaces it as I have little interest in handling the Offspring management really, and suck at dialogue package stuff so you could then merge this into SexoutOffSpring as a replacement and take it over if you liked :)

 

Just note this probably won't work with the current beta of SCR & Pregnancy 20141026.1 or later, I think only only because I changed the names of the Human Offspring ID's to make them compatible with terms used in Gestating OffSpring, it made duplication of Pregnancy scripts much simpler.

But it will be a few months in testing before I release them as stable, and we can sort that out then, I'll do an esp patch you can merge in.

 

I'll check them both out with the beta's and see if there are conflicts I can fix at my end.

Link to comment

My patch do just small job on Sexoffspring, intercepting the birth in each human baby birthing event to get the hand

 

 

if fCurrDay > fAdultDay
; if GetRandomPercent > SexoutSQPVAR.iOffSpringParentalInstinct
; Set rOffSpring to rOffSpringAggr
; endif
; PlaceAtMe rOffSpring 1,1,0
;----------- PATCH
if GetRandomPercent > SexoutSQPVAR.iOffSpringParentalInstinct
Set rOffSpring to rOffSpringAggr
call STV02zGiveBirth rZActor 2 1 1
else
call STV02zGiveBirth rZActor 2 1 0
endif
;----------- PATCH (end)
; MessageEx "SOOffSpringBaby %n: %n becomes %n" rZActor rBaby rOffSpring
DebugPrint "SOOffSpringBaby %n: %n becomes %n" rZActor rBaby rOffSpring
Set iRemoving to 1

 

 

 
In your new version if you replace in scripts the 'placeAtMe' by a function doing the same thing I'll only have to replace your function by mine :P
 
Does your new version permits to know who is the father?
 
Link to comment

Actually looking in FNVEdit it all looks ok, no errors on most of these esm's/esp's so it doesn't look like you are referencing the items I changed :)

 

There is an issue in the OvaPipBoy.esp it seems first condition is missing something:

 

 

 

[00:00] Checking for Errors in [7A] STV01zNPCOvaStatus.esp

[00:00] Function -> <Unknown: 1292>

[00:00] Above errors were found in :CTDA - Condition

[00:00] Above errors were found in :Conditions

[00:00] Above errors were found in :Perk Condition

[00:00] Function -> <Unknown: 1107>

[00:00] Above errors were found in :CTDA - Condition

[00:00] Above errors were found in :Conditions

[00:00] Above errors were found in :Perk Condition

[00:00] Above errors were found in :Perk Conditions

[00:00] Above errors were found in :Effect

[00:00] Function -> <Unknown: 1292>

[00:00] Above errors were found in :CTDA - Condition

[00:00] Above errors were found in :Conditions

[00:00] Above errors were found in :Perk Condition

[00:00] Function -> <Unknown: 1107>

[00:00] Above errors were found in :CTDA - Condition

[00:00] Above errors were found in :Conditions

[00:00] Above errors were found in :Perk Condition

[00:00] Above errors were found in :Perk Conditions

[00:00] Above errors were found in :Effect

[00:00] Above errors were found in :Effects

[00:00] Above errors were found in :STV01zPrkNPCOvaStatusCtrl "STV01zPrkNPCOvaStatu" [PERK:7A000DBF]

[00:00] Above errors were found in :GRUP Top "PERK"

[00:00] Above errors were found in :[7A] STV01zNPCOvaStatus.esp

[00:00] All Done!

 

 

This may be something I've removed or changed, let me know what it is and I will tell you if there's a replacement or it's obsolete or I'll add it back in.

Link to comment
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...