RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Exempt Actor Parameters

0 Members and 1 Guest are viewing this topic.

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
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


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.





Instructions

Instructions are in the script, follow them to the letter.

Script


Code: [Select]
#==============================================================================
#  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.
:ccbysa:     :rmvx:
« Last Edit: March 28, 2011, 06:56:14 AM by Welfare-Daddy Pacman »
it's like a metaphor or something i don't know

****
Rep:
Level 84
3...2...1...
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
Quote
   if EXEMPT_HP.include?(actor.id)
to get rid of MP.

It should be:
Quote
    if 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.
« Last Edit: March 27, 2011, 09:29:06 PM by DarkCodeZero »

*
Rep:
Level 82
Quote
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.

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.
(Why do I always feel like it's the end of the world and I'm the last man standing?)

****
Rep:
Level 84
3...2...1...
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).

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
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.
it's like a metaphor or something i don't know