Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HL2 Small and Large Healthkits create errors #1728

Open
Crashington opened this issue Jan 20, 2025 · 4 comments
Open

HL2 Small and Large Healthkits create errors #1728

Crashington opened this issue Jan 20, 2025 · 4 comments
Labels
status/needs validation Needs to be tested/validated by a project member

Comments

@Crashington
Copy link

Crashington commented Jan 20, 2025

  • Workshop version from Steam

Description

Picking up small and large health kits (the hl2 item) causes errors. Depending on the installed assets it might break the UI entirely, preventing it from rendering. To be clear, the healing part still works.

To reproduce

  1. take damage
  2. walk into a healthkit

Expected behaviour

TTT2 shouldnt have an issue with such a simple, basegame interaction.

Context (please provide as much as you can)

I tested this with only TTT2 and a single map enabled.

[TTT2 (Base) - v0.14.0b] lua/ttt2/extensions/draw.lua:259: bad argument #1 to 'SetMaterial' (IMaterial expected, got nil)

Additional context

Add any other context about the problem here.

@TimGoll
Copy link
Member

TimGoll commented Jan 21, 2025

Uhm, where do I find these health kits?

@TimGoll TimGoll added the status/needs info Further information is requested; most likely a reproducer label Jan 21, 2025
@Crashington
Copy link
Author

These are item_healthkit and item_healthvial and may be spawned by any arbitrary means. In my case, one of my maps spawns them from a vending machine.

@TimGoll
Copy link
Member

TimGoll commented Jan 21, 2025

Hmmm. Any non-ttt entity can break the game. I will keep it in mind and will take a look at it

@Crashington
Copy link
Author

thank you!

@Histalek Histalek added status/needs validation Needs to be tested/validated by a project member and removed status/needs info Further information is requested; most likely a reproducer labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/needs validation Needs to be tested/validated by a project member
Projects
None yet
Development

No branches or pull requests

3 participants