How to save player movement and recreate it later
I was looking online for a kz plugin that records the player's movement that saves it and recreates it using a fake player, basically acting as a demo recorder. I came around a similar one to this but demos where recorded locally and uploaded on online sites which were done years ago but it's not what im looking for. Any suggestions, some place to start, or any function that i can hook up these movements is appreciated.
|
Re: How to save player movement and recreate it later
Creating a dynamic array, and using entity think with length of 0.1 seconds seems reasonable length of time? then you copy player position, +animation, +viewangles into the array.
|
Re: How to save player movement and recreate it later
The best way to get a demo on the server side is to use an HLTV to record a demo. This is a built-in feature of the HLTV. It won't cause issues that a plugin may cause and you can play back the demo easily with just your client game.
Quote:
|
Re: How to save player movement and recreate it later
Quote:
Quote:
|
Re: How to save player movement and recreate it later
Quote:
|
Re: How to save player movement and recreate it later
Quote:
|
Re: How to save player movement and recreate it later
Quote:
https://github.com/MichaelKheel/ProKreedz It records and saves all those info into a text file and uses arrays to save player pos and viewangles and all that. |
Re: How to save player movement and recreate it later
created long time ago
you can use this one by Kpoluk: https://kz-rush.ru/en/forum/topic/64/ |
All times are GMT -4. The time now is 03:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.