You are viewing a potentially older version of this package. View all versions.
Trynlord-CaptainDiabloTimer-0.1.4 icon

CaptainDiabloTimer

Client-side countdown, visual warning and optional beeps for Captain's OGM-72 DIABLO Strike.

Date uploaded 5 days ago
Version 0.1.4
Download link Trynlord-CaptainDiabloTimer-0.1.4.zip
Downloads 171
Dependency string Trynlord-CaptainDiabloTimer-0.1.4

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122
RiskofThunder-HookGenPatcher-1.2.9 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.9

README

Captain Diablo Timer

A client-side only countdown and warning for Captain's OGM-72 DIABLO Strike.

What it does

  • Starts a 20-second timer only after the local player's Diablo Strike projectile has successfully fired.
  • Shows a centered countdown without changing the skill, projectile, damage or cooldown.
  • Turns the timer red and pulses during the last five seconds.
  • Plays optional countdown beeps and an impact beep generated locally at runtime.
  • Tracks multiple simultaneous strikes (for example, with extra utility stocks).
  • Works without requiring other players to install it.

Configuration

Open the r2modman profile's Config editor and edit:

com.trynlord.captain-diablo-timer.cfg

You can change the timer duration, warning window, label, font size, screen position, number of visible timers, beep volume and whether visual/audio warnings are enabled.

The default 20-second delay matches vanilla Diablo Strike. If another mod changes the actual strike delay, set StrikeDelaySeconds to the same value.

Compatibility

This mod lets the vanilla projectile fire call complete and then creates local UI/audio only for Captain's confirmed Diablo Strike cast. It does not alter targeting or projectile setup, sends no network messages and changes no gameplay values, so vanilla friends do not need it.

Installation

Install through r2modman/Thunderstore Mod Manager with dependencies.

Feedback

This is an initial release. Please include your LogOutput.log, game version and mod list when reporting an issue.

CHANGELOG

Changelog

0.1.4

  • Removes the inaccessible EntityState.isAuthority access that prevented the timer from starting.
  • The exact Diablo Strike FireProjectile state remains the trigger, so target confirmation is still required.
  • Adds a clear info log when a confirmed Diablo Strike starts its countdown.

0.1.3

  • Starts the countdown after AimThrowableBase.FireProjectile completes for Captain's Diablo Strike.
  • Fixes the countdown not appearing because Diablo Strike does not invoke OnProjectileFiredLocal.
  • Keeps all timer work after the vanilla projectile call so targeting and firing remain untouched.

0.1.2

  • Timer now starts from the local post-fire callback, after target confirmation.
  • No longer starts when the targeting mode first consumes a utility stock.
  • Timer errors are contained so they cannot escape into the skill state machine.

0.1.1

  • Removed the Diablo targeting/projectile hook after it could prevent target confirmation.
  • The timer now starts by safely observing the local utility stock after a successful cast.
  • Removed the now-unnecessary HookGenPatcher dependency.

0.1.0

  • Initial release.
  • Client-side countdown for the local player's Diablo Strike.
  • Visual danger pulse, configurable audio warnings and multiple-strike support.