The RPG Maker Resource Kit

RMRK General => General Chat => RMRKMon => Topic started by: Roph on February 19, 2014, 11:06:11 PM

Title: Encounter / Catch Chance
Post by: Roph on February 19, 2014, 11:06:11 PM
So for ease of use, the chances to encounter and catch pokemon along with which "version" they are will be stored in a simple PHP file as an array. This lets anyone easily edit it in human-readable text form.

Please find the chance.php file attached. I recommend using a text editor that supports syntax highlighting (such as Notepad++) to make it easier to understand the file. Also, please read the comments (green in NP++'s default style).
Title: Re: Encounter / Catch Chance
Post by: Roph on February 20, 2014, 01:06:46 AM
Did some chatting with queen gracie, here's the new revised guideline:

0: Ultra-rare unique legendaries (Mew, Celebi, Deoxys)
10: Ultra-legendary (Articuno, Entei)
15: Legendary/Unique, highly evolved (Hitmonlee/chan, Omastar/Kabutops)
20: Legendary/Unique (Omanyte, Kabuto)
30: Highly evolved starters and rare regulars (Charizard, Meganium, Dragonite, Tyranitar, Electabuzz)
40: Mid evolved starters, highly evolved regulars, mid evolved rare regulars (Pidgeot, Charmeleon, Dragonair, Pupitar)
50: Regular uniques (Farfetch'd, Tangela)
60: Starters, mid evolved regulars (Squirtle, Pikachu, Pidgeotto)
65: Normal pokemon (Pidgey, Geodude)
70: "spam" pokemon (Weedle, Caterpie)
75: Fucking zubat

Sounds good? Unlike twitchplayspokemon this is a democracy, we're open to ideas :)
Title: Re: Encounter / Catch Chance
Post by: Roph on February 20, 2014, 03:18:33 AM
Alright, using the above guideline and the following values:

Spoiler for:
Code: [Select]
$e_chance[0] = 0; $c_chance[0] = 0; //MISSINGNO
$e_chance[1] = 60; $c_chance[1] = 0; //Bulbasaur
$e_chance[2] = 40; $c_chance[2] = 0; //Ivysaur
$e_chance[3] = 30; $c_chance[3] = 0; //Venusaur
$e_chance[4] = 60; $c_chance[4] = 0; //Charmander
$e_chance[5] = 40; $c_chance[5] = 0; //Charmeleon
$e_chance[6] = 30; $c_chance[6] = 0; //Charizard
$e_chance[7] = 60; $c_chance[7] = 0; //Squirtle
$e_chance[8] = 40; $c_chance[8] = 0; //Wartortle
$e_chance[9] = 30; $c_chance[9] = 0; //Blastoise
$e_chance[10] = 70; $c_chance[10] = 0; //Caterpie
$e_chance[11] = 65; $c_chance[11] = 0; //Metapod
$e_chance[12] = 60; $c_chance[12] = 0; //Butterfree
$e_chance[13] = 70; $c_chance[13] = 0; //Weedle
$e_chance[14] = 65; $c_chance[14] = 0; //Kakuna
$e_chance[15] = 60; $c_chance[15] = 0; //Beedrill
$e_chance[16] = 70; $c_chance[16] = 0; //Pidgey
$e_chance[17] = 65; $c_chance[17] = 0; //Pidgeotto
$e_chance[18] = 60; $c_chance[18] = 0; //Pidgeot
$e_chance[19] = 70; $c_chance[19] = 0; //Rattata
$e_chance[20] = 65; $c_chance[20] = 0; //Raticate
$e_chance[21] = 65; $c_chance[21] = 0; //Spearow
$e_chance[22] = 60; $c_chance[22] = 0; //Fearow
$e_chance[23] = 65; $c_chance[23] = 0; //Ekans
$e_chance[24] = 60; $c_chance[24] = 0; //Arbok
$e_chance[25] = 65; $c_chance[25] = 0; //Pikachu
$e_chance[26] = 60; $c_chance[26] = 0; //Raichu
$e_chance[27] = 65; $c_chance[27] = 0; //Sandshrew
$e_chance[28] = 60; $c_chance[28] = 0; //Sandslash
$e_chance[29] = 65; $c_chance[29] = 0; //Nidoran F
$e_chance[30] = 60; $c_chance[30] = 0; //Nidorina
$e_chance[31] = 40; $c_chance[31] = 0; //Nidoqueen
$e_chance[32] = 65; $c_chance[32] = 0; //Nidoran M
$e_chance[33] = 60; $c_chance[33] = 0; //Nidorino
$e_chance[34] = 40; $c_chance[34] = 0; //Nidoking
$e_chance[35] = 50; $c_chance[35] = 0; //Clefairy
$e_chance[36] = 40; $c_chance[36] = 0; //Clefable
$e_chance[37] = 60; $c_chance[37] = 0; //Vulpix
$e_chance[38] = 50; $c_chance[38] = 0; //Ninetales
$e_chance[39] = 60; $c_chance[39] = 0; //Jigglypuff
$e_chance[40] = 50; $c_chance[40] = 0; //Wigglytuff
$e_chance[41] = 75; $c_chance[41] = 0; //Zubat
$e_chance[42] = 60; $c_chance[42] = 0; //Golbat
$e_chance[43] = 65; $c_chance[43] = 0; //Oddish
$e_chance[44] = 50; $c_chance[44] = 0; //Gloom
$e_chance[45] = 40; $c_chance[45] = 0; //Vileplume
$e_chance[46] = 65; $c_chance[46] = 0; //Paras
$e_chance[47] = 50; $c_chance[47] = 0; //Parasect
$e_chance[48] = 65; $c_chance[48] = 0; //Venonat
$e_chance[49] = 50; $c_chance[49] = 0; //Venomoth
$e_chance[50] = 60; $c_chance[50] = 0; //Diglett
$e_chance[51] = 40; $c_chance[51] = 0; //Dugtrio
$e_chance[52] = 60; $c_chance[52] = 0; //Meowth
$e_chance[53] = 40; $c_chance[53] = 0; //Persian
$e_chance[54] = 60; $c_chance[54] = 0; //Psyduck
$e_chance[55] = 40; $c_chance[55] = 0; //Golduck
$e_chance[56] = 60; $c_chance[56] = 0; //Mankey
$e_chance[57] = 40; $c_chance[57] = 0; //Primeape
$e_chance[58] = 60; $c_chance[58] = 0; //Growlithe
$e_chance[59] = 40; $c_chance[59] = 0; //Arcanine
$e_chance[60] = 65; $c_chance[60] = 0; //Poliwag
$e_chance[61] = 50; $c_chance[61] = 0; //Poliwhirl
$e_chance[62] = 40; $c_chance[62] = 0; //Poliwrath
$e_chance[63] = 65; $c_chance[63] = 0; //Abra
$e_chance[64] = 50; $c_chance[64] = 0; //Kadabra
$e_chance[65] = 40; $c_chance[65] = 0; //Alakazam
$e_chance[66] = 65; $c_chance[66] = 0; //Machop
$e_chance[67] = 50; $c_chance[67] = 0; //Machoke
$e_chance[68] = 40; $c_chance[68] = 0; //Machamp
$e_chance[69] = 65; $c_chance[69] = 0; //Bellsprout
$e_chance[70] = 50; $c_chance[70] = 0; //Weepinbell
$e_chance[71] = 40; $c_chance[71] = 0; //Victreebel
$e_chance[72] = 65; $c_chance[72] = 0; //Tentacool
$e_chance[73] = 50; $c_chance[73] = 0; //Tentacruel
$e_chance[74] = 65; $c_chance[74] = 0; //Geodude
$e_chance[75] = 50; $c_chance[75] = 0; //Graveler
$e_chance[76] = 40; $c_chance[76] = 0; //Golem
$e_chance[77] = 60; $c_chance[77] = 0; //Ponyta
$e_chance[78] = 40; $c_chance[78] = 0; //Rapidash
$e_chance[79] = 60; $c_chance[79] = 0; //Slowpoke
$e_chance[80] = 40; $c_chance[80] = 0; //Slowbro
$e_chance[81] = 60; $c_chance[81] = 0; //Magnemite
$e_chance[82] = 40; $c_chance[82] = 0; //Magneton
$e_chance[83] = 50; $c_chance[83] = 0; //Farfetch'd
$e_chance[84] = 60; $c_chance[84] = 0; //Doduo
$e_chance[85] = 40; $c_chance[85] = 0; //Dodrio
$e_chance[86] = 60; $c_chance[86] = 0; //Seel
$e_chance[87] = 40; $c_chance[87] = 0; //Dewgong
$e_chance[88] = 60; $c_chance[88] = 0; //Grimer
$e_chance[89] = 40; $c_chance[89] = 0; //Muk
$e_chance[90] = 60; $c_chance[90] = 0; //Shellder
$e_chance[91] = 40; $c_chance[91] = 0; //Cloyster
$e_chance[92] = 65; $c_chance[92] = 0; //Gastly
$e_chance[93] = 50; $c_chance[93] = 0; //Haunter
$e_chance[94] = 40; $c_chance[94] = 0; //Gengar
$e_chance[95] = 65; $c_chance[95] = 0; //Onix
$e_chance[96] = 65; $c_chance[96] = 0; //Drowzee
$e_chance[97] = 50; $c_chance[97] = 0; //Hypno
$e_chance[98] = 60; $c_chance[98] = 0; //Krabby
$e_chance[99] = 50; $c_chance[99] = 0; //Kingler
$e_chance[100] = 65; $c_chance[100] = 0; //Voltorb
$e_chance[101] = 50; $c_chance[101] = 0; //Electrode
$e_chance[102] = 60; $c_chance[102] = 0; //Exeggcute
$e_chance[103] = 40; $c_chance[103] = 0; //Exeggutor
$e_chance[104] = 60; $c_chance[104] = 0; //Cubone
$e_chance[105] = 40; $c_chance[105] = 0; //Marowak
$e_chance[106] = 15; $c_chance[106] = 0; //Hitmonlee
$e_chance[107] = 15; $c_chance[107] = 0; //Hitmonchan
$e_chance[108] = 40; $c_chance[108] = 0; //Lickitung
$e_chance[109] = 65; $c_chance[109] = 0; //Koffing
$e_chance[110] = 40; $c_chance[110] = 0; //Weezing
$e_chance[111] = 60; $c_chance[111] = 0; //Rhyhorn
$e_chance[112] = 40; $c_chance[112] = 0; //Rhydon
$e_chance[113] = 50; $c_chance[113] = 0; //Chansey
$e_chance[114] = 50; $c_chance[114] = 0; //Tangela
$e_chance[115] = 45; $c_chance[115] = 0; //Kangaskhan
$e_chance[116] = 60; $c_chance[116] = 0; //Horsea
$e_chance[117] = 50; $c_chance[117] = 0; //Seadra
$e_chance[118] = 60; $c_chance[118] = 0; //Goldeen
$e_chance[119] = 50; $c_chance[119] = 0; //Seaking
$e_chance[120] = 50; $c_chance[120] = 0; //Staryu
$e_chance[121] = 40; $c_chance[121] = 0; //Starmie
$e_chance[122] = 50; $c_chance[122] = 0; //Mr. Mime
$e_chance[123] = 30; $c_chance[123] = 0; //Scyther
$e_chance[124] = 30; $c_chance[124] = 0; //Jynx
$e_chance[125] = 30; $c_chance[125] = 0; //Electabuzz
$e_chance[126] = 30; $c_chance[126] = 0; //Magmar
$e_chance[127] = 35; $c_chance[127] = 0; //Pinsir
$e_chance[128] = 35; $c_chance[128] = 0; //Tauros
$e_chance[129] = 70; $c_chance[129] = 0; //Magikarp
$e_chance[130] = 30; $c_chance[130] = 0; //Gyarados
$e_chance[131] = 30; $c_chance[131] = 0; //Lapras
$e_chance[132] = 30; $c_chance[132] = 0; //Ditto
$e_chance[133] = 50; $c_chance[133] = 0; //Eevee
$e_chance[134] = 40; $c_chance[134] = 0; //Vaporeon
$e_chance[135] = 40; $c_chance[135] = 0; //Jolteon
$e_chance[136] = 40; $c_chance[136] = 0; //Flareon
$e_chance[137] = 30; $c_chance[137] = 0; //Porygon
$e_chance[138] = 20; $c_chance[138] = 0; //Omanyte
$e_chance[139] = 15; $c_chance[139] = 0; //Omastar
$e_chance[140] = 20; $c_chance[140] = 0; //Kabuto
$e_chance[141] = 15; $c_chance[141] = 0; //Kabutops
$e_chance[142] = 15; $c_chance[142] = 0; //Aerodactyl
$e_chance[143] = 30; $c_chance[143] = 0; //Snorlax
$e_chance[144] = 10; $c_chance[144] = 0; //Articuno
$e_chance[145] = 10; $c_chance[145] = 0; //Zapdos
$e_chance[146] = 10; $c_chance[146] = 0; //Moltres
$e_chance[147] = 50; $c_chance[147] = 0; //Dratini
$e_chance[148] = 40; $c_chance[148] = 0; //Dragonair
$e_chance[149] = 30; $c_chance[149] = 0; //Dragonite
$e_chance[150] = 5; $c_chance[150] = 0; //Mewtwo
$e_chance[151] = 0; $c_chance[151] = 0; //Mew

This is the result of 10,000 random encounters (http://pastebin.com/EFrNASsj). Thoughts?
Title: Re: Encounter / Catch Chance
Post by: Sophist on February 20, 2014, 03:36:16 AM
Why not a more exponential decline? That will ensure that the less super secret rare, but still rare, don't drop so easily as they actually are.
Title: Re: Encounter / Catch Chance
Post by: Acolyte on February 20, 2014, 05:49:57 AM
why is hitmonlee a legendary

also, is there literally no chance of catching a mew?
Title: Re: Encounter / Catch Chance
Post by: Roph on February 20, 2014, 07:11:11 AM
lol I replied to your post by editing my reply into it ._. Anyway, he's not really a legendary, just a one-off pokemon.

As for mew, celebi etc yes, we're going to keep them reserved. They can be given out on special occasions perhaps :)
Title: Re: Encounter / Catch Chance
Post by: Roph on February 20, 2014, 06:18:46 PM
New 10,000 encounter test (http://pastebin.com/tnUK6eCf), with Gen2 pokemon added.

Chances file in the first post updated  :)
Title: Re: Encounter / Catch Chance
Post by: Roph on March 10, 2014, 10:49:06 PM
Updated the chance.php file in the first post with Gen3 pokemon. Generation 3 pokemon will be arriving when the trading update lands; they need their encounter chances set. I've only played emerald version once, years ago, so I'm not really qualified to do it.

Gracie may do it, though someone else is free to have a go at it. Just the $e_chance values need to be set.

Please be sensible though, read the comments at the top of the file and look at existing chances to get an idea of the scale we're using. There's a free shiny pokemon for whoever fills out the accepted chances :)
Title: Re: Encounter / Catch Chance
Post by: haloOfTheSun on March 11, 2014, 05:04:51 AM
There's a free shiny pokemon for whoever fills out the accepted chances :)

I just caught a shiny Flareon from this post :)
Title: Re: Encounter / Catch Chance
Post by: Dr. Mc on March 11, 2014, 05:29:36 AM
Updated the chance.php file in the first post with Gen3 pokemon. Generation 3 pokemon will be arriving when the trading update lands; they need their encounter chances set. I've only played emerald version once, years ago, so I'm not really qualified to do it.

Gracie may do it, though someone else is free to have a go at it. Just the $e_chance values need to be set.

Please be sensible though, read the comments at the top of the file and look at existing chances to get an idea of the scale we're using. There's a free shiny pokemon for whoever fills out the accepted chances :)


I think I'll take a crack at it, i played that generation a lot :o
Title: Re: Encounter / Catch Chance
Post by: yuyu! on March 11, 2014, 05:32:38 AM
I think I'll take a crack at it, i played that generation a lot :o

So many fond memories. ;o; My Kyogre v. her Groudon
Title: Re: Encounter / Catch Chance
Post by: Dr. Mc on March 11, 2014, 07:01:16 AM
Here ya go!

It should be right, unless I miss typed anywhere o:
Title: Re: Encounter / Catch Chance
Post by: pacdiggity on March 11, 2014, 09:40:41 AM
Damn, there's nothing I know better than Gen 3 and I missed my chance ;_;
Title: Re: Encounter / Catch Chance
Post by: Roph on March 11, 2014, 10:08:18 AM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FZtrP8rMm.png&hash=6d0e56d1a66f2b8b37ebd95d160a9bf4e4dc8d6c)

Wrong thread, but fixed =o
Title: Re: Encounter / Catch Chance
Post by: Roph on March 11, 2014, 03:32:11 PM
I think I'll take a crack at it, i played that generation a lot :o

So many fond memories. ;o; My Kyogre v. her Groudon

And who won? =o

Here ya go!

It should be right, unless I miss typed anywhere o:

Checked and added ^_^ What shiny would you like? =o I guess you could pick  Gen 1/2 and get it now, or pick a Gen3 and get it when they are added.
Title: Re: Encounter / Catch Chance
Post by: Dr. Mc on March 11, 2014, 10:02:33 PM
And who won? =o

Her and her Swampert, damned water ground starter pokemon! :mad:

Checked and added ^_^ What shiny would you like? =o I guess you could pick  Gen 1/2 and get it now, or pick a Gen3 and get it when they are added.

Can I have a Shiny Raikou? (as tempting as a pink sneasel, or a orange zigzagoon is)
Title: Re: Encounter / Catch Chance
Post by: yuyu! on March 12, 2014, 04:17:09 AM
;o;

SWAMPERT <333333333
Title: Re: Encounter / Catch Chance
Post by: Roph on April 12, 2014, 05:27:49 AM
Updated the attached Chance.php attached to the first post again! Now it includes Generation IV Pokemon.

We need someone who is very familiar with the Gen4 games to go through and set realistic-ish chances for the pokemon. If you're unsure, you can look at the last 3 generations' e_chance values to get an idea of what we're going with.

All that needs to be changed are the $e_chance[1] = 60; parts, for the 4th gen pokemon. Look for the comment saying //Fourth Gen and go down from there :). c_chance is unused (for now, or ever?), and affinity has already been set.

And of course, there's any shiny pokemon you want in it as a reward ;)

Title: Re: Encounter / Catch Chance
Post by: Karo Rushe on April 13, 2014, 03:31:56 AM
I'm not 100% confident, but I'm 90% sure this how it went for me, with a help from a friend, got around to putting it together, I also had to ermm, fix Cherubi's name, I left the Legendarys from Dialga to Arceus encounter rate to 0% (I wasn't sure if I should make Heatran, Cresselia or Regigigas a % But I just followed how other legendaries in their respectve gens above) D: Don't throw me stones please!!!

It should be fine as it is.
Title: Re: Encounter / Catch Chance
Post by: Roph on April 13, 2014, 03:53:41 AM
Thank ye, added :ladyj:

Now just a few things left to do, and we're all ready to introduce gen4. Just waiting on Joy ;8
Title: Re: Encounter / Catch Chance
Post by: Karo Rushe on August 26, 2014, 07:49:45 PM
Fifth Generation chances up, and umm, tweeked a bit, posted it last time but took it down as I believe I had did a horrible mess up from exhaustion. Today took it to see & fix it, and, I can't remember where I think I messed up & who needed to get fixed, checked them all, and i think it's ok as they are, if any encounter chance is weird, well, people can report on it. Only one pokemon was really needed to be checked and probably the only one.

Anyways, here's the Chance list with Fifth Gen.