No Actor Levels
Version: 1.5
Author: Welfare-Daddy Pacman
Date: March 26, 2011
Version History
- <Intergration> 27.03.2011 - Script integrated with myExempt Battle Stats script into Exempt Actor Parameters. This script is now obsolete.
- <Version 1.0> 23.03.2011 - Original Release
- <Version 1.1> 23.03.2011 - Made the script actually work.
- <Version 1.2> 24.03.2011 - Prevented EXP to be shown on status menu.
- <Version 1.3> 24.03.2011 - Added no HP and MP options to script.
- <Version 1.4> 25.03.2011 - Added Battle Stats (ATK, DEF, AGI and SPI) options to script, added choice on which to use the EXP feature. This version was creeping with errors, reverted to 1.3.
- <Version 1.5> 26.03.2011 - Fixed and revamped the EXP feature, removed choice option because it was stupid and didn't work.
Planned Future Versions
- Compatibility with simple HUDs as (if) requested.
- Battle stat options.
Description
This script allows you to choose which actors, if any, should have levels, EXP, HP or MP 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, i.e. non-fighting games.
Features
- Allows creator to choose which actors have levels displayed.
- Lets you choose if Actors have HP, MP or EXP displayed.
- Incredibly easy to implement.
Screenshots
Not applicable, really.
Instructions
- See the script for instructions, it's right below this.
Script
#==============================================================================
# Exempt Actor Stats
# Version: 1.5
# Author: Welfare-Daddy Pacman (rmrk.net)
# Date: March 26, 2011
#
#------------------------------------------------------------------------------#
# Description:
#
# This script allows you to choose which actors, if any, should have levels,
# EXP HP or MP 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 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.
#=============================================
class Window_Base # DO NOT REMOVE THIS!!!
#=============================================
# EDITABLE REGION:
#
EXEMPT_LEVEL_EXP = [1, 2] # Place Actor IDs whose levels and exp you do not want
# displayed here, e.g. [1, 2, 3]
#
EXEMPT_HP = [1, 2, 3, 4] # Place Actor IDs whose HP you do not want displayed here
# as above.
#
EXEMPT_MP = [1, 2, 3, 4] # Do the same for Actors you desire to have no MP.
#
#=============================================
# 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_HP.include?(actor.id)
return
else
exempt_draw_actor_mp(actor, x, y, width)
end
end
end
#============================================
#PROCESS COMPLETE
Credit
Thanks
- LoganForrests for pointing out an error I should've seen in such a small script and help with my scripting overall.
- DarkCodeZero for the request.
- Brewmeister for the idea.
- RMRK for being awesome.
Known Compatibility Issues
It's unlikely to work with HUDs. That being said, it could probably be made compatible with just a little tweaking.
Author's Notes
If something is wrong, let me know immediately. This will let me know what to fix and hopefully how. Tell me the error, what doesn't work or whatever. If you have a request, just let me know.