You are viewing a potentially older version of this package. View all versions.
Talcazzar-ColorEquipment-1.0.0 icon

ColorEquipment

Add color to the map screen and teammate HUD based on available resource amounts

Date uploaded 2 years ago
Version 1.0.0
Download link Talcazzar-ColorEquipment-1.0.0.zip
Downloads 6089
Dependency string Talcazzar-ColorEquipment-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.0 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.0

README

Preview

Preview

Features

  • Add color to the map screen and teammate HUD based on available resource amounts
  • Colors and resource thresholds are fully customizable
  • Add missing details such as "sentrygun DEPLOYED" on the teammate HUD

Example: Map screen

Map screen

Compatability

ColorGradingHUDInfo

This plugin was conceived as an extension of CGHI and as such has some overlap in features. There is code in place to ensure some compatability with the current version of CGHI (0.0.4).

Features:

  • Use ColorEquipment with the CGHI teammate HUD as an override (optional)
  • All other CGHI Features remain functional as normal

Extra Synergy:

  • Allows ColorEquipment teammate HUD to use CGHI dynamic teammate HUD scaling (optional)

Configuration HowTo

Color values are HTML color codes in the format #RRGGBB (no alpha).

Color thresholds are floating point values between 0.0 and 1.0, representing 0% and 100% respectively.

The color scaler follows these three rules:

  1. If the resource amount is greater than the Low threshold; use the game default color.
  2. If the resource amount is lower than the Low threshold but greater than the Critical threshold; use the Low color.
  3. If the resource amount is lower than the Critical threshold; blend the color between the Low color and the Critical color. Tricolor

Example: Two color scaling across the entire range (green -> red)

Normally any resource amount that is above the Low threshold will not result in a change of color. In order to always have a color the Low threshold should be set to 1. We only want to use two colors, so also set the Critical threshold to 1. Now when the value is at 100% we effectively use the Low color, when the value is 0% we use the Critical color.

Set all thresholds to 1; this will allow us to scale directly from the Low color to the Critically low color.

[Thresholds]
Resource Low = 1
Resource Critical = 1
Health Low = 1
Health Critical = 1

Set the Low to the desired color when a resource is at 100%. Set the Critical to the desired color when a resource is at 0%.

[Colors]
Low = #00FF00
Critical = #FF0000

The color will now blend between the two values, as shown in this figure:

Duocolor

Contact

Discord: Talcazzar#4931