Skip to content

Invisible weapons bug #2232

@Adrianilloo

Description

@Adrianilloo

It has been months since I started to research very deeply about this problem, without any solution. Problem happens at least on HL2MP, but may happen on the rest of multiplayers. Steps to reproduce the issue:

  1. Run the game and join your dedicated server or another, with sv_cheats 1 enabled (bug does not happen on listenservers).
  2. Think of any weapon you spawned with, or give yourself one with command "give weapon_XYZ".
  3. (This step must come after 2. of bug will not happen) Now spawn a weapon of the same type, command "ent_create weapon_XYZ".

It will have a great change to show invisible. Keep spawning it and you will check it shows invisible most of the attempts. Few workarounds to fix invisibility at this point: do a demo record and stop it / reconnect to server / type command "mat_reloadallmaterials".

I am attempting sometimes to fix it on my SDK2013 mod, but haven't come to anything.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions