View Single Post
Old December 24th, 2012 (3:33 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
    Join Date: Jan 2008
    Location: England
    Posts: 5,185
    Originally Posted by AmethystRain View Post
    Sorry if this is specified somewhere- I couldn't find anything with a quick search on the wiki- but what's the range of Trainer Skill from their money? I.e I can assume 0 or 1 is the lowest skill, but if I wanted a trainer with the maximum, highest ability, would I set their base money to 100, or something else?
    You can have a look at the base money amounts in trainertypes.txt for an idea of the range. The AI is far from complete, but as it stands the highest skill level is "90 or above" which includes Gym Leaders and other big people like that, and the lowest is "49 or lower". You can have a look in PokeBattle_AI for "skill" to see what levels do what.

    Having skill depend on money is a bit of a dodgy idea, because Swimmers have a very low amount of money because of their lack of pockets, Burglars have lots of money because they stole it, and Ladies just have huge wads - none of these facts should imply their relative strengths at being trainers. At the moment skill/money levels don't affect too much, but may do in future, so this may become important.

    Bear in mind that wild Pokémon don't do any AI calculations. Each of their moves has an equal change of being used.

    AI isn't mentioned anywhere in any great details because it's one of those fiddly things that people aren't expected to touch (although admittedly it's simpler than it could be). I believe you expressed interest in developing the AI in the past, and I'd be perfectly willing to help you with that. I don't have any experience with balancing, which is really what this is, so I'd need others to say what is acceptable behaviour for different tiers of AI (and indeed to invent those tiers). It's a topic for another thread, though.
    Go to the Pokémon Essentials Wiki

    | Downloads | Tutorials | Fangames |
    | All Animations Project |

    Follow me on Twitter: @maruno42