Zandronum online testing of GetCamera Function

Channel:
Subscribers:
327
Published on ● Video Link: https://www.youtube.com/watch?v=L5zBpHQlbVM



Duration: 4:13
178 views
4


New functions:
-GetCameraX()
-GetCameraY()
-GetCameraZ()
-GetCameraAngle()
-GetCameraPitch()

return: the coordinates of the player's view point

usage: clientside scripts (if running server side, it'll only return the first player's view point coordinates, but errors may happen)

This is a test wad for testing the new functions online, the testings are about:
-making a rainfall near to the player's view point
-Spawn a fire Sprite where the player's view point is
-Send the each player's view point coordinates to the server, so everyone knows where everyone is looking to.
-With the test above, the server can move spectator ghosts based on players view point.
-if you f12 someone, the rainfall will move near to that spectated player (also your fire Sprite will be at that player position (that's what happen on the vídeo when I pressed F12, I could see myself, but my fire was into the other player and also it was raining where that player was...
-Show who's spectating you (new test)
Extra info:
-Get actor information is running on a enter script
-The first Get Camera message shows in a clientsided script,
-The other two Get Câmeras are server side, so it'll Always show the information of the first player on the list (and stop updating that information when he spectates)







Other Statistics

Doom II: Hell on Earth Statistics For ibm5155

ibm5155 presently has 7,915 views for Doom II: Hell on Earth across 6 videos, with approximately 2 hours of Doom II: Hell on Earth video on his channel. This makes up 10.18% of the content that ibm5155 has uploaded to YouTube.