Exempt Actor Parameters
Version: 1.05
Author: Welfare-Daddy Pacman
Date: 27/03/2011
Version History
- <Version 1.05> 28.03.2011 - Fixed MP processing
- <Version 1.0> 27.03.2011 - Original Release
Planned Future Versions
- <Version 1.1> - Get rid of EXP processing.
- <Version 2.0> - Stop equipment from displaying on status screen.
- <Version 3.0> - Get rid of Status screen. Possible bio addon.
Description
This script allows you to choose which actors, if any, should have levels,
EXP, HP, MP or Battle Stats displayed. This is most likely to be used in
games where you don't want your actor's progress easily trackable or in games
where characters don't have levels, stats or gauges, i.e. non-fighting games.
ScreenshotsShot of main menu. The actors each have different features of the scipt displayed. Each of the following images is of each of the actor's status meuns. Instructions
Instructions are in the script, follow them to the letter.
Script
#==============================================================================
# Exempt Actor Stats
# Version: 2.0
# Author: Welfare-Daddy Pacman (rmrk.net)
# Date: March 27, 2011
#
#------------------------------------------------------------------------------#
# Description:
#
# This script allows you to choose which actors, if any, should have levels,
# EXP, HP, MP or Battle Stats displayed. This is most likely to be used in
# games where you don't want your actor's progress easily trackable or in games
# where characters don't have levels, stats or gauges, i.e. non-fighting games.
#
#------------------------------------------------------------------------------#
# Instructions:
#
# - Place this script in the materials section, above Main.
# - Enter the Actor IDs whose levels and EXP you don't want displayed in the
# EXEMPT_LEVEL_EXP Array, as shown.
# - Enter the Actor IDs whose HP and MP in their respective arrays,
# EXEMPT_HP and EXEMPT_MP.
# - Enter the Actor IDs whose battle stats (ATK, DEF, AGI and SPI) you don't
# want displayed in the EXEMPT_BSTATS array as shown.
#=============================================
class Window_Base # DO NOT REMOVE THIS!!!
#=============================================
# EDITABLE REGION:
#
EXEMPT_LEVEL_EXP = [5, 6] # Place Actor IDs whose levels and exp you do not want
# displayed here, e.g. [1, 2, 3]
#
EXEMPT_HP = [5, 7] # Place Actor IDs whose HP you do not want displayed here
# as above.
#
EXEMPT_MP = [6, 7] # Do the same for Actors you desire to have no MP.
#
EXEMPT_BSTATS = [7, 8] # Place actor IDs who you wish to not have battle stats
# displayed here, e.g. [1, 2, 3, 4]
#
#=============================================
# END EDITABLE REGION
# EXEMPTING ACTOR LEVELS
alias exempt_draw_actor_level draw_actor_level
def draw_actor_level(actor, x, y)
if EXEMPT_LEVEL_EXP.include?(actor.id)
return
else
exempt_draw_actor_level(actor, x, y)
end
end
end
#============================================
# EXEMPTING ACTOR EXP
class Window_Status < Window_Base
alias exempt_draw_exp_info draw_exp_info
def draw_exp_info(x, y)
if EXEMPT_LEVEL_EXP.include?(@actor.id)
return
else
exempt_draw_exp_info(x, y)
end
end
end
#============================================
# EXEMPTING ACTOR HP
class Window_Base
alias exempt_draw_actor_hp draw_actor_hp
def draw_actor_hp(actor, x, y, width = 120)
if EXEMPT_HP.include?(actor.id)
return
else
exempt_draw_actor_hp(actor, x, y, width)
end
end
end
#============================================
# EXEMPTING ACTOR MP
class Window_Base
alias exempt_draw_actor_mp draw_actor_mp
def draw_actor_mp(actor, x, y, width = 120)
if EXEMPT_MP.include?(actor.id)
return
else
exempt_draw_actor_mp(actor, x, y, width)
end
end
end
#============================================
# EXEMPTING ACTOR BATTLE STATS
class Window_Base
alias exempt_draw_actor_parameter draw_actor_parameter
def draw_actor_parameter(actor, x, y, type)
if EXEMPT_BSTATS.include?(actor.id)
return
else
exempt_draw_actor_parameter(actor, x, y, type)
end
end
#============================================
#PROCESS COMPLETE
end
Credit
- Welfare-Daddy Pacman
- LoganForrests
Thanks
- DarkCodeZero (request)
- LoganForrests (help with script)
- Brewmeister (idea)
- RMRK (for being awesome)
Support
I frequent RMRK, so just PM me or post on this topic.
Known Compatibility Issues
None, yet. Might not work with HUDS or other scripts that alter Window_Base.
Demo
Demo not applicable, plug-and-play script. Script is up there ^.
Author's Notes
Umm... My favourite key if E flat minor. Just thought you might like to know.
Restrictions
Dont take credit for my script, that's just dog. If you would like to use this with a commercial game (hehe, as if), just contact me here. Free for use commercially and otherwise.