Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
last week
Downloads
519
Size
21KB

QuotaReward

✅ FINALLY WORKING VERSION / VERSIÓN FINALMENTE FUNCIONAL

  • Después de un largo periodo de pruebas, el mod ahora funciona correctamente tanto para el host como para los clientes. Todos los problemas de sincronización han sido resueltos. Pido disculpas por el tiempo que tardé en sacar esta versión funcional, y espero que puedan disfrutar del mod.

  • After a long testing period, the mod now works correctly for both host and clients. All synchronization issues have been resolved. I apologize for how long it took me to release this working version, and I hope you enjoy the mod.

Description available in Spanish and English. English follows below.

Preview


🇪🇸 Español

📌 Descripción

QuotaReward agrega un sistema de escudo personal que recompensa a cada jugador por completar cuotas de ganancia. Cada cuota completada aumenta el escudo máximo de todos los jugadores, y el escudo absorbe daño antes de la vida.

Características:

  • Escudo individual por jugador (cada uno maneja su propio escudo)
  • Escala con las cuotas completadas
  • Se cura al máximo al iniciar un nuevo día
  • Persiste entre sesiones por partida guardada
  • HUD configurable con aviso visual al absorber daño
  • Sincronización completa entre host y clientes vía LethalNetworkAPI

⚙️ Cómo funciona
  1. Antes de cumplir la primera cuota, el escudo es 0/0 y el HUD está oculto.
  2. Al cumplir una cuota, cada jugador obtiene escudo igual a cuota × ShieldPerQuota.
  3. Al recibir daño, el escudo lo absorbe primero. Solo cuando el escudo llega a 0 el daño pasa a la vida.
  4. Al iniciar un nuevo día (nave en órbita), el escudo se cura al máximo.
  5. Al perder la run (ser despedido), el escudo vuelve a 0.
  6. Los jugadores que se unen tarde reciben automáticamente el escudo máximo actual del host.

🔧 Configuración

El mod genera un archivo de configuración en BepInEx/config/finishim.quotareward.cfg.

⚠️ Recomendado: instala LethalConfig para editar estos valores dentro del juego sin tener que cerrarlo. Preview

Nota importante sobre la config: Los valores ShieldPerQuota y ShieldMaxLimit solo los aplica el host. Si eres cliente y los cambias, no afectarán al escudo de nadie. Los valores de HUD (posición, color, tamaño) sí son individuales.

Escudo

Opción Default Descripción
ShieldPerQuota 25 Cantidad de escudo ganado por cada cuota completada
ShieldMaxLimit 500 Límite máximo de escudo acumulable

HUD

Opción Default Descripción
ShieldLabel Shield Texto que aparece antes del valor (máx 10 caracteres)
FontSize 18 Tamaño de la fuente
PosX 0.02 Posición horizontal. 0.0 = borde izquierdo, 1.0 = borde derecho
PosY 0.08 Posición vertical. 0.0 = borde superior, 1.0 = borde inferior
Width 300 Ancho del área del HUD en píxeles
ColorR 0.4 Componente rojo del color (0.0 a 1.0)
ColorG 0.8 Componente verde del color (0.0 a 1.0)
ColorB 1.0 Componente azul del color (0.0 a 1.0)

⚠️ Advertencia sobre FontSize: Si pones un valor mayor a 25, el texto del HUD puede verse cortado. Este límite es intencional y no se arreglará. Preview Ejemplos de posición:

  • PosX = 0.02, PosY = 0.08 → arriba a la izquierda (default)
  • PosX = 0.75, PosY = 0.08 → arriba a la derecha
  • PosX = 0.02, PosY = 0.85 → abajo a la izquierda
  • PosX = 0.75, PosY = 0.85 → abajo a la derecha Preview

⚠️ Compatibilidad
  • ✅ Compatible con partidas existentes
  • ✅ Compatible con la mayoría de mods de gameplay
  • ✅ Compatible con jugadores que se unen tarde
  • ✅ Requiere que todos los jugadores tengan el mod y LethalNetworkAPI instalados

Notas:

  • Los daños de instakill (rayos, ciertos enemigos moddeados con kill directo) no son absorbidos por el escudo. Esto es intencional.
  • Si usas un mod que permite abrir la puerta de la nave en el espacio, asegúrate de que ejecute la lógica de despido correctamente o el escudo podría persistir de forma inesperada.

🧩 Dependencias

Requeridas:

Si instalas manualmente, asegúrate de tener ambas dependencias.


🇬🇧 English

📌 Description

QuotaReward adds a personal shield system that rewards each player for completing profit quotas. Each completed quota increases the maximum shield for every player, and the shield absorbs damage before health.

Features:

  • Individual shield per player (each manages their own)
  • Scales with completed quotas
  • Fully healed at the start of each new day
  • Persistent per save file
  • Configurable HUD with a visual flash when absorbing damage
  • Full host/client synchronization via LethalNetworkAPI

⚙️ How it works
  1. Before completing the first quota, the shield is 0/0 and the HUD is hidden.
  2. When a quota is fulfilled, each player gains shield equal to quota × ShieldPerQuota.
  3. When damage is taken, the shield absorbs it first. Only when the shield reaches 0 does damage pass to health.
  4. At the start of a new day (ship returns to orbit), the shield is fully healed.
  5. When the run is lost (crew fired), the shield resets to 0.
  6. Late joiners automatically receive the host's current max shield.

🔧 Configuration

The mod generates a config file at BepInEx/config/finishim.quotareward.cfg.

⚠️ Recommended: install LethalConfig to edit these values in-game without restarting. Preview Important note: ShieldPerQuota and ShieldMaxLimit are host-only. If you're a client and change them, nothing will happen. HUD values are individual.

Shield

Option Default Description
ShieldPerQuota 25 Shield gained per completed quota
ShieldMaxLimit 500 Maximum shield cap

HUD

Option Default Description
ShieldLabel Shield Text before the value (max 10 chars)
FontSize 18 Font size
PosX 0.02 Horizontal position. 0.0 = left, 1.0 = right
PosY 0.08 Vertical position. 0.0 = top, 1.0 = bottom
Width 300 HUD area width in pixels
ColorR 0.4 Red component (0.0 to 1.0)
ColorG 0.8 Green component (0.0 to 1.0)
ColorB 1.0 Blue component (0.0 to 1.0)

⚠️ FontSize warning: Values above 25 may cause the HUD text to appear clipped. This is intentional and will not be fixed. Preview Position examples:

  • PosX = 0.02, PosY = 0.08 → top-left (default)
  • PosX = 0.75, PosY = 0.08 → top-right
  • PosX = 0.02, PosY = 0.85 → bottom-left
  • PosX = 0.75, PosY = 0.85 → bottom-right

Preview


⚠️ Compatibility
  • ✅ Compatible with existing saves
  • ✅ Compatible with most gameplay mods
  • ✅ Compatible with late joiners
  • ✅ Requires all players to have the mod and LethalNetworkAPI installed

Notes:

  • Instakill damage (lightning, certain modded enemies with direct kills) is not absorbed by the shield. This is intentional.
  • If you use a mod that allows opening ship doors in space, make sure it correctly triggers the dismissal logic or shield values may persist unexpectedly.

🧩 Dependencies

Required:

If installing manually, ensure both dependencies are present.


Created by Finishim En el mejor pais de Chile

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.