Jump to content

[LE] Changing Values of "Crime Gold" within Factions via scripts


NorthKozar

Recommended Posts

Hello! I'm new to scripting and still learning the ropes, but had a question about whether or not something was even possible to do (so as to not waste time if it is, in fact, impossible).

 

I was wondering if it is possible to dynamically change the values of the "Crime Gold" listed within Factions through scripts (amount of gold bounty acquired from assault, murder, etc). My primary thought for this was to create a simple MCM menu to set crime gold bounty values in game (instead of manually via ck or tes5edit). As I set down the road of learning scripting, I kind of hit a road block on how I could access the Crime Gold value. I've googled it to death and stumbled upon this page:

 

https://www.creationkit.com/index.php?title=Crime_Gold_Event

 

It talks about event data within the Story Manager Event Node of "Crime Gold Event" but inspecting that in the CK gave me nothing (and I'm not sure what exactly it does). It lists values for crime types, but again I'm left unsure how/if that's of any help in trying to have a script set a new value there. Since, from my current (very beginner) understanding, my global variables I set can't access the factions, and when I used Faction instead and assigned it to a crime faction, I'm unable to reference/access the Crime Gold values through this to set new ones.

 

I was thinking as an alternative was trying to create a quest trigger that could change it but again -- I don't know how I would set a new value there. Anyway, like I said, I'm very new to scripting so I may have totally overlooked something or be unaware of something, but I appreciate any help you can give me, even if it is just putting my mind at ease and saying it's impossible, haha.

 

Thanks!

Link to comment
Share on other sites

The default values are stored in game settings, which can be manipulated by scripts, but editing game settings at run time runs a number of risks.

 

AFAIK no means exists to modify them on a per-faction basis with papyrus.

 

(EDIT: If someone knows differently I'd love to be told because I'd like to do the same thing :v)

Edited by foamyesque
Link to comment
Share on other sites

  • Recently Browsing   0 members

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