the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question Settler injection?

Nosimo

Member
Messages
68
Is there a template or tutorial anywhere on how to inject settler mods into WSFW?
 
Last edited:

Nosimo

Member
Messages
68
The lack of response fills my heart with sorrow, or something like that. At any rate I found a dirty way to do it without scripts by just replacing the default WSFW list with the workshopNPC list. I am wondering how/if this will bite me in the tail but at the moment I see the only downside as not being able to use WSFW to effectively merge settler mods but without knowing how to do the scripting I couldn't do that anyway so no loss there.
 

Whisper

Well-Known Member
Patreon Supporter
Community Rockstar
Verified Builder
Vault Librarian
Messages
1,255
To be honest, I don’t know what you mean when you say “inject settler mods into WSFW”.
 

Nosimo

Member
Messages
68
To be honest, I don’t know what you mean when you say “inject settler mods into WSFW”.
WSFW WorkshopNPCs appear to draw from a list generated at game start. I believe it only populates with base game workshop npcs (assuming no SS#), 3rd party mods appear to need to be injected via script into the LL? or a formlist? WSFW uses or they don't show up (although some partially work because they are replacing base game actor forms which are injected by default). I'm completely clueless as to how to write a script (there is a bit of information about it on the github wik: Injecting or Overriding Production Settler Creation · kinggath/WorkshopFramework Wiki · GitHub). I guess I should take a look at SS2 and see if there is anything I can gleam from there. If anyone can figure out how to do this it seems like a pretty neat feature as you could use WSFW to merge multiple settler mods.
 

Whisper

Well-Known Member
Patreon Supporter
Community Rockstar
Verified Builder
Vault Librarian
Messages
1,255
Okay I have a vague idea of what you mean now. I guess that you’d have to write a script to detect the presence of the appropriate settler mod and then inject it somehow.
 
Top