Skip to content

How to access gameSessionManifest(Looking to access game info like shot impacts, headshots, positioning, etc) #105

Closed Answered by saul
Theoya asked this question in Q&A
Discussion options

You must be logged in to vote

The game session manifest likely contains details for the Steam Game Coordinator about the lobby. I don't think you'll find anything useful about gameplay (impacts, headshots, positions etc) in there.

  • Shot impacts: use the demo.Source1GameEvent.BulletImpact
  • Headshots: use the demo.Source1GameEvent.PlayerHurt and demo.Source1GameEvent.PlayerDeath (see the Hitgroup property on the event)
  • Positioning: this can be retrieved at any point from the player pawn: e.AttackerPawn.Origin

Hitgroup is a number that maps into this enum:

enum HitGroup
{
    Generic = 0,
    Head = 1,
    Chest = 2,
    Stomach = 3,
    Leftarm = 4,
    Rightarm = 5,
    Leftleg = 6,
    Rightleg = 7,
    Neck = 8,
    U…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Theoya
Comment options

Theoya Oct 9, 2024
Author Sponsor

Answer selected by saul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants