ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

rcon puke with cvar args can't be evaluated on the client

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests
View previous topic :: View next topic  
Author Message
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Fri Dec 27, 2013 12:50 am    Post subject: rcon puke with cvar args can't be evaluated on the client Reply with quote

More of a design oversight than a bug; nevertheless, it still renders the following new cvars useless in C/S as they won't ever be substituted with actual values on the client.

Code:
39. Added the following read-only CVARs on the client: get_x, get_y,
    get_z to get the x, y, z position (fixed-point) of  the display-
    player; get_pitch, get_yaw, to get the pitch and angle (truncated)
    of the displayplayer; get_consoleplayer, get_displayplayer to get
    the consoleplayer and  displayplayer indices respectively.


Here's an example where script 1 could, for example, be used by the server admin for setting an improvised teleport source/destination coordinates from his current view (even as a spec or when spectating someone else).

Code:
rcon puke 1 $get_x $get_y $get_z


This functionality, along with noclip spec (serious yay for that), would make getting around bugs in maps in coop/survival sessions incredibly easy. It would also make all our other work, like spawning additional suits/ammo, adding some surprise monsters, teleporting stuck players, much much easier.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Pending Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group