Player Conf File
The confPlayer.xml file is an XML configuration file used to set various parameters for the Player Character in the game. The file is structured as follows:
Elements
<confPlayer>: The root element of the document. All other elements are nested within this element.<moveSpeed>: The normal movement speed of the player. The value is a floating-point number.<moveSpeedSprint>: The sprinting speed of the player. The value is a floating-point number.<moveSpeedCrouch>: The crouching speed of the player. The value is a floating-point number.<jumpForce>: The force applied when the player jumps. The value is a floating-point number.<groundCheckRadius>: The radius of the ground check circle used to determine if the player is on the ground. The value is a floating-point number.
Usage
This file is read by the ConfReaderPlayer class in the Script namespace. The class reads the values of the elements and stores them in private fields. These values can then be retrieved using the class's getter methods.