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.
Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg845.imageshack.us%2Fimg845%2F3794%2Fscreen1x.jpg&hash=f5119ee02f6b4c858407f7e59fda31fbc37ab6c2)
Shot 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.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg508.imageshack.us%2Fimg508%2F8977%2Fscreen2qh.jpg&hash=5ab49c071fa739cc28304fd33b9adbd78570266f)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg830.imageshack.us%2Fimg830%2F5218%2Fscreen3tr.jpg&hash=e07a11693686c337c52dfc89803af996db58e1fb)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg220.imageshack.us%2Fimg220%2F4663%2Fscreen4w.jpg&hash=1201a7c753e39278862b53de887f547376391d42)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg7.imageshack.us%2Fimg7%2F8123%2Fscreen5fx.jpg&hash=ebe9429960eefc88f77500785760a86ce99d5c3e)
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
endCredit
- 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.
:ccbysa: :rmvx:
I'm really liking your recent scripts.
It works great by the way.
I notice, however, that in your planned future releases you put:
Quote<Version 1.1> - Get rid of EXP processing.
<Version 2.0> - Get rid of Status screen.
What would be extremely awesome is if you figured out how to put a biography about the character on the status screen instead of eliminating the status screen?
In my game that I'm working on there are no battle, but is all puzzle based (at least until my friend tells me his "epiphany" on how to make battles work without actually battling). The environment can kill my characters though, so with me using a Ring Menu, a status screen is really helpful at the moment just to display remaining HP. It's basically empty right now, and I've been searching for a decent script that would allow me to put a character biography into the status screen without any of the extra addon's that I don' want.
Just...food for thought. Very good though, I really enjoy how well this works.
Also, maybe a little more food for thought...but can it be made to get rid of showing equipment as well?
EDIT: I seem to be having an issue with the HP and MP though. Setting my Character's MP not to show, it still does. So I tried it with just HP, and it get's rid of both HP and MP. I'm looking into it right now to see if I can fix it. I'll let you know.
EDIT 2: I did find the issue.
In the script, at line 93, you accidentally put
Quoteif EXEMPT_HP.include?(actor.id)
to get rid of MP.
It should be:
Quoteif EXEMPT_MP.include?(actor.id)
That's why it was not getting rid of MP, and getting rid of both when I killed the HP in the editable area.
That fixes it though. Keep up the good work Pac.
QuoteWhat would be extremely awesome is if you figured out how to put a biography about the character on the status screen instead of eliminating the status screen?
In my game that I'm working on there are no battle, but is all puzzle based (at least until my friend tells me his "epiphany" on how to make battles work without actually battling). The environment can kill my characters though, so with me using a Ring Menu, a status screen is really helpful at the moment just to display remaining HP. It's basically empty right now, and I've been searching for a decent script that would allow me to put a character biography into the status screen without any of the extra addon's that I don' want.
A fairly old script already adds a lot of interesting things to the Status Scene - Yanfly's StatusSceneRedux script. Whilst it does provide access to other script add ons, you don't have to use them. It does allow you make better use of the screen. Yanfly probably doesn't update them any more since he's working on a better engine but I don't think that one has the biography part put in.
There may be a few other scripts that can do it too. But there's at least one. These scripts may require a little more work to get it to work properly though.
I've tried that one and it caused several issues with the overall way I want my game to look and feel.
I also found one that only added the bio part...but it didn't even work.
And I haven't found any others (I have been searching, even enlisting one of my RPG Maker-ing friends to help search to no avail).
Wow, thanks. I fixed that mistake I made (thanks for telling me), and I have updated my planned future versions. Yippee!
Now, my next endeavor will be to get rid of equipment. Should be pretty easy, but it might take anywhere between 2-5 days. I'll do some research on your proposed bio, but at the moment it doesn't sound very realistic for me to make.
Catch ya.