• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

The New Pokemon Format And You

Status
Not open for further replies.

DracoHouston

Kolben Developer
Contributor
Hey all, today is Tuesday and we should be seeing 0.19 within the next 12 hours so I thought I'd give you all a heads up on the new system for generating Pokemon.

I don't know what folder they will be in but the pokemon have .dat files numbered 1-251. the number corresponds to national dex number. Let's take a look at Eevee

Code:
Name|Eevee
Number|133
ExperienceType|1
BaseExperience|65
Type1|Normal
Type2|
CatchRate|45
BaseFriendship|70
EggGroup1|Field
EggGroup2|None
BaseEggSteps|9180
IsGenderLess|0
IsMale|87.5
Evolution|0
Devolution|0
Ability1|65
Ability2|Nothing
TM|0
HM|0
BaseHP|55
BaseAttack|55
BaseDefense|50
BaseSpAttack|45
BaseSpDefense|65
BaseSpeed|55
FPHP|0
FPAttack|0
FPDefense|0
FPSpAttack|0
FPSpDefense|1
FPSpeed|0
CanSwim|0
CanFly|0
Pokedex|It has the ability to alter the composition of its body to suit its surrounding environment.\Evolution Pokémon\6.5\0.3\0,148,0
Scale|0.5
Move|1,33
EvolutionCondition|0,1,0,0,0,84,0,0,134
EvolutionCondition|0,1,0,0,0,83,0,0,135
EvolutionCondition|0,1,0,0,0,82,0,0,136
EvolutionCondition|0,0,1,1,0,0,Day,220,196
EvolutionCondition|0,0,1,1,0,0,Night,220,197
First 2 are self explanatory, national pokedex id and name.

ExperienceType is the growth rate of the pokemon. the rates are
0 - 80000 xp to level 100
1 - 100000 xp to level 100
2 - 105850 xp to level 100
3 - 125000 xp to level 100
this affects pokemon time to next level

BaseExperience is what the xp gain rate is based on, afaik this gets modified by various things but this is the basis of the calculation. Higher evolutions usually have much higher basexp than their unevolved form

Types are simple, leave type 2 blank if it has 1 type. Types are
Grass
Electric
Water
Fire
Ice
Steel
Dark
Dragon
Normal
Ghost
Psychic
Poison
Rock
Ground
Bug
Flying
Fighting

CatchRate affects the chance to catch, this is modified by the wild pokemon's health and status effects etc. 255 is highest, it is the rate used for pidgey, rattata etc. which is a base chance of around 30% IIRC. 3 is the lowest catch rate in the game, used for legendaries, which is a base chance of 0.4%

BaseFriendship is what friendship they start on. For most this is 70, for some it is 0 and others start with 140. 220 is the amount most friendship evolutions need to trigger

EggGroup1 and 2 can be set to these values
Monster
HumanLike
Water1
Water2
Water3
Bug
Mineral
Flying
Amorphous
Field
Fairy
Ditto
Grass
Undiscovered
None
again, if there isn't a second egg type use None

BaseEggSteps is the amount of steps it takes for thispokemon's eggs to hatch before modifiers

IsGenderless is 0 if the pokemon can have gender, 1 for genderless. IsMale is the % chance that the pokemon will be male. 0 means all female 100 is all male.

Evolution and Devolution I'm not even sure why they're there anymore.At any rate it seems I didn't set them but I don't think they do anything anymore.

Ability1 and Ability2 are your ability and hidden ability. right now there is only 1, overgrowth, so set them all to 65 and 0 for now.

TM holds what TMs the pokemon can learn, written like 1,5,9 etc. There are no TMs yet so don't bother setting this
HM works the same way

The next 6 lines are base stats, the next 6 after that are the EV yields. For stats you should look at pokemon on bulbapedia to get a feel for what total stats you shoudl be aiming for. Mewtwo has 680 total base stats by the way. for EV yields it usually goes +3 points for final evolutions and legendaries, 2 for middle evolutions and 1 for first.

CanSwim and CanFly are flags for the sprites, pokemon that appear to be swimming or flying in their animation should have these set. CanFly moves the sprite up off the ground, CanSwim moves it lower into the ground. Both off is around the ground.

Scale is to let the game know how big the pokemon is, keep this within 0.7-2, and smaller or bigger and it looks silly.

Pokedex first takes the pokedex entry, then there is a '/' to separate it from the next string, which is the species name that also appears in the pokedex. After the next slash is weight in kilograms, then another slash and height in meters. After the last slash is dex colour as a 24 bit colour, red, green then blue, set as whole numbers between 0 and 255

The next lines are special, they can be repeated.

Move takes the level the move is learned and the level id, the move IDs are the same as here http://bulbapedia.bulbagarden.net/wiki/List_of_moves but not all moves are in still! Use only moves you've seen nilllzz' pokemon use. Lets say you want tackle at 1 and growl at 3
Move|1,33
Move|3,45

Evolution condition works the same way, but with different arguments. For each possible evolution you have a condition. The first 4 numbers are to be set to 0 or 1, they are flags. The next 4 are values to check against, then the final number is the evolved pokemon's national dex id number.
the flags are, in order they are entered
level
item
place
happiness
the valid values for level are whole numbers indicating what level the evolution happens. For item it is the ID of the item, I think Nilllzz is using gen 2 http://bulbapedia.bulbagarden.net/wiki/List_of_items_by_index_number_(Generation_II)
Place is something we haven't done much with, but for evolutions that only take place during the day it is Day, at night it is Night, if it happens during a trade it is Trade, it doesnt need quote marks around it.
Happiness is the minimum happiness you need to trigger the evolution.

When you have made a new pokemon (use an ID number none of the nintendo games use please) the game will spawn it if you use its ID number. The game will load it's sprite from Pokemon/Content/Pokemon/Animations/pokemonname/, with pokemonname being the name of your pokemon of course. In that folder you need a Front.xnb, Back.xnb Front_s.xnb Back_s.xnb. These are sprite sheets made from a big PNG file. This source PNG can't be bigger than 2058x2058 and each individual frame of your animated sprite on the sheet can't be more than 128x128.

You can use gifmaker and pokemonspritemaker from here http://dracohouston.net/pokemon/tools/ gifmaker is just some program that splits animated gifs into individual frames as PNG files. The sprite sheets are compiled with XNA game studio.

If you have any questions about this, feel free to ask in the modding thread.
 
Status
Not open for further replies.
Top