Raised This Month: $32 Target: $400
 8% 

[HL2DM] Invisible weapons bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AdRiAnIlloO
Member
Join Date: Jul 2015
Location: Spain
Old 11-18-2016 , 19:50   [HL2DM] Invisible weapons bug
Reply With Quote #1

How to reproduce/trigger the bug:

1. Run and join a dedicated server (bug doesn't happen on listenserver)

2. Think of any weapon you spawned with, or give yourself another one you want (command "give weapon_???" with sv_cheats 1)

3. Spawn that same weapon (with ent_create weapon_???) the number of times you want. It will be invisible no matter what. (Shadow still works)

Workarounds to fix visibility at this point: reconnect (since rendering first that spawned weapon which is not owned yet will perm fix the visibility on also further ent_creations), or type mat_reloadallmaterials, or even record a demo, it will fix the invisibility too... Strange bug as you can see.

Steps not to see the bug happening from the beggining (opposite to the previous steps):

1. Run and join the dedicated server.

2. Think of a weapon you are not carrying yet.

3. Spawn it with ent_create the number of times you want. It will always be visible no matter what.

Logic? I hope this is an old bug someone has already solved. Searched a lot already. Thanks.

Last edited by AdRiAnIlloO; 11-18-2016 at 19:55. Reason: clarify
AdRiAnIlloO is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode