Hi there.. :) I'm Bitz54 A.K.A Twitch on PO.. I heard what i can possibly do with modding in PO.. so i want to start my project of adding new mega evolutions.. i would appreciate if somebody can help me out on that.. if there's a tutorial on that.. please add a link below.. thank you :)
Have you read and understood this? http://pokemon-online.eu/threads/po-mod-creation-guide-wip.14420/ Since it doesn't include mega I will give example of how I think you add a new mega to ORAS (let's say mega krookodile): db\pokes\pokemons.txt change "553:0 Krookodile" -> "553:0:H Krookodile" and add "553:1:M Mega Krookodile" below it db\pokes\height.txt && weight.txt just add "553:1 X" below "553:0 Y" where X is whatever you want height and weight to be. db\pokes\6G\Subgen 1\released.txt do the same as from pokemons.txt db\pokes\6G\ability1.txt add "553:1 X" below 553:0 where X is the ability number you want Mega Krookodile to have. now for an item to use db\items.txt add a new entry at the bottom so like "2048 Krookite" db\items_useful.txt add "2048 1" at the bottom db\items\6G\released_items.txt add "2048" at the bottom db\items\6G\item_effects.txt add "2048 66-553:1" at the bottom Edit: forgot to put in but stats.txt, type1.txt and type2.txt need to add 553:1's info
It all depends. There are a few abilities that accept arguments for the database entry, I don't know them all. You might have to change the abilities server source code. Examples of database edits: "7-X" Powers up X-type moves when the Pokémon is in trouble. "25-X" Boosts the X stat if the Pokémon has a status condition. "30-X" Prevents other Pokémon from lowering its X stat. 18-2 would make a 30% chance to sleep opponent from opposing contact ability
Let's just say i want to make a ability like intimidate.. but it should lower speed instead of attack.. so.. any idea if and how'll that work..?
You would have to make a custom server that accepts an input for "34". It only works on attack normally Code (C++): struct AMIntimidate : public AM { AMIntimidate() { functions["UponSetup"] = &us; } static void us(int s, int , BS &b) { QList<int> tars = b.revs(s); foreach(int t, tars) { if (!b.areAdjacent(s, t)) { continue; } if (b.hasSubstitute(t) || (b.gen().num == 4 && turn(b, t)["HadSubstitute"] == true)) { b.sendAbMessage(34,1,s,t); } else { b.sendAbMessage(34,0,s,t); b.inflictStatMod(t,Attack,-1,s); } } } };