LaneDibello / Kotor-Randomizer

The Kotor Randomizer. A randomizer for Star Wars: Knights of the Old Republic. Intended for challenge runs and general fun.
4 stars 1 forks source link

Do not randomize invisible placeable models. #8

Closed glasnonck closed 3 years ago

glasnonck commented 3 years ago

Randomizing invisible placeable models creates instability issues during randomized gameplay. These objects should be ignored whenever model randomization is performed. The Field_Data values for objects that have been identified as invisible models are given below.

LaneDibello commented 3 years ago

I resolved this with a slightly more elegant solution. In that if any placeable by default is an object we consider "Broken", we don't randomize it. Not only does this fix the invisible placeable issue, but will likely help the continued stability of the option. This is because the models in the "broken" category are generally used for special cases, and their randomization is more likely to be unsafe.