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)
 
(4 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
| interpolationPeriod || 100 || How long in milliseconds the client is delayed behind the server, to account for latency.
 
| 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.*
+
| playerName || || The ingame name of the player.*
 
|-
 
|-
| takeOverMessage || Bow down before me! || The personalized message sent to other players when you subvert [[Robosaru]].
+
| takeOverMessage || || 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
 
| invertRoboY || False || Whether or not the Y axis for Robosaru's aiming is inverted
Line 37: Line 37:
 
| voiceCutoff || .004 || The threshold for cutting off the voice for Push To Mute.
 
| voiceCutoff || .004 || The threshold for cutting off the voice for Push To Mute.
 
|-
 
|-
| microphone || || The selected microphone to receive voice chat from
+
| microphone || || The selected microphone to receive voice chat from (can be 'OFF')
|-
+
| 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.
 
| 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.
Line 45: Line 43:
 
| targetFPS || 0 ||
 
| targetFPS || 0 ||
 
|-
 
|-
| language || || This field is created when the game is first launched.<br/>1 = English
+
| 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 name and login time will be submitted to the Bunny Meet chat in the menu. Otherwise their login time will be mentioned under the name "Anonymous".
 
|-
 
|-
| firstTimePlaying || || This field is created when the game is first launched.
+
| roboMacros|| textMacros.txt || Specify a custom file for robo's spacebar text macros.
 
|}
 
|}
  
 
<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>

Latest revision as of 15:58, 6 March 2016

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 The ingame name of the player.*
takeOverMessage 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 (can be 'OFF')
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 name and login time will be submitted to the Bunny Meet chat in the menu. Otherwise their login time will be mentioned under the name "Anonymous".
roboMacros textMacros.txt Specify a custom file for robo's spacebar text macros.

*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.