Battle Brothers
0 of 0

File information

Last updated

Original upload

Created by

MostlyOtherPeople

Uploaded by

Reianor1

Virus scan

Safe to use

Tags for this mod

About this mod

A compilation of 3 UI mods related to Hostile Locations.
-Shows Scouting Information.
-Shows a chance that a lair had to spawn awarded named items.
-Shows the actual named items it ended up spawning (if any).

Requirements
Permissions and credits
This is a compilation of 3 other mods that sprung from the desire to make them compatible.
I take no credit for the ideas, and about 2/3 of the resulting code has nothing to do with me.

This compilation includes functions of the 3 following mods:
End's Scoutable Locations
The original version of which (AFAIK) actually works perfectly fine on it's own and has no compatibility issues on it's side of things.
Code from this one was pretty much copied as is with zero changes.
In retrospect I probably shouldn't have done it and should have just made a compilation of the other two.
But I'm too lazy to go cut some code and repack an archive so take it or leave it. :P

Named Items Chance Display on Camps
Which also works, and also (AFAIK) has no compatibility issues on it's side.
However, the original mod has stopped updating before it has gone through a few final steps of polish.
Those final (I hope) steps were done (and posted in the mods comment pages) by Vazl and then furtherer by AdamMil01.
The code from the later paste is what was taken from there.
Compared to the original mod it shouldn't display spawn chance where there's no spawn chance, and shouldn't claim that there is a spawn chance above 100%.

See named items from Tweaks and Fixes
And last but not least of this trio. This is the one that was causing compatibility issues and the one that has been perry much re-written (and tremendously cut down in size in the process) by yours truly. Although I still did it by seeing how other people did similar things, so it it's nothing tremendous. Thanks to unblest and his Named Item on Enemy Tooltipmod because that's where I found up the .getName() function which was the key to avoiding all of the shenanigans of the original mod. I also copied his tooltip display method while I was at it. So instead of displaying de-code-ified code names of named items "base" items, like the original did, this version displays the actual generated name and the item's icon. Same exact way as Named Item on Enemy Tooltip does (so if you run this compilation along with that mod their styles would match).

Q: So why the heck would anyone want to run a mod that shows the chance of named items spawning alongside the mod that shows the actual result of the named items spawning?

A: 2 reasons, really.
One - this makes it easier to spot luck. For example the Lair I used for testing this compilation on gave me double spawn on a 44% chance. Which happens less than 10% of the time.
And two - for the sake of training wheels. Just knowing where the items have spawned isn't going to be quite as helpful with figuring out where they are and aren't likely to spawn. Knowing the chances on the lairs you raid will help you develop an understanding of how far you need to be able to go and what you'll need to be able to handle to start collecting those named items in desired quantities.

Compatibility.
As far as I know, this here compilation shouldn't be causing any incompatibilities on my side of things.

Thanks, Credits, and disclaimer.
The ideas for the 3 original mods are not my original ideas. Go thank those guys if ideas is what makes you feel grateful.
The code for 2/3 of this compilation has pretty much nothing to do with me. So again, you know who to go thank for their part of the work.
The part I did re-write felt pretty darn satisfying though ;P

This compilation was done by newbie, for newbies.
If you can do better feel free to do better.
If you're one of the people who's work I relied on and you hate me for it enough to want this taken down, either tell me, or more reliably, go complain to a mod (because I'm not the kind of guy who checks messages often, I go "hermit mode" for months after moths like it's nothing).

This compilation was done out of frustration caused by 2/3 of those mods not being updated.
Don't get me wrong I don't have any grudges against the inactive authors, but when you want mods to work well and they don't work it's, naturally, frustrating.
So I combined EditPad Lite and my code mimicry skills to do something about that frustrating lack of updates, while the more qualified people aren't doing it.

And while I'm good enough with algorithm I don't know east from west when it comes down to squirrel syntax or this game's specific quirks. And that's on top of being a newbies as a BB player. Plus I'm a chronic quitter who loses interest in record time almost all the time.

What I'm getting at is that this compilation is pretty much provided "as is". If you got problems getting it to work, or got questions about it... tough luck dude, chances are - I'm not qualified to help you. It should work (does as far as I know), and definitely shouldn't make your head explode, but if a more qualified modder (including the ones who's work this is based on) ever feels like taking the field back, you won't hear me complaining about being benched.

Permissions.
Far as I care you can do whatever you want with this mod.

For the 2/3s that I pretty much copied, go double-check with the people I copied from.
That said, at the time of posting this, of all involved, only the Named Items Chance Display on Camps's author has his permissions set up to need his explicit permission for updates/improvements. However the code in this compilation doesn't come from his files anyway (at least not directly, I don't know where the original posters got it from). And from the looks of his comment thread he took no offence at people offering those improvements to him. Looked like he was even planing to implement them. Unfortunately, the key words are was and planning. If he'd done it himself, this probably wouldn't even BE a compilation mod. I'd just release my "re-take" on T&F's See named items as a standalone and that'd be that.

For the part of the work that I did, you don't need to ask me for any permissions or give me any credit. Matter of fact, I'd rather you didn't credit me, I'm weird like that.
My only requirement is that you make it clear which part of the work you did and which was done by the people who carried the torch before you. I'm weird like that as well. Go figure.