Exp Gain by Level

I use Tsukihime's script, which is Level Difference EXP, but this script does not work for the Action Battle System. maybe it has something to do with Battle Manager. I don't know the truth, but maybe that's where the problem is. can someone help me to be able to access this script in the Action Battle System (Falcao Pearl ABS Liquid V.3)?

Moved to Script Support


Do you have all the required scripts installed? The EXP difference script requires you have Core - Enemy Levels and Actor Victory EXP installed. Also since ABS overwrite much of the default engine have you put all of these scripts below the ABS?
Moderator note: Moved to Script Support
Do you have all the required scripts installed? The EXP difference script requires you have Core - Enemy Levels and Actor Victory EXP installed. Also since ABS overwrite much of the default engine have you put all of these scripts below the ABS?
Sure,.. I was download and install all of requirments script and put the Level Difference EXP Script below the ABS Script,..
My guess is then the ABS has overwritten completely how EXP is computed, so the Level Difference script is no longer calling functions that exist anymore, hence why it is not working. And to clarify, what does happen when the scripts are installed? Does it run, but you get the same as if you didn't install them?
My guess is then the ABS has overwritten completely how EXP is computed, so the Level Difference script is no longer calling functions that exist anymore, hence why it is not working. And to clarify, what does happen when the scripts are installed? Does it run, but you get the same as if you didn't install them?
I installed and input the formula into the enemy Note Tag. but the EXP I get is just like basic EXP on the database

this is the formula:
<diff level exp>
if diff > 5
exp - (diff * 5)
else
exp * 10
</ diff level exp>
Notetags must be exactly as displayed (same order and same capitalization), they have level diff in the example, you got diff level. Try changing to that and see what happens.
Now the script is eror like this
index.php
I got an error with your code. Using Himes code and changing it to look like yours makes it work
Code:
<enemy level: 8>
<level diff exp>
   if diff > 5
     exp - (diff * 5)
   else
     exp * 10
   end
</level diff exp>
I got an error with your code. Using Himes code and changing it to look like yours makes it work
Code:
<enemy level: 8>
<level diff exp>
   if diff > 5
     exp - (diff * 5)
   else
     exp * 10
   end
</level diff exp>
i was try this code,
and i wasn't eror anymore, but the experience I get is just like base EXP, and when I try Battle test on the same monster, the result is I get the same EXP as the Formula, maybe this script doesn't work on ABS
Code:
# Compatibility script for Level Difference Exp by Hime and Falcao Pearl ABS.
# Makes the ABS script use the exp calculated from Level Difference Exp script.
# ---------------------
# By vFoggy

class Game_Event < Game_Character
  def kill_enemy
    @secollapse = nil
    @killed = true
    @priority_type = 0 if @deadposee
    gain_exp
    gain_gold
   
    $game_player.followers.each do |follower|
      next if follower.actor.nil?
      etext = 'Exp '  + follower.actor.gained_exp.to_s if @enemy.exp > 0
      follower.pop_damage("#{etext}") if etext
    end
   
    g_exp = $game_player.actor.gained_exp
    etext = 'Exp '  + g_exp.to_s if g_exp > 0
    gtext = 'Gold ' + @enemy.gold.to_s if @enemy.gold > 0
    $game_player.pop_damage("#{etext} #{gtext}") if etext || gtext
   
    make_drop_items
    run_assigned_commands
  end
 
 
  def gain_exp
    $game_party.all_members.each do |actor|
      actor.gained_exp = actor.exp_from_enemy(@enemy)
      actor.gain_exp(actor.gained_exp)
    end
  end
end

class Game_Actor < Game_Battler
  def gained_exp=(exp)
    @gained_exp = exp
  end
end
Insert it below both scripts. I made it so that the Exp messages pops over every member in the party (because they probably will not be at the same level, so they will all gain different exp points). If you want to display only over the player comment the lines below from the above script:
Code:
    $game_player.followers.each do |follower|
      next if follower.actor.nil?
      etext = 'Exp '  + follower.actor.gained_exp.to_s if @enemy.exp > 0
      follower.pop_damage("#{etext}") if etext
    end

Also, the Level Difference Exp requires the Core – Enemy Levels and Actor Victory Exp, that's why you are getting that error.
Code:
# Compatibility script for Level Difference Exp by Hime and Falcao Pearl ABS.
# Makes the ABS script use the exp calculated from Level Difference Exp script.
# ---------------------
# By vFoggy

class Game_Event < Game_Character
  def kill_enemy
    @secollapse = nil
    @killed = true
    @priority_type = 0 if @deadposee
    gain_exp
    gain_gold
 
    $game_player.followers.each do |follower|
      next if follower.actor.nil?
      etext = 'Exp '  + follower.actor.gained_exp.to_s if @enemy.exp > 0
      follower.pop_damage("#{etext}") if etext
    end
 
    g_exp = $game_player.actor.gained_exp
    etext = 'Exp '  + g_exp.to_s if g_exp > 0
    gtext = 'Gold ' + @enemy.gold.to_s if @enemy.gold > 0
    $game_player.pop_damage("#{etext} #{gtext}") if etext || gtext
 
    make_drop_items
    run_assigned_commands
  end
 
 
  def gain_exp
    $game_party.all_members.each do |actor|
      actor.gained_exp = actor.exp_from_enemy(@enemy)
      actor.gain_exp(actor.gained_exp)
    end
  end
end

class Game_Actor < Game_Battler
  def gained_exp=(exp)
    @gained_exp = exp
  end
end
Insert it below both scripts. I made it so that the Exp messages pops over every member in the party (because they probably will not be at the same level, so they will all gain different exp points). If you want to display only over the player comment the lines below from the above script:
Code:
    $game_player.followers.each do |follower|
      next if follower.actor.nil?
      etext = 'Exp '  + follower.actor.gained_exp.to_s if @enemy.exp > 0
      follower.pop_damage("#{etext}") if etext
    end

Also, the Level Difference Exp requires the Core – Enemy Levels and Actor Victory Exp, that's why you are getting that error.
Very BIG thanks!
Finally i can use this script. It's really work!

Original thread: https://forums.rpgmakerweb.com/threads/exp-gain-by-level.109256/