Difference between revisions of "Player.dat"

From Pokémon 3D Wiki
Jump to navigation Jump to search
(Created page with "'''Player.dat''' is an essential document within the Pokémon 3D files. The document determines a large variety of things, from the name of the player to the amount of mon...")
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Player.dat''' is an essential document within the Pokémon 3D files. The document determines a large variety of things, from the name of the [[player]] to the amount of money they have.
'''Player.dat''' is an essential document within the Pokémon 3D savefiles. The document stores gameplay data, from the name of the [[player]] to the amount of money they have.


==Guide==
==Guide==
Line 36: Line 36:
<code>Money|</code>
<code>Money|</code>
|Controls the current money of the [[player]].
|Controls the current money of the [[player]].
| Any whole number not exceeding 9 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
<code>Badges|</code>
<code>Badges|</code>
|Controls the number of badges the [[player]] has.
|Controls the number of badges the [[player]] has.
| Any whole number not exceeding 9 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
Line 51: Line 51:
<code>PlayTime|</code>
<code>PlayTime|</code>
|Controls the total play time of the [[player]].
|Controls the total play time of the [[player]].
| Any whole number in the format <code>x,y,z</code> where any variable cannot exceed 8 digits.
| Any whole number in the format <code>day, hour, minute, second</code> where any variable ranges from 0 to 2147483647.
|-
|-
|
|
<code>OT|</code>
<code>OT|</code>
|Controls the OT number of the [[player]].
|Controls the OT number of the [[player]]. It only has a range of 0 to 99999 in normal gameplay.
| Any whole number not exceeding 5 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
<code>Points|</code>
<code>Points|</code>
|Controls the number of points the [[player]] has.
|Controls the number of points the [[player]] has. Currently not being used.
| Any whole number not exceeding 9 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
<code>hasPokedex|</code>
<code>hasPokedex|</code>
|Determines if the [[player]] has a Pokédex.
|Determines if the [[player]] has a Pokédex.
| <code>0</code> for no, <code>1</code> for yes.
|-
|
<code>hasPokegear|</code>
| Determines if the [[player]] has a Pokégear.
| <code>0</code> for no, <code>1</code> for yes.
| <code>0</code> for no, <code>1</code> for yes.
|-
|-
Line 90: Line 95:
|
|
<code>battleAnimations|</code>
<code>battleAnimations|</code>
|Controls the [[player]]'s location according to the main menu.
|Determines if battle animations are shown.
| <code>0</code> for off, <code>1</code> for on.
| <code>0</code> for off, <code>1</code> for on.
|-
|-
Line 96: Line 101:
<code>BoxAmount|</code>
<code>BoxAmount|</code>
|Controls the amount of boxes in Bill's PC.
|Controls the amount of boxes in Bill's PC.
| Any whole number not exceeding 9 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
Line 116: Line 121:
<code>RepelSteps|</code>
<code>RepelSteps|</code>
|Controls the amount of steps from a [[Repel]] the [[player]] has.
|Controls the amount of steps from a [[Repel]] the [[player]] has.
| Any whole number not exceeding 9 digits.
| Any whole number from 0 to 2147483647.
|-
|-
|
|
Line 128: Line 133:
| Any number inserted into the format <code>x,y,z</code>.
| Any number inserted into the format <code>x,y,z</code>.
|-
|-
|
<code>Difficulty|</code>
|Controls [[Difficulty]].
| <code>0</code>, <code>1</code> or <code>2</code>.
|-
|
<code>BattleStyle|</code>
|Controls the battle style.
| <code>0</code> for Shift, <code>1</code> for Set.
Any number inserted into the format <code>x,y,z</code>.
|-
|
<code>saveCreated|</code>
|Determines the game version when the save is created.
| Game version, starting from <code>Pre 0.21</code>, since this is implemented at version Alpha 0.22.
|-
|
<code>LastPokemonPosition|</code>
|Determines where your Pokemon following you was when last saved, in co-ordinates.
| Any number inserted into the format <code>x,y,z</code>.
|-
|
<code>DaycareSteps|</code>
| Steps taken since last visit to the daycare.
| Any whole number from 0 to 2147483647.
|-
|
<code>GameMode|</code>
| Name of the GameMode that the file was created for.
| Name of a GameMode
|-
|
<code>PokeFiles|</code>
| The names of every place in which you have encountered a wild Pokemon. Used with the 'OnlyCaptureFirst' [[Game Modes|GameMode]] rule.
| Names of map files.
|}
|}


Line 133: Line 173:


'''Windows''': Pokemon3D/Pokemon/Save/(Name of Save File)/player.dat
'''Windows''': Pokemon3D/Pokemon/Save/(Name of Save File)/player.dat
{{FilePaths}}

Latest revision as of 20:38, 26 March 2013

Player.dat is an essential document within the Pokémon 3D savefiles. The document stores gameplay data, from the name of the player to the amount of money they have.

Guide

Line Function Variables

Name|

Controls the current name of the player. Anything can be typed to replace the current info.

Position|

Controls the current location of the player in co-ordinates. Any number inserted into the format x,y,z.

MapFile|

Controls the current location of the player. Any valid location .dat, such as lavender.dat.

Rotation|

Controls the current rotation of the player. Any number between 0 and 360.

RivalName|

Controls the current name of Rival. Anything can be typed to replace the current info.

Money|

Controls the current money of the player. Any whole number from 0 to 2147483647.

Badges|

Controls the number of badges the player has. Any whole number from 0 to 2147483647.

Gender|

Controls the gender of the player. Male or Female.

PlayTime|

Controls the total play time of the player. Any whole number in the format day, hour, minute, second where any variable ranges from 0 to 2147483647.

OT|

Controls the OT number of the player. It only has a range of 0 to 99999 in normal gameplay. Any whole number from 0 to 2147483647.

Points|

Controls the number of points the player has. Currently not being used. Any whole number from 0 to 2147483647.

hasPokedex|

Determines if the player has a Pokédex. 0 for no, 1 for yes.

hasPokegear|

Determines if the player has a Pokégear. 0 for no, 1 for yes.

freeCamera|

Determines if free camera mode is active. 0 for no, 1 for yes.

thirdPerson|

Determines if third person mode is active. 0 for no, 1 for yes.

Skin|

Controls the player's current skin Red, Blue, Ethan, Hilbert, Hilda, Lass, Bugcatcher, or Youngster

location|

Controls the player's location according to the main menu. Any valid location .dat, such as lavender.dat.

battleAnimations|

Determines if battle animations are shown. 0 for off, 1 for on.

BoxAmount|

Controls the amount of boxes in Bill's PC. Any whole number from 0 to 2147483647.

LastRestPlace|

Determines where the player will go when they run out of Pokémon that can fight. Any valid location .dat, such as lavender.dat.

LastRestPlacePosition|

Determines where the player will go when they run out of Pokémon that can fight, in co-ordinates. Any number inserted into the format x,y,z.

DiagonalMovement|

Determines if the player has Diagonal Movement. 0 for no, 1 for yes.

RepelSteps|

Controls the amount of steps from a Repel the player has. Any whole number from 0 to 2147483647.

LastSavePlace|

Determines where the player last saved. Any valid location .dat, such as lavender.dat.

LastSavePlacePosition|

Determines where the player last saved in co-ordinates. Any number inserted into the format x,y,z.

Difficulty|

Controls Difficulty. 0, 1 or 2.

BattleStyle|

Controls the battle style. 0 for Shift, 1 for Set.
Any number inserted into the format x,y,z.

saveCreated|

Determines the game version when the save is created. Game version, starting from Pre 0.21, since this is implemented at version Alpha 0.22.

LastPokemonPosition|

Determines where your Pokemon following you was when last saved, in co-ordinates. Any number inserted into the format x,y,z.

DaycareSteps|

Steps taken since last visit to the daycare. Any whole number from 0 to 2147483647.

GameMode|

Name of the GameMode that the file was created for. Name of a GameMode

PokeFiles|

The names of every place in which you have encountered a wild Pokemon. Used with the 'OnlyCaptureFirst' GameMode rule. Names of map files.

Navigation

Windows: Pokemon3D/Pokemon/Save/(Name of Save File)/player.dat

Game Folder
Content ContentPacks GameModes Saves Screenshots Game Executable
Pokemon Data ContentPack Folder GameMode folder Savegame folder Version History
Data Maps Moves Scripts Control Files Content GameMode.dat Party.dat Player.dat Options.dat
poke battle structures V1 V2 trainer worldmap