Git Product home page Git Product logo

Comments (11)

moritzuehling avatar moritzuehling commented on August 17, 2024

i noticed that there is no bool or event for jumping and steps(hearable movement).

You can add the events here

Also i found code for flashduration(when downloading the zip on github) but no flashduration in the nuget version

You can use a prerelease for that.

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

Thanks for the hints.

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

Sorry for another question but the "eventDescriptor" player_footstep captures all hearable steps, right?

from demoinfo.

main-- avatar main-- commented on August 17, 2024

It may or may not. We didn't test this (because it's not implemented).

Note that the CS:GO client may even ignore footstep gameevents when watching demo files as they can be recalculated from player movement data. We have seen unused/bugged gameevents before.

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

Would it be safer/more accurate to calculate steps with player velocity ?

from demoinfo.

moritzuehling avatar moritzuehling commented on August 17, 2024

Depends on what you are trying to do with it. And as @main-- said, we have no idea how accurate the footsteps saved in the demo are.

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

I think of a realtime replay of the game(minimap style) where i want to display details about players. (mostly attacking and supporting encounters)

from demoinfo.

ItsEcholot avatar ItsEcholot commented on August 17, 2024

Why don't you just use the position (x,y,z) of every player each tick?

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

I will use that. But i also ned information about their status(at best: hearable for someone, jumping, ducking, and visibility to others)

from demoinfo.

ItsEcholot avatar ItsEcholot commented on August 17, 2024

This information isn't saved in the demo file as this is simulated when playing back the demo.
So in your case you would have to figure out in which radius player can hear the footsteps and calculate the distance between two players and go from there.

About visibility / line of sight, you would have to simulate this on your own too. And this is gonna be hard as would have to use the minimap or something along these lines to find out where walls are, etc...

Jumping & ducking should be in the demo tough.

from demoinfo.

PMatthaei avatar PMatthaei commented on August 17, 2024

PUSH: another event that seems to be missing is "isducking". ok not missing but all the demos i searched in ( 6 so far) only have ducking = false. Or is it just a rare case that isducking is captured?

EDIT: my bad. found the mistake but i still get isducking true on "player_footstep" events. so i conclude that they are not "silent step" events ;)

from demoinfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.