Difference between revisions of "Pokemon Data Files"

From Pokémon 3D Wiki
Jump to navigation Jump to search
m (Updated the information for the Evolution Conditions)
 
(4 intermediate revisions by one other user not shown)
Line 4: Line 4:


These files are contained in a sub folder of the [[Content]] folder.
These files are contained in a sub folder of the [[Content]] folder.
== Basic File ==
<pre>
Name|
Number|
ExperienceType|
BaseExperience|
Type1|
Type2|
CatchRate|
BaseFriendship|
EggGroup1|
EggGroup2|
BaseEggSteps|
EggPokemon|
Devolution|
IsGenderLess|
IsMale|
Ability1|
Ability2|
Ability3|
Machines|
EggMoves|
BaseHP|
BaseAttack|
BaseDefense|
BaseSpAttack|
BaseSpDefense|
BaseSpeed|
FPHP|
FPAttack|
FPDefense|
FPSpAttack|
FPSpDefense|
FPSpeed|
CanFly|
CanSwim|
Pokedex|\Pokémon\g\m\0,148,0
Scale|
Move|
TradeValue|
Item|
EvolutionCondition|
</Pre>
Here is a blank format for the pokemon data.


=== Line 1 ===
Each line is explained below
 
=== Name ===
<pre>Name|Text</pre>
<pre>Name|Text</pre>


This is the name of the species. Used to find the Battle animations.
This is the name of the species. Used to find the Battle animations.


=== Line 2 ===
=== Number ===
<pre>Number|###</pre>
<pre>Number|###</pre>


This is the number of the species. Used to find the cries and overworld sprites.
This is the number of the species. Used to find the cries and overworld sprites.


=== Line 3 ===
=== Experience type ===
<pre>ExperienceType|#</pre>
<pre>ExperienceType|#</pre>


Chooses between the different level paths based on this number.
Chooses between the different level paths based on this number.
0 = Fast
1 = Medium Fast
2 = Medium Slow
3 = Slow


=== Line 4 ===
=== BaseExperience ===
<pre>BaseExperience|###</pre>
<pre>BaseExperience|###</pre>


This is the base EXP a Pokemon gives when defeated.
This is the base EXP a level 1 Pokemon gives when defeated.


=== Lines 5&6 ===
=== Type ===
<pre>Type1|Text
<pre>Type1|Text
Type2|Text</pre>
Type2|Text</pre>
Line 31: Line 81:
These decide the types of a Pokemon.
These decide the types of a Pokemon.


=== Line 7 ===
Type two should be blank if not used.
 
=== CatchRate ===
<pre>CatchRate|##</pre>
<pre>CatchRate|##</pre>


This decides how hard or easy a Pokemon is to catch. the lower the number the harder it is.
This decides how hard or easy a Pokemon is to catch. The lower the number the harder it is.


=== Line 8 ===
=== BaseFriendship ===
<pre>BaseFriendship|##</pre>
<pre>BaseFriendship|##</pre>


This is how much friendship a Pokemon will have with you when it is first caught.
This is how much friendship a Pokemon will have with you when it is first caught.


=== Lines 9&10 ===
=== EggGroup ===
<pre>EggGroup1|Text
<pre>EggGroup1|Text
EggGroup2|Text</pre>
EggGroup2|Text</pre>
Line 47: Line 99:
Determines what Pokemon this species can [[Breeding|breed]] with.
Determines what Pokemon this species can [[Breeding|breed]] with.


=== Line 11 ===
=== BaseEggSteps ===
<pre>BaseEggSteps|###</pre>
<pre>BaseEggSteps|###</pre>


The usual amount of steps needed to hatch an egg.
The usual amount of steps needed to hatch an egg.


=== Line 12 ===
=== EggPokemon ===
<pre>EggPokemon|###</pre>
 
The pokemon that will hatch from an egg mothered by this species.
 
=== Devolution ===
<pre>Devolution|###</pre>
 
The pokemon this pokemon evolves from. 0 means none
=== IsGenderless ===
<pre>IsGenderless|Bool</pre>
<pre>IsGenderless|Bool</pre>


If 0 the Pokemon has a gender, If 1 it doesn't.
If 0 the Pokemon has a gender, If 1 it doesn't.


=== Line 13 ===
=== IsMale ===
<pre>IsMale|%%.%</pre>
<pre>IsMale|%%.%</pre>


The chance this Pokemon will be Male. Female is 100-Male.
The chance this Pokemon will be Male. Female is 100-Male.


=== Line 14&15 ===
=== Ability ===
<pre>Ability1|##
<pre>Ability1|##
Ability2|##</pre>
Ability2|##
Ability3|##</pre>


The Index numbers of the [[Abilities]] possible for this Pokemon. If there is no Ability put 'Nothing'.
The Index numbers of the [[Abilities]] possible for this Pokemon. If there is no Ability put 'Nothing'. The third ability will be the hidden ability when such are implemented.


=== Line 16 ===
=== Machines ===
<pre>Machines|##, ##, ##, etc.</pre>
<pre>Machines|##, ##, ##, etc.</pre>


A list of all of the TMs and HMs a Pokemon can learn listed by the [[Moves|index number of the move]]
A list of all of the TMs and HMs a Pokemon can learn listed by the [[Moves|index number of the move]].
 
=== EggMoves ===
<pre>EggMoves|##, ##, ##, etc.</pre>
 
A list of all of the egg moves a Pokemon can receive by breeding listed by the [[Moves|index number of the move]].


=== Lines 17-22 ===
=== BaseStats ===
<pre>Base<stat>|##</pre>
<pre>Base<stat>|##</pre>


Decides the [[Pokemon Mechanics#Stats|Base Stat]] of the species.
Decides the [[Pokemon Mechanics#Stats|Base Stat]] of the species.


=== Lines 23-28 ===
=== EvGain ===
<pre>FP<stat>|#</pre>
<pre>FP<stat>|#</pre>


Determines how many EVs a Pokemon gets when it beats this species.
Determines how many EVs a Pokemon gets when it beats this species.


=== Lines 29&30 ===
=== Positioning ===
<pre>CanFly|Bool
<pre>CanFly|Bool
CanSwim|Bool</pre>
CanSwim|Bool</pre>
Line 89: Line 156:
Determines the location of a Pokemon in relation to the ground in battle. ''Has nothing to do with the HMs''.
Determines the location of a Pokemon in relation to the ground in battle. ''Has nothing to do with the HMs''.


=== Line 31 ===
=== Pokedex ===
<pre>Pokedex|Text1\Text2\#.#1\#.#2\#1,#2,#3</pre>
<pre>Pokedex|Text1\Text2\#.#1\#.#2\#1,#2,#3</pre>
* Text1 - Pokedex Entry
* Text1 - Pokedex Entry
Line 97: Line 164:
* #1-3 - Colors
* #1-3 - Colors


=== Line 32 ===
=== Scale ===
<pre>Scale|#.#</pre>
<pre>Scale|#.#</pre>


Determines the size of the battle animations used to make smaller Pokemon small and larger ones big.
Determines the size of the battle animations used to make smaller Pokemon small and larger ones big.


=== Lines 33+ ===
=== Move(s) ===
<pre>Move|##,##</pre>
<pre>Move|##,##</pre>


These rows make of the level up move sets for the Species. Each move has a separate line. Each line has 2 values: Level learned and [[Moves|Move ID]].
These rows make of the level up move sets for the Species. Each move has a separate line. Each line has 2 values: Level learned and [[Moves|Move ID]].


=== Last Line(s) ===
=== TradeValue ===
<pre>EvolutionCondition|#1,#2,#3,#4,#5,#6,#7,#8,#9</pre>
<pre>TradeValue|##</pre>
 
The value of a pokemon when traded.
 
=== Item ===
<pre>Item|%,#</pre>
 
The item a pokemon might have when caught in the wild. First number is the percent chance second number is the item ID.
 
=== EvolutionCondition ===
<pre>EvolutionCondition|str1,str2,str3,str4</pre>
 
Evolution conditions may be stacked by making multiple lines for the same target.


The last line is the evolution condition. The evolution condition can have 9 different values.
If multiple lines contain valid, triggered evolutions for different pokemon, then one of those pokemon will be choosen at random and it will evolve into it.
These can be divided into 3 categories.
there are four values:
* str1 - Target Pokémon ID (including form suffix if needed, e.g. "28_alola")
* str2 - Condition Type
* str3 - Argument
* str4 - Trigger


* Conditions - The different types of triggers. Each is either a '1'(on) or a '0'(off).
When the condition is met when the trigger method is used it will evolve into the target species.
** #1 - Level - This Pokemon will evolve upon reaching a certain level and meeting any other conditions.
Condition Types:
** #2 - Items - This Pokemon will evolve when holding a certain item and meeting any other conditions.
* Level - If the pokemon's level is equal or higher than the number given as the argument, it will evolve.
** #3 - Other - This Pokemon evolves after meeting one of a variety of different types of conditions. NOT IMPLEMENTED!
* Item - If an item with the ID given as the argument is used on the pokemon, it will evolve.
** #4 - Happiness - This Pokemon will evolve upon reaching a certain happiness level and meeting any other condition.
* HoldItem - If the Pokemon is holding an item with the ID given as the argument, it will evolve.
* Triggers - Specifies at what point the conditions take effect. The possible values very depending on which it is.
* Location or Place - If the map's location name (not file name) matches the argument, it will evolve.
** #5 - Level - What level the Pokemon will evolve at. Can be any level.
* Friendship - If the Pokemon's friendship value is greater than or equal to the argument, then it will evolve.
** #6 - Items - What Item is needed to trigger the evolution. Uses the [[Items|item index]].
* Trade - Evolves if it is traded. If it should only evolve when trading against a specific Pokémon, set the argument to that Pokémon's ID (including form suffix if needed, e.g. "28_alola"), otherwise set the argument to 0.
** #7 - Other - NOT IMPLEMENTED. Will supposedly contain triggers for different times, locations, and if traded.
* Gender - Evolves if it is the correct gender (0 = Male, 1 = Female, 2 = Genderless).
** #8 - Happiness - The happiness value that a Pokemon can evolve at (0-255).
* AtkDef - Evolves if the attack stat is greater than the defense.
* Pokemon - Which Pokemon it evolves into
* DefAtk - Evolves if the defense stat is greater than the attack.
** #9 - Poke Num. - The pokemon's National dex number.
* DefEqualAtk - Evolves if the defense stat equals the attack stat.
* Daytime - If the current time of day matches it will evolve (0 = Night, 1 = Morning, 2 = Day, 3 = Evening).
* InParty - Evolves if a Pokemon with the ID given as the argument is in the party.


You may have as many separate Evolution conditions(each on separate lines) as you want. You may even choose to not make an evolution condition at all and leave the line blank.
'''Triggers:'''
* Level or LevelUp - When the pokemon levels up it will check the condition.
* Trade or Trading - When the pokemon is traded it will check the condition.
* Item or ItemUse - When an item is used on the pokemon it will check the condition.
{{FilePaths}}
{{FilePaths}}

Latest revision as of 20:13, 25 February 2026

The Pokemon Data files are one of the more crucial elements of Pokemon 3d.

Almost Every detail about a Pokemon is located in these files. Each file contains at least 33 lines.

These files are contained in a sub folder of the Content folder.

Basic File

Name|
Number|
ExperienceType|
BaseExperience|
Type1|
Type2|
CatchRate|
BaseFriendship|
EggGroup1|
EggGroup2|
BaseEggSteps|
EggPokemon|
Devolution|
IsGenderLess|
IsMale|
Ability1|
Ability2|
Ability3|
Machines|
EggMoves|
BaseHP|
BaseAttack|
BaseDefense|
BaseSpAttack|
BaseSpDefense|
BaseSpeed|
FPHP|
FPAttack|
FPDefense|
FPSpAttack|
FPSpDefense|
FPSpeed|
CanFly|
CanSwim|
Pokedex|\Pokémon\g\m\0,148,0
Scale|
Move|
TradeValue|
Item|
EvolutionCondition|

Here is a blank format for the pokemon data.

Each line is explained below

Name

Name|Text

This is the name of the species. Used to find the Battle animations.

Number

Number|###

This is the number of the species. Used to find the cries and overworld sprites.

Experience type

ExperienceType|#

Chooses between the different level paths based on this number. 0 = Fast 1 = Medium Fast 2 = Medium Slow 3 = Slow

BaseExperience

BaseExperience|###

This is the base EXP a level 1 Pokemon gives when defeated.

Type

Type1|Text
Type2|Text

These decide the types of a Pokemon.

Type two should be blank if not used.

CatchRate

CatchRate|##

This decides how hard or easy a Pokemon is to catch. The lower the number the harder it is.

BaseFriendship

BaseFriendship|##

This is how much friendship a Pokemon will have with you when it is first caught.

EggGroup

EggGroup1|Text
EggGroup2|Text

Determines what Pokemon this species can breed with.

BaseEggSteps

BaseEggSteps|###

The usual amount of steps needed to hatch an egg.

EggPokemon

EggPokemon|###

The pokemon that will hatch from an egg mothered by this species.

Devolution

Devolution|###

The pokemon this pokemon evolves from. 0 means none

IsGenderless

IsGenderless|Bool

If 0 the Pokemon has a gender, If 1 it doesn't.

IsMale

IsMale|%%.%

The chance this Pokemon will be Male. Female is 100-Male.

Ability

Ability1|##
Ability2|##
Ability3|##

The Index numbers of the Abilities possible for this Pokemon. If there is no Ability put 'Nothing'. The third ability will be the hidden ability when such are implemented.

Machines

Machines|##, ##, ##, etc.

A list of all of the TMs and HMs a Pokemon can learn listed by the index number of the move.

EggMoves

EggMoves|##, ##, ##, etc.

A list of all of the egg moves a Pokemon can receive by breeding listed by the index number of the move.

BaseStats

Base<stat>|##

Decides the Base Stat of the species.

EvGain

FP<stat>|#

Determines how many EVs a Pokemon gets when it beats this species.

Positioning

CanFly|Bool
CanSwim|Bool

Determines the location of a Pokemon in relation to the ground in battle. Has nothing to do with the HMs.

Pokedex

Pokedex|Text1\Text2\#.#1\#.#2\#1,#2,#3
  • Text1 - Pokedex Entry
  • Text2 - Species Name
  • #.#1 - Weight(kg)
  • #.#2 - Height(m)
  • #1-3 - Colors

Scale

Scale|#.#

Determines the size of the battle animations used to make smaller Pokemon small and larger ones big.

Move(s)

Move|##,##

These rows make of the level up move sets for the Species. Each move has a separate line. Each line has 2 values: Level learned and Move ID.

TradeValue

TradeValue|##

The value of a pokemon when traded.

Item

Item|%,#

The item a pokemon might have when caught in the wild. First number is the percent chance second number is the item ID.

EvolutionCondition

EvolutionCondition|str1,str2,str3,str4

Evolution conditions may be stacked by making multiple lines for the same target.

If multiple lines contain valid, triggered evolutions for different pokemon, then one of those pokemon will be choosen at random and it will evolve into it. there are four values:

  • str1 - Target Pokémon ID (including form suffix if needed, e.g. "28_alola")
  • str2 - Condition Type
  • str3 - Argument
  • str4 - Trigger

When the condition is met when the trigger method is used it will evolve into the target species. Condition Types:

  • Level - If the pokemon's level is equal or higher than the number given as the argument, it will evolve.
  • Item - If an item with the ID given as the argument is used on the pokemon, it will evolve.
  • HoldItem - If the Pokemon is holding an item with the ID given as the argument, it will evolve.
  • Location or Place - If the map's location name (not file name) matches the argument, it will evolve.
  • Friendship - If the Pokemon's friendship value is greater than or equal to the argument, then it will evolve.
  • Trade - Evolves if it is traded. If it should only evolve when trading against a specific Pokémon, set the argument to that Pokémon's ID (including form suffix if needed, e.g. "28_alola"), otherwise set the argument to 0.
  • Gender - Evolves if it is the correct gender (0 = Male, 1 = Female, 2 = Genderless).
  • AtkDef - Evolves if the attack stat is greater than the defense.
  • DefAtk - Evolves if the defense stat is greater than the attack.
  • DefEqualAtk - Evolves if the defense stat equals the attack stat.
  • Daytime - If the current time of day matches it will evolve (0 = Night, 1 = Morning, 2 = Day, 3 = Evening).
  • InParty - Evolves if a Pokemon with the ID given as the argument is in the party.

Triggers:

  • Level or LevelUp - When the pokemon levels up it will check the condition.
  • Trade or Trading - When the pokemon is traded it will check the condition.
  • Item or ItemUse - When an item is used on the pokemon it will check the condition.
Game Folder
Content ContentPacks GameModes Saves Screenshots Game Executable
Pokemon Data ContentPack Folder GameMode folder Savegame folder Version History
Data Maps Moves Items Scripts Control Files Content GameMode.dat Party.dat Player.dat Options.dat
poke battle structures V1 V2 trainer worldmap