Skip to content

Medigun beam disappears when spectating in first person #661

@Ashetf2

Description

@Ashetf2

Description

ValveSoftware/Source-1-Games#935

Tested in latest tc2 build

I strongly suspect that this is code related, as there are other instances where code hides particles in first person when spectating, for example

bool C_TFPlayer::CanLightCigarette( void )
....

	// Don't light if we're spectating in first person mode.
	if ( (pLocalPlayer->GetObserverMode() == OBS_MODE_IN_EYE) && (pLocalPlayer->GetObserverTarget() == this) )
		return false;

...

The only thing that may be related is this alledged undocumented changed from the Oct 6, 2010 patch

"Attached weapon particle effects removed from viewmodel (still present in 3rd person)"

However, I couldn't find any info about it.

Checklist

  • None of the open or closed issues document this problem.
  • This is a bug, not a new idea.
  • This is objectively a bug, and not something that people commonly disagree on.
  • This issue occurs on the latest Team Comtress release, or the master branch.
  • This issue occurs on the latest vanilla TF2 update.
  • This bug is in the code of the game, not in the textures, sounds, or other resources.
  • This issue is listed on the Source 1 official bugtracker.
  • This issue occurs with DirectX level 100.
  • This issue occurs when using no custom content.
  • This issue occurs when using start_tf2.bat (or start_server.bat) with no custom launch options.
  • This issue occurs when using a listen server (using the map command ingame).
  • This issue occurs when using a dedicated server.
  • This bug is in the internal procedures or tooling (e.g. the build process).

Reproduction

  1. Spawn a Medic bot
  2. Spectate it

Screenshots

2023-12-27.22-23-22.mp4

Setup Details

Client Settings

  • Server or client: Both
  • Operating system: Windows 10
  • Team Comtress version: 2.0.2
  • Custom content: No
  • Launch options: Default

Driver Version

  • DirectX level: 95

Hardware Specs

  • CPU model: AMD Ryzen 5 3600
  • GPU model: NVIDIA GTX 1650 Super
  • RAM amount: 16
  • TF2 install location: SSD
  • TC2 install location: SSD
  • TC2 installation method: Basic

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNeeds to be organizedtf2Related to the TF2 live version and TC2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions