How to do kill cam in unreal

Hi All,

I’m planning to do a Killcam like Call of Duty. I’m having an idea for that in my enemy team if I kill that player by a gun the camera should follow the last bullet and hit that person. For this I need to record a video and I need to play it after sometime. I don’t know how to record a gameplay and show that gameplay dynamically could someone help me for making killcam please??

Thanks&Regards
Programmer

I’m not entirely sure recording the actual footage is the way to go. If its in the case of being server replicated I would say you just save the data points of all character movement or bullet movement and when the player is killed get the corresponding data from the bullet path that killed him, then send the data back down to replicate the actions of the whatever was going on in the level. I’m fairly certain that’s how call of duty handles it, just grabbing variables and points of data that were set and saved on the server. I believe that’s why there was such a disparity between runtime gameplay on a server and going into theatre mode and seeing that half second delay, because its all going off points of data the server collected. As a single player experience that shouldn’t be too complex seeing as you can slow and disable whatever events you want, but going through a server there would be a good bit of delay, especially if its a fast paced competitive game. Co-op I’m thinking you’re going for something like a Zombie Army kind of thing.

I guess to alleviate the delay between server and player you could save all of the data on the players machine and when the server determines he gets the kill it just sends the okay to run whatever function you set up to reenact the data points

Thanks I got a little idea but storing the data in the server do I need to replicate those values…

I think whenever anything is stored and recalled from a server had to be replicated, not entirely sure haven’t messed with networking yet