public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

VXACETroop EXP Multiplier

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Troop EXP Multiplier
  • Original author: stupid enough to like FF13
  • Original date: April 4, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/troop-exp-multiplier.59959/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace)

Summary

Troop EXP Multiplier by lilyWhite This script allows you to set a multiplier to the total experience points gained from defeated enemies for each troop. This can be used to give different amounts of EXP for troops composed of the same enemies (e.g. a boss encounter with an enemy can give doubled EXP, while later random encounters give normal EXP) or give greater EXP based on the size of the enemy troop. How to Use: On the first page of the troop's Battle Event list, create a Comment with the notetag:

Archived First Post

Troop EXP Multiplier


by lilyWhite


This script allows you to set a multiplier to the total experience points gained from defeated enemies for each troop. This can be used to give different amounts of EXP for troops composed of the same enemies (e.g. a boss encounter with an enemy can give doubled EXP, while later random encounters give normal EXP) or give greater EXP based on the size of the enemy troop.


How to Use: On the first page of the troop's Battle Event list, create a Comment with the notetag:

Code:
<expmulti: x>

where "x" is the EXP multiplier. The resulting total is rounded to the nearest integer value. If no multiplier is designated for a troop, it will give the normal totalled EXP value.


Protected download


Free for use in any commercial or non-commercial project! Credit to "lilyWhite"; I reserve the right to be slightly miffed if you get the capitalization wrong. :3


The script is within the spoiler below. Just copy into the Script Editor, and set multipliers in the Troops tab of the Database.

Code:
=begin

  = Troop EXP Multiplier, by lilyWhite =
  This script allows you to set a multiplier to gained EXP for each enemy
  troop. This can let you create different troops composed of the same
  enemies that rewards different amounts of EXP for whatever reason, or you
  can have larger troops reward greater EXP. The result after the multiplier
  is applied is rounded to the nearest integer value. If no multiplier is
  designated, it will give the totalled EXP as normal.
  
  To use, create a comment on the first page of the troop's Battle Events and
  add this:
  
    <expmulti: x>
    
  where x is the desired multiplier.
  
    For example, with two enemies that give 10 EXP each and a notetag of
    <expmulti: 1.48>, the resulting EXP gain would be 30 EXP.
  
  Usage: Free to use in any commercial or non-commercial project! Credit to
  "lilyWhite"; I reserve the right to be slightly miffed if you get the
  capitalization wrong. :3
    
=end

module RPG
  class Troop
    #------------------------------------------------------------------------
    # Gets troop EXP multiplier
    #------------------------------------------------------------------------
    def troop_exp_multiplier
      exp_multiplier = 1
      @pages[0].list.each do |cmd|
        if cmd.code == 108 && cmd.parameters[0] =~ /<expmulti: (.*)>/i
          exp_multiplier = $1.to_f
        end
      end
      return exp_multiplier
    end
  end
end

class Game_Troop < Game_Unit
  #--------------------------------------------------------------------------
  # * Overwrite exp_total
  #--------------------------------------------------------------------------
  def exp_total
    (dead_members.inject(0) {|r, enemy| r += (enemy.exp * exp_multiplier) }).round
  end
  
  #--------------------------------------------------------------------------
  # Gets troop EXP multiplier
  #--------------------------------------------------------------------------
  def exp_multiplier
    return troop.troop_exp_multiplier
  end
end

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Free for use in any commercial or non-commercial project! Credit to "lilyWhite"; I reserve the right to be slightly miffed if you get the capitalization wrong. :3 The script is within the spoiler below. Just copy into the Script Editor, and set multipliers in the Troops tab of the Database. Spoiler Code:

Referenced Images / Attachments

script.png
script.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss3#script-archive

Replies (0)

No replies yet.

0 replies 2 views

Log in to reply.

User Avatar