Ludeon Forums

Ludeon Forums

  • February 20, 2020, 03:57:06 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [1.0] Show Draftee's Weapon... in the Colonist Bar  (Read 4366 times)

diner

  • Muffalo
  • *
  • Posts: 9
  • Refugee
    • View Profile
[1.0] Show Draftee's Weapon... in the Colonist Bar
« on: March 23, 2019, 03:50:53 AM »


Description
Shows a pawn's weapon icon on the colonist bar.

When a pawn has been drafted their equipped weapon icon will display under the pawn's avatar on the colonist banner. New mod settings have been added to allow weapons to be shown regardless of a pawn's drafted status and while they are traveling. The settings can be accessed via... Options > Mod Settings > Show Draftee's Weapon.

Settings:
- Show When Not Drafted - When checked weapons will display regardless of the pawn's drafted status.
- Show When Traveling - When checked weapons will display when pawns are traveling, and their drafted status meets the Show When Not Drafted setting.

Compatibility
  • Will work with existing saves
  • Can be enabled/disabled without issue
  • This mod should be compatible with mods that don't change the Colonist Bar. That said, it's been designed to be unobtrusive and as such will most likely work with other Colonist Bar mods provided this mod is set to load after the other mod(s)

The following mods have been tested without issue (screenshot includes these mods):

Updates/Fixes
  • Weapon no longer shows when pawn is traveling in a caravan
  • Weapon transparency is correctly set when pawn is not in the current map
  • Updated to show both weapons in the Colonist Bar when using the Duel Weld mod
  • Added two new Mod settings to allow weapon displaying when not drafted and/or traveling
  • Correctly display beer and wood log icons, when they are equipped as weapons
  • Correctly set weapon transparency when message's intersect with the Colonist Bar
  • Added Mod Extension properties via Patch files: weaponBarAngleOffset - control a weapon's draw angle on the Colonist Bar, excludeFromDrawing - controls if a weapon is drawn on the Colonist Bar

Known Issues

    Download

    License
    MIT License
    « Last Edit: April 01, 2019, 05:57:25 AM by diner »
    Logged

    BlackSmokeDMax

    • Planetologist
    • ****
    • Posts: 1712
    • Don't Have To Live Like A...
      • View Profile
    Re: [1.0] Show Draftee's Weapon... in the Colonist Bar
    « Reply #1 on: February 19, 2020, 12:03:40 AM »

    Wow, great looking mod! Thanks!