Jump to content

Home

Globels Question...


TheOssusKeeper

Recommended Posts

i was exploring the globels > Numerics in a saved game with KSE and found this: 000_RareItemChance: #

my question is, what does it do? and Can I use it to get the cool items more often by changing it's number?

 

The 000_RareItemChance global is used by the random loot system to keep track of how long it has been since it spawned a rare item. Each time it spawns a mundane item the global is increased.

 

The value stored in the global is then added to a random generated number between 0 and 94. If the resulting value is greater than 100, a rare item will be spawned. Thus, the longer it has been since a rare item was spawned, the higher the chance that one will be spawned.

 

When a rare item is spawned by the random loot system (either on a creature or in a container), the 000_RareItemChance global is set to 0 again by the script.

 

So, changing 000_RareItemChance in your savegame to some high value will make the game spawn a rare item in the first container/creature inventory it creates loot in when next you enter a new area for the first time. Not really a noticable change. :)

Link to comment
Share on other sites

Short answer, yes. From what I can tell, the higher the number, the more chance you have of finding a rare item. Or the lower, I'd have to go back and compare. Also I don't know the limits it has to it. So I don't know if you could make it 99 or 999 or 9999, and if that would ensure that you got a rare item.

 

Now for the long answer. I was testing a mod I made out. I had two saves in exactly the same spot. One time through I had used my mod, the other time I hadn't. I was trying to compare the globals to see what I needed to change to advance the story. The global compare utility reported that everything was the same except for a few globals related to Luxa and the Exchange (which were the ones I was interested in) and that rareitem one. Well, during one run through, I had found mandalorian battle armor (or some such thing) on one of the corpses. The other time through, just a few credits.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...