Do you think it's possible to create a death replay ?
#1

Hey guys, I was wondering if it's actually possible to create a death re-play (after you die, you will see the situation you died in, like spectating the shooter, see him shooting you then you die) in SA-MP ?
I think it's possible using some NPC functions, what do you think ?
Reply
#2

I am not to sure if it's possible but if it was it would be really hared to make it. I haven't seen anyone make that before but seeing it would be cool.
Reply
#3

Quote:
Originally Posted by KeithCooper
Посмотреть сообщение
I am not to sure if it's possible but if it was it would be really hared to make it. I haven't seen anyone make that before but seeing it would be cool.
Think about it, you initialize a NPC recording, one follows the killer, second follows the victim, when each of them dies the recording stops, and then two NPCs are created, at the same positions where the recording started, then they do the recording, and just disconnect from the server when the replay is done.
Reply
#4

Not possible. That would mean recording the player movements constantly, then picking up the last 4-5 seconds from both the victim and the killer.
The server simply can't handle that, even if you manage to store everything client side.
Reply
#5

Quote:
Originally Posted by HeLiOn_PrImE
Посмотреть сообщение
Not possible. That would mean recording the player movements constantly, then picking up the last 4-5 seconds from both the victim and the killer.
The server simply can't handle that, even if you manage to store everything client side.
What if I start recording when a player goes below 10 HP ?
Reply
#6

Quote:
Originally Posted by NeXoR
Посмотреть сообщение
What if I start recording when a player goes below 10 HP ?
You would still have to constantly record to make the killcam no longer than 5 seconds.

Another reason why this shouldn't be used and hasn't been done already. Say you want 50 slots just for players. You'll then have to increase the slots to 150. Having 500 will not be possible unless you play the killcam for just a specific amount of players (just keep in mind that anything is possible - e.g. DM event, where the killcam will be used a lot).

AND one more thing, how are you going to move the recordings from scriptfiles to npcmodes
Reply
#7

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You would still have to constantly record to make the killcam no longer than 5 seconds.

Another reason why this shouldn't be used and hasn't been done already. Say you want 50 slots just for players. You'll then have to increase the slots to 150. Having 500 will not be possible unless you play the killcam for just a specific amount of players (just keep in mind that anything is possible - e.g. DM event, where the killcam will be used a lot).

AND one more thing, how are you going to move the recordings from scriptfiles to npcmodes
Alright I gave up xD, I was just trying to figure out the possibility
Reply
#8

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Say you want 50 slots just for players. You'll then have to increase the slots to 150. Having 500 will not be possible unless you play the killcam for just a specific amount of players
Simulate per-player NPC. This would require advanced knowledge of how SA-MP packets work, but this way you wouldn't need to increase player slots. (look up RAK plugin for a PoC)

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
AND one more thing, how are you going to move the recordings from scriptfiles to npcmodes
Filemanager plugin. Anyway, that'd be his last problem.
Reply
#9

How it can be possible in a Roleplay server?!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)