Jump to content

Raiders as settlers after a certain point


Recommended Posts

In this thread: https://forums.nexusmods.com/index.php?/topic/5565622-settlements-has-anyone/ by jjb54 where he said:

Preston Garvey was the reason. Each time we established a settlement and such, he mentions it would ' drive the Raiders ' out, or something to that effect.
Might be a great mod idea, but likely a " nightmare " in scripting, where at some point, certain level of Raiders turn into members of Settlements, finding it - " Not so bad! "

 

I started thinking on if we couldn't get the raiders as settlers after a certain point, so I went to the CK to start looking for Globals.

 

There is a Global called "MinutemenOwnedSettlements", which I assume we can use for total number of owned settlements, but I can't seem to find a Global for total number of settlers. The closest I have is WorkshopRatingPopulationGlobal, but I have no clue if it does what I want it to. Anyone knows?

 

For the script itself, I was planning on adding this:

If RaidersCanBeSettlers == 0

If MinutemenOwnedSettlements >= 15

If totalSettlers >= 450

RaidersCanBeSettlers = 1

EndIf

EndIf

EndIf

 

at the end of the script that adds new settlers to a settlement. So whenever someone is added, we check to see if raiders are allowed to be settlers.

If RaidersCanBeSettlers == 1 then there's a chance (20-25% or something) that the settler has a raider outfit (and maybe that it's called Raider Settler if that's possible.) (For creating the WorkshopNPC list for raiders I figured I'd just copy the original, add raider outfits to it and change the name if possible.)
The two problems I have are:
1. As I mentioned above, not sure if there is a global for total population (unless it is the one mentioned above). Is there a good way to get total population otherwise?
2. I have no clue on how to make the game take from a "WorkshopNPCRaiderSettler" list after the Global is set or how to add a chance of it being from that list instead of the normal WorkshopNPC list.
Anyone have any good suggestions or ideas? :smile:
Link to comment
Share on other sites

  • Recently Browsing   0 members

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