Jump to content
  • entries
    14
  • comments
    49
  • views
    3,833

NPC behaviour Framework (NBF) V 0.2 for Skyrim LE


AndrewLRG

808 views

A simple mod, that allows you to turn followers (both vanilla and modded) into bandits, vampires or city guards. This mod will spawn a copy of your follower and assign them a custom behavior: patrolling the city for guards, hanging out in bandits camps for bandits. The goal is to let you meet followers from other mods in the open world doing something other than standing still at the inn.

 

LRG NPC behaviour Framework 0.2.zip

 

Changes in 0.2:

 

1) When NBF spawns a NPC it will try to disable the original one. Meaning, if your follower spawns as a Bandit, the original follower (the one hanging out in an inn) will disappear. The original follower will reappear later when the "Bandit follower" de-spawns or gets killed. This should prevent weird behavior of original followers while a spawned copy exists.

 

Requirements:

 

1) SKSE (latest version)

2) PapyrusUtil for LE (https://www.loverslab.com/files/file/484-papyrusutil-leseae/

3) (Optional) Some follower mods, obviously.

 

How to start:

 

1) NBF comes with several vanilla followers pre-registered. Click on 'Register NPCs' in 'General' page.

2) Select their Behavior and Package in 'npcs' page. Some guards have two packages: "External" and "Internal Guards". Internal guards will patrol inside the city, while external will guard the gates or patrol the roads near the city. Evil factions (bandits, vampires, etc.) have only one package "Wander" that will make them walk around near their spawn point.

3) NBF can spawn new NPCs when player changes cells, so it might take a while for them to show up.

 

Important:

 

'Imperial Solder', 'Stromcloac Solder' and 'Cidhna Mine Guard' Behaviors are currently disabled and won't spawn anybody.

 

 

 

How to add new followers or NPCs:

 

To spawn followers from other mods we need to add their data to NBF. This process consists of saving followers information (name, ID and mod name) to a .json file located in Data/SKSE/Plugins/NBF/NPC folder. How to:

 

1) Press 'Actor Selecting Key' from 'MCM / Register NPC' page. while looking at the follower. Selected actor information will be displayed in 'MCM / Register NPC' page.

 

Spoiler

ScreenShot170.jpg.4f165ed0375c33842260912f19b6403d.jpg

 

2) Press 'Select File' and choose a file in which actors data will be saved. Alternatively, you can create a new file using 'Create new file' button. Type in new file name without '.json'. For example, "My Followers" or "34365768", but not "My Follower.json". Select your newly created file using 'Select File' button.

 

Spoiler

ScreenShot1701.jpg.6108a42171778a081ffb87334ad045d3.jpg

 

ScreenShot171.jpg.6ab525c3bc5574f74fd61cf4fa18662f.jpg

 

 

3) Press 'Save Actor to file' to save your selected follower to selected file.

4) Click on 'Register NPCs' in 'MCM / General' Page.

5) Your follower was registered and should show up in 'Npcs' and 'NPC Info' pages.

 

Spoiler

ScreenShot167.jpg.d904bbdcb5aeed50b1d9807c46737453.jpg

 

If you are familiar with the .json file structure you can add your followers data directly in the file. You will need the exact name of the NPC, the exact name of mod that adds this NPC and the last six digits of NPCs ActorBase FormID.

 

Spoiler

ScreenShot165.jpg.4e7eb787287b3a24bef9e42eeb30c345.jpg

 

ScreenShot166.jpg.11582ce6c74256be963e53c9065451a9.jpg

 

ScreenShot168.jpg.0541cf8455e4d72d0fbd0c990df6e996.jpg

 

 

 

Older versions:

 

 

ScreenShot169.jpg

Edited by AndrewLRG
Update to 0.2

14 Comments


Recommended Comments

DonQuiWho

Posted

Hi there

 

Looks interesting

 

But is this for SE or LE, pls?

 

DQW

AndrewLRG

Posted

2 minutes ago, DonQuiWho said:

Hi there

 

Looks interesting

 

But is this for SE or LE, pls?

 

DQW

 

Its for LE. Was not tested in SE.

DonQuiWho

Posted

1 hour ago, AndrewLRG said:

 

Its for LE. Was not tested in SE.

 

 

OK

 

Thanks

 

DQW

killer905

Posted

Interesting, but why not put it in the "downloads" category?

AndrewLRG

Posted

40 minutes ago, killer905 said:

Interesting, but why not put it in the "downloads" category?

 

It's like an open beta. :) Once the mod proves to be stable I'll upload it in Downloads.

killer905

Posted

1 hour ago, AndrewLRG said:

 

It's like an open beta. :) Once the mod proves to be stable I'll upload it in Downloads.

I understand, but there will be more people who will try your Mod.

Talesien

Posted

On 2/17/2023 at 12:24 AM, killer905 said:

I understand, but there will be more people who will try your Mod.

Plus all gamers that play anything that came out in the last 6 months be it mod or game (but particularly true for AAA Games) is used to being a beta tester anyway. ?

donttouchmethere

Posted

Interesting!

Must try ?

So many followers that just fill up taverns. ?

AndrewLRG

Posted

10 hours ago, donttouchmethere said:

I installed it!

Was nice to know ya all ?

Hope it works as intended. :)

donttouchmethere

Posted

50 minutes ago, AndrewLRG said:

Hope it works as intended. :)

Me too, can hardly wait to hear the sound of your DD audio mod and see followers do stuff (not to me for a change).

Just need to wait a little longer because I just can't build simple LOs. I just can't >.<

donttouchmethere

Posted

So far vanilla follower do get found.

 

Maybe stupid question, but what does first tab >"register npc" do?

Is it to register vanilla NPC or does NBF search for potential follower mods in LO or is it the last step after registering a custom follower?

AndrewLRG

Posted

2 hours ago, donttouchmethere said:

So far vanilla follower do get found.

 

Maybe stupid question, but what does first tab >"register npc" do?

Is it to register vanilla NPC or does NBF search for potential follower mods in LO or is it the last step after registering a custom follower?

 

"Register NPCs" retrieves data about the follower from .json file and checks whether you have that follower mod installed. Successfully registered followers will be listed on page "NPC info". You will need to press it when staring a new game or after adding a custom follower to .json file.

donttouchmethere

Posted

21 minutes ago, AndrewLRG said:

 

"Register NPCs" retrieves data about the follower from .json file and checks whether you have that follower mod installed. Successfully registered followers will be listed on page "NPC info". You will need to press it when staring a new game or after adding a custom follower to .json file.

aye aye, thx, onward to new glorious mod synergies

×
×
  • Create New...