The Azure Heights Forum


Post New Topic  New Poll  Post A Reply
my profile | search | faq | forum home
  next oldest topic   next newest topic
» The Azure Heights Forum   » Onix Annex   » Arbok's Internet Cafe   » Catching/Regeneration Algorityhems

UBBFriend: Email this page to someone!    
Author Topic: Catching/Regeneration Algorityhems
jshadias
Farting Nudist
Member # 2710

Member Rated:
posted 08-17-2002 05:08 PM      Profile for jshadias   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
I figured this forum would work because it's the only forum where anyone cares about math and stuff. I just posted the catching one because I felt like it, but I need suggestions on the regeration. Note: This is for an online RPG I am going to make using the NetBattle battle engine and connection stuff (I'll have to figure out what it all does and rip it out). I think I'm just going to use tiles from the game and wait for a lawsuit.

Example File Format
|Upper Level for All|
|Lower Level for All|
Pokemon Number
|Flag - Released poke (Boolean)|
Number remaining (If not released)
Pop Cap (If not released)
Experience Points (If released)
Item (If released)
Bunch of DV and stat exp. shit (If released)

I plan on making it so that released pokes can be found in the wild near where they were released. I may even make it so that they gradually travel to a place with levels matching it or the area it was first caught in or just a random place with others of its species (or pre-ev species) or just go around terrorizing stuff at random (depending on level & happiness and such). The Pop Cap is the highest a certain species can go (just to make sure Chansey is rare as fuck). And I may even add a tracking feature (the footprints are in the in-game Pokedex), but that might take a while. Anyways, the catching algorithm, in human readable form.

Add up all the possible pokes.
Determine a random number out of those.
Figure out which species it came from (add up specie amounts until you get there).
Player hopes to hell it's what they want [Razz]
If it's a Ditto, calculate the odds of it being in transformed mode (not revealed until you catch it). 9/10 unless someone has a good algorithim.
If it's Smeargle, go and calculate possible moves of all other pokes and then add them up with percentages and all that and pick three moves for him to have besides Sketch. (I plan on having Ditto pretty much everywhere, even in controlled areas (hard to differientate when you're importing pokes), and Smeargle in most non-controlled areas.
Player fights the ugly bitch.

Now the regeneration algorithim...

Get all possible breeding partners (I'll get that to work, somehow)
Calculate odds of them breeding
Breed or not

And released pokes can breed too [Smile]
Alright, that was a huge load of pure SPAM. But I need something in return for taking up space. Can someone give me an idea of how to calculate the odds? I have no idea what to base them on.

- - - - -
What Nintendo doesn't want you to know
Uiru: "Now that we're all used to the rules, clauses and by-laws... what would happen to the metagame if every one of them were whipped away?"
GP-Chan: "id probably quit every battle, and not just every other battle."
ThumbsOfSteel: "Why, because they broke the rules?"

Registered: Mar 2002  |  IP: Logged
jshadias
Farting Nudist
Member # 2710

Member Rated:
posted 08-19-2002 12:53 AM      Profile for jshadias   Author's Homepage     Send New Private Message      Edit/Delete Post  Reply With Quote 
Or should I just go with percentages and fuck all that?

- - - - -
What Nintendo doesn't want you to know
Uiru: "Now that we're all used to the rules, clauses and by-laws... what would happen to the metagame if every one of them were whipped away?"
GP-Chan: "id probably quit every battle, and not just every other battle."
ThumbsOfSteel: "Why, because they broke the rules?"

Registered: Mar 2002  |  IP: Logged


All times are ET (US)  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Printer-friendly view of this topic
Hop To:


Contact Us | Azure Heights Pokémon Laboratory

© 2000-2019, Maximum Penetration Industries.

Karpe Diem


The views and opinions expressed on this page are strictly those of the author(s). The contents and links have not been reviewed or approved by the University of Miami.