Quake3World.com https://www.quake3world.com/forum/ |
|
How to calculate 3rd person vieworg from servercode? https://www.quake3world.com/forum/viewtopic.php?f=16&t=54646 |
Page 1 of 1 |
Author: | leo9949 [ 02-06-2021 05:58 AM ] |
Post subject: | How to calculate 3rd person vieworg from servercode? |
The topic says it all: how to calculate cg.refdef.vieworg (calculated in cg_view.c) from server-side code? I'm trying to find out, but I'm just asking just in case someone already knows the answer. |
Author: | themuffinman [ 02-08-2021 06:14 AM ] |
Post subject: | Re: How to calculate 3rd person vieworg from servercode? |
Easy solutions from the top of my head: 1. Send vieworg information from client via server command, probably not network efficient 2. Add thirdperson cvars to clientinfo (CVAR_USERINFO flag), mirror CG_OffsetThirdPersonView on server side using said userinfo to predict where vieworg is. What are you trying to achieve? |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |