Skip to content

Conversation

@bloodycop6385
Copy link

This pull request adds a visual indicator to the HUD for vehicles with manual transmission, highlighting when the engine is approaching or exceeding the recommended RPM range. The change ensures that players receive visual feedback (a color change) when over-revving the engine, helping them shift gears at the right time.

HUD improvements for manual transmission vehicles:

  • Added logic in ENT:LVSHudPaintInfoText (cl_hud.lua) to change the HUD color when the engine RPM exceeds 95% of the maximum, providing a yellow-to-red warning for over-revving in manual transmission vehicles.

Copilot AI review requested due to automatic review settings December 16, 2025 19:03
@bloodycop6385
Copy link
Author

image image image

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a visual RPM warning indicator to the HUD for vehicles with manual transmission in the LVS (Luna's Vehicle Script) system. The feature provides visual feedback when the engine RPM exceeds 95% of maximum, displaying a color gradient from yellow to red to warn players about over-revving.

Key changes:

  • Added conditional color logic for the engine icon in manual transmission vehicles
  • Implemented a yellow-to-red color gradient based on RPM percentage (95%+)
  • Maintains white color for automatic transmission vehicles and manual transmission below warning threshold

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant