Data
The Data Folder of the Pokemon 3D game contains most of the data files that run the game. It is located in the Content Folder and contains 3 Folders and 5 separate files.
maps
Contains the files for each map and the wild Pokemon encountered on each map.
Moves
The place for custom moves. Contains one example file.
Scripts
Contains the scripts for every event in the game. These include all of the trainer files.
Files
The following are various one off files that control specific functions of the game, these are here to allow for GameModes to modify these features as they need.
Badges.dat
berrydata.dat
channels.dat
Contains a list of possible channels in the Radio.
One line for each channel in the following structure:
{listen channel(s)|block channel(s)|name|region|Time of day|Card Requierment|Music|text to display|CanbeOverwritten|Activation|register}
- listen channel(s) - The channel or channels this station should play on.
- block channel(s) - the channel or channels that should not play anything when this channel is active.
- name - the name of the channel
- region - the region this channel should play in
- Time of day - The times of day(0-3) this channel should be active
- Card Requirement - "radio" activates with the base radio card, all others activate with having register "pokegear_card_radio<Card Requirement>"
- Music - music file to play from \content\songs\
- text to display - can either be text defined here(~ = new line) or one of the following hardcoded [special channels]:
- pokedexentry - Plays the Pokedex show, reading out a random dex entry
- randompokemon - Professor Oak's Pokémon talk, mentioning which Pokémon can be found in the grass on specific routes (currently hardcoded for routes 29-39 and 42-46)
- unown - plays a random smattering of words in a spooky way
- luckychannel - does nothing currently eventually connected to the lotto
- placesandpeople - Places and People, randomly combines names of trainers with a short descriptor, both lists are hard coded
- CanbeOverwritten - a boolean(0 or 1) indicating if a channel can be overwritten or not
- activation - 0 = always on, 1 = triggered by the "RadioChannels" MapActions level tag
- register - 0 if it shouldnt check a register other wise the register to check to activate the channel
contacts.dat
Contains the list of possible phone contacts. One line for each contact in the following structure:
num|Name|sprite|location|randomcall
- num - The ID to connect the listing, the register, and the call script.
- Name - The name of the contact in the PokéGear.
- sprite - The Sprite file from \content\textures\NPC\ to be shown with the contact in the PokéGear.
- location - The location of the caller to be listed in the PokéGear.
- randomcall - boolean (0 or 1) for whether this contact ever calls randomly.
forms.dat
interactions.dat
The list of special interactions with the following pokemon, based on the location.
{mapfile|PokemonID|TimeOfDay|Weather|Season|Types|chance|Emoji|message}
For arguments 2-6 "-1" means all possible conditions
- mapfile - Comma separated list of map files for this line to be valid for.
- PokemonID - List of Pokemon IDs for this interaction, or if the list starts with '!' then the ones to skip.
- TimeOfDay - The time of day ID(0-3) to trigger during.
- Weather - The weather ID(0-9) to trigger during.
- Season - The season ID(0-3) to trigger during.
- Types - Comma separated list of Pokémon types for this line to trigger for.
- Chance - Weight to give this line when selecting randomly.
- Emoji - 1 of 16 valid reactions.
- message - The text of the message to be displayed, <name> will be replaced with the nickname.
pokedex.dat
The list of possible Pokedexes to aquire.
Name|activator|Pokémon list|include extras
- Name - Name of the Pokedex
- activator - register to check for, 0 means the dex is active from the beginning
- Pokémon list - the list of pokemon ID in the order they should appear in the dex, consecutive IDs can be grouped, specific forms can be included in the dex by giving either ###_form or ###;form also [MAX] pulls the hard coded maximum Pokemon ID
- include extras - a boolean(0 or 1) to include Pokemon caught that arent in the dex after the end
smashrockitems.dat
The list of possible item drops from smashing rocks.
mapfile|{item1,chance1}|{item2,chance2}...
Each line is for a distinct map file, listing all items that can be found.
Each item has (their chance)/the sum of all chances for that map) likelihood of being found.
| 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 | |||||||||||