ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.69k stars 622 forks source link

[HL/OF] Text messages cover up the light indicator #1047

Open Matthaiks opened 11 years ago

Matthaiks commented 11 years ago

Take a look:

HL: undertow0000

OP4 is even worse: op4_demise0000

Protocol version 48 Exe version 1.1.2.2/Stdio (valve) Exe build: 17:27:00 Apr 4 2013 (6006)

Processor Information: Vendor: AuthenticAMD Speed: 3214 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Unsupported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Windows 7 (64 bit) NTFS: Supported Crypto Provider Codes: Supported 311 0x0 0x0 0x0

Video Card: Driver: ATI Radeon HD 5700 Series

DirectX Driver Name:  aticfx32.dll
Driver Version:  12.104.0.0
DirectX Driver Version:  8.17.10.1191
Driver Date: 28 Mar 2013
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: ATI Radeon HD 5700 Series
VendorID:  0x1002
DeviceID:  0x68b8
Number of Monitors:  1
Number of Logical Video Cards:  1
No SLI or Crossfire Detected
Primary Display Resolution:  1920 x 1200
Desktop Resolution: 1920 x 1200
Primary Display Size: 26.65" x 16.65"  (31.42" diag)
                                        67.7cm x 42.3cm  (79.8cm diag)
Primary Bus Type Not Detected
Primary VRAM: 1024 MB
Supported MSAA Modes:  2x 4x 8x 

Sound card: Audio device: Glosniki (ASUS Xonar DS Audio D

Memory: RAM: 8191 Mb

SamVanheer commented 3 years ago

This is a simple fix. Change this line: https://github.com/ValveSoftware/halflife/blob/c7240b965743a53a29491dd49320c88eecf6257b/cl_dll/death.cpp#L44

To use 64 instead and it won't overlap.

Here's what it looks like on 640x480 resolution: Swsv9Ql

And in Opposing Force: VfMGy6A

It would be better if the position were relative to the Flashlight/Night vision sprites but that's not how the hud works so it's easier to use a hardcoded offset.