Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials

Notices
For all updates, view the main page.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old March 10th, 2013 (12:31 PM).
Dylanrockin's Avatar
Dylanrockin
Horizon Seeker
 
Join Date: May 2011
Age: 19
Gender: Male
Nature: Timid
What would I have to edit in order to have the trainers scale in level with my level? Because I'm trying to make it so that if you try and over-level the enemies will be just as hard if not harder. But I also would like to make it so that certain trainers are capped, like say with this range: 25-60, what I mean by that is, if you are above level 25, and below 60, that is the range that trainer can go when he/she is scaling in level with you.
__________________
Reply With Quote
  #2    
Old March 10th, 2013 (12:50 PM).
Arma's Avatar
Arma
Actually not mad at all
Community Supporter
 
Join Date: Dec 2009
Location: The Hague
Age: 21
Gender: Male
Nature: Jolly
well, you need to replace the level of the trainer's Pokemon with a variable.
That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.
__________________
Reply With Quote
  #3    
Old March 10th, 2013 (02:42 PM).
Dylanrockin's Avatar
Dylanrockin
Horizon Seeker
 
Join Date: May 2011
Age: 19
Gender: Male
Nature: Timid
Quote originally posted by elarmasecreta:
well, you need to replace the level of the trainer's Pokemon with a variable.
That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.
I see, so I would do that in an event or in the script editor?
__________________
Reply With Quote
  #4    
Old March 10th, 2013 (03:48 PM).
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
This kind of thing requires scripting. There are several ways to go about what you want to do, so you'll need to know exactly that before proceeding. Each way revolves around using the method pbBalancedLevel, though.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 09:38 PM.