Borderlands-Commander
Borderlands-Commander copied to clipboard
Failed to import mod, returned null with no error
Just installed (and reinstalled) commander, getting this error every time I boot up the game.
Commenting out lines 90, 91, 94, 95, and adding _NoDamageNumberEmitters = [None, None]
allows the mod to run
sane works for me thanks @grzekozl
Unfortunately this is a larger issue with arrays in the SDK when running through Proton. Certain modifications to
Commenting out lines 90, 91, 94, 95, and adding
_NoDamageNumberEmitters = [None, None]
allows the mod to run
This clears the entire emitter array rather than just replacing the first two elements. While this will indeed work to remove damage numbers, it will also remove a number of other forms of feedback in the game (critical hit indicators and resist numbers, I believe). Try using this to construct NoDamageNumberEmitters
instead:
NoDamageNumberEmitters = [emitter if index > 1 else None for index, emitter in enumerate(DamageNumberEmitters)]
If you can confirm this works in Proton, I'll switch to that method in a future version.