Jump to content

Recommended Posts

Posted

As the question above says, I am hoping somebody knowledgeable can explain how the game rolls the Random Scripted Encounters it throws at you. Specifically, what are gamedata files involved, and what mechanism/variable inside the files determines the encounter. For example, if I wanted to add a scripted encounter while roaming Neketaka or Dunnage or when sailing, or if I wanted to adjust the weight/frequency of event occurrence, what files should I modify? Thank you in advance.

  • Like 1
  • 3 weeks later...
Posted

Sorry for the late reply, unfortunately this isn't an area Deadfire that is really supported with gamedata modding and there hasn't been much exploration from what I have seen into how to really accomplish it using other methods.
As far as I know the files for triggering random encounters are stored in level files relevant to the location they take place. Not sure of how randomisation works exactly, but it seems to select from a random pool of specified encounters. There also isn't really a way to add to these pools of encounters directly in the gamedata from what I can see.

The only way I'm aware that could work outside of this is triggering the random encounter with modscripts hook. 

with the LaunchRandomEncounter script and setting conditional expressions that will trigger it at the right time. There aren't any conditional for checking for the player travel in cities though, or coordinates on the world map though. So it's pretty imprecise sadly.

 

  • Like 2

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
×
×
  • Create New...