Difference between revisions of "PlayerPrefs.txt"

From OBEY wiki
Jump to: navigation, search
(description for some properties | updated note to reflect the change in accepted characters)
(lastPlayed | useNameInBunnyMeet)
Line 45: Line 45:
 
| targetFPS || 0 ||
 
| targetFPS || 0 ||
 
|-
 
|-
| language || || This field is created when the game is first launched.<br/>1 = English
+
| language || || 1 = English
 
|-
 
|-
| firstTimePlaying || || This field is created when the game is first launched.
+
| firstTimePlaying || || If not 0, the player will be asked if they want to play the tutorial
 +
|-
 +
| lastPlayed || || Displays in the menu when was the last time the player opened OBEY
 +
|-
 +
| useNameInBunnyMeet || true || If true, a player's last log in time will be submitted to the Bunny Meet chat in the menu
 
|}
 
|}
  
 
<nowiki>*</nowiki><sub>If this field is missing, the player will be renamed to "generic bunny". If the field is empty, the player will be renamed to "Bunny #x", where "x" is a unique number assigned by the server. Invalid characters will be removed. If it is greater than 15 characters, it will be shortened.</sub>
 
<nowiki>*</nowiki><sub>If this field is missing, the player will be renamed to "generic bunny". If the field is empty, the player will be renamed to "Bunny #x", where "x" is a unique number assigned by the server. Invalid characters will be removed. If it is greater than 15 characters, it will be shortened.</sub>

Revision as of 13:48, 1 June 2015

playerPrefs.txt is a file in the root directory of OBEY that determine variables for a client run on that computer.

Variable Default Value Description
sendRate 20 How many times per second to send packets to the server. A higher number makes the player's movements smoother and more responsive, but consumes greater bandwidth
interpolationPeriod 100 How long in milliseconds the client is delayed behind the server, to account for latency.
playerName Killa Dawg The ingame name of the player.*
takeOverMessage Bow down before me! The personalized message sent to other players when you subvert Robosaru.
invertRoboY False Whether or not the Y axis for Robosaru's aiming is inverted
invertPlayerY True Whether or not the Y axis for the Bunny's aiming is inverted.
invertSpectatorY True Whether or not the Y axis for the Spectator's aiming is inverted.
sensitivityModX 1 This is a modifier for mouse X sensitivity, turn it up or down as preferred
sensitivityModY 1 This is a modifier for mouse Y sensitivity, turn it up or down as preferred
sensitivityMod .35 This is a modifier for mouse sensitivity, turn it up or down as preferred
lastJoinedServer The IP left in the server browser for quick rejoining the last server
lastJoinedPort 57347
autoJoinMenuChat 1 If 1, the player's name will be used to connect to the #obey channel on QuakeNet IRC automatically upon opening the server browser
volume 1 The master volume
voiceVolumeMod .8 Voice chat volume
voiceCutoff .004 The threshold for cutting off the voice for Push To Mute.
microphone The selected microphone to receive voice chat from
micEnabled True Whether or not voice chat is enabled for the player
pushToTalk False If false, the game will use Push To Mute, automatically transmitting the player's voice whenever it exceeds the threshold and the voice key is not held. If true, the game will use Push To Talk, only transmitting the player's voice when the voice key is held.
targetFPS 0
language 1 = English
firstTimePlaying If not 0, the player will be asked if they want to play the tutorial
lastPlayed Displays in the menu when was the last time the player opened OBEY
useNameInBunnyMeet true If true, a player's last log in time will be submitted to the Bunny Meet chat in the menu

*If this field is missing, the player will be renamed to "generic bunny". If the field is empty, the player will be renamed to "Bunny #x", where "x" is a unique number assigned by the server. Invalid characters will be removed. If it is greater than 15 characters, it will be shortened.