Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Bigace360

Help Window+

Recommended Posts

Help Window+

Author: Bigace360

Type: Menu Add-on

Version: 1.0

 


Introduction

It's simple plug-in-play script that just adds extra feature to the help window during battle.

 


Version History

v.1.0 (Feb. 1, 2012)

~ Original Script completed

 

 


Features

Help window Plus adds the HP & SP gauge for enemies, it also allows the developer choose which enemies will show ??? to hid the HP instead.

 


Instructions

It's plug and play, only thing that needs to be done is for you to add the enemies that you wish to have there HP & MP blocked which can be done in the module by putting the enemies id in the bracket array.

 


Screenshot

Close your eyes and image your help window with a HP and MP for your selected enemy.

 

 

Script

 

 

#==============================================================================
# ■ Help Window+
# ■ Author: Bigace360
# ■ Version: 1.0
# ■ Date: Feb. 1, 2011
# Help window Plus adds the HP & SP gauge for enemies, it also allows the
# developer choose which enemies will show ??? to hid the HP instead.
#==============================================================================
module ACE
BACK_OPACITY = 255
 WINDOW_OPACITY = 255
ENEMIES_IDS = [1]
 NEW_WINDOW = true #false returns the enemy help window back to default
end
#==============================================================================
# ** Window_Base
#==============================================================================
class Window_Base < Window
def draw_battle_hp(actor, x, y, width = 144)
 self.contents.font.color = system_color
 self.contents.draw_text(x, y, 32, 32, $data_system.words.hp)
 self.contents.font.color = normal_color
 self.contents.draw_text(x+35, y, 120, 32, "????" + " / " + "????", 1)
end
def draw_battle_sp(actor, x, y, width = 144)
 self.contents.font.color = system_color
 self.contents.draw_text(x, y, 32, 32, $data_system.words.sp)
 self.contents.font.color = normal_color
 self.contents.draw_text(x+35, y, 120, 32, "???" + " / " + "???", 1)
end
end
#==============================================================================
# ** Window_Help
#==============================================================================
class Window_Help < Window_Base
include ACE
alias ace_initial_window_help initialize
def initialize
 ace_initial_window_help
 self.z = 4000 if $game_temp.in_battle
 self.back_opacity = BACK_OPACITY if $game_temp.in_battle
self.opacity = WINDOW_OPACITY if $game_temp.in_battle
end
#--------------------------------------------------------------------------
 alias ace_set_enemy set_enemy
def set_enemy(enemy)
if NEW_WINDOW
  if enemy != @enemy
	self.contents.clear
	draw_actor_name(enemy, 4, 0)
	draw_actor_state(enemy, 140, 0)
	unless ENEMIES_IDS.include?(enemy.id)
	  draw_actor_hp(enemy, 284, 0)
	  draw_actor_sp(enemy, 460, 0)
	else
	  draw_battle_hp(enemy, 284, 0)
	  draw_battle_sp(enemy, 460, 0)  
	end
	@enemy, @text = enemy, nil
	self.visible = true
  end
 else
  ace_set_enemy(enemy)
end
end
end

 

 


Compatitblity

Shouldn't have any issues with any other script then another custom Help window script

 


Credits and Thanks

  • Bigace360, for the script.


Author's Notes

Enjoy the scriptbye.gif

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Fcrlovem
      Hello friends🐿️, I'm immersed in the project of a videogame "The Gymkhana of the Treasure" I've been working for months now but I still have a long way to go, I've reached the point where I need help to create more sprites and their respective images with emotions (manga style) , and on the other hand I also needed the support of someone who understands the RGSS to help me with the creation of SCRIPTS that improve the project.
       
      It is a long project, with 4 seasons, and events depending on it, and above all it is about exploration. I have the idea of undertaking with it, therefore I will do marketing courses once we finish it to try to take it to the top, trading it internationally if the players give it a pleasant welcome, translating it into English and Spanish, and later investing profits for it. translate it into more languages and reach more people.
       
      I offer 20% of the profit for each collaborator (I need two people) I look for transparency and good teamwork. I am putting all my heart into this project.
       
      Although I offer 20%, remember that in entrepreneurship, it does not always work out and that failure exists, therefore I do not promise that it will give benefits, but I will give 100% trying to overcome the obstacles that arise.
       
      If you are interested, I would be delighted to see your works to see if they adapt to the style of the video game, especially graphically.
       
      Thank you very much 💖
       
      Postscript: my native language is Spanish, and my English is from Google (warning 😪). 
    • By Bob423
      Title screen by Kevin.ds
      (you've been replaced shiny :P)
       
      Story

      2000 Years ago a huge city covered nearly all of the world. It was a thriving city where everyone was happy. Scientists discovered something that could make life so much easier. Not that it wasn't easy already. The energy gave the people the ability to summon water, or fire out of thin air, control earth, and wind, as well as heal the injured instantly. This power was in limited supply, however. People began to get greedy, and keep this energy to themselves. It was stored in glass containers, and released for a brief moment when used. The greed was slowly weakening the energy, and the people eventually ran out. They blamed each other for this.
      Then one day, the sky turned black. The city began to sink into the ground, taking most of the people with it. Some people made it out alive. The people began to restart their society. For hundreds of years, everything was fine. There wasn't even any trace of the city.
      One day an unlimited supply of that energy was found. The energy, which the people began to call magic, had been passed down; from generation to generation, through the peoples' souls, but lay dormant until then. Children now had the ability to use magic whenever they wanted. As the children aged, they learned to control their magic, and built schools to teach their children. Schools where the student were able to learn about the kind of magic they wanted to study.
       
      The 3 types of magic are: Attack Magic, Healing Magic, and
      Status Magic.
       
      One particular 16 year old boy named *Bob starts his first day at a school in his hometown of Silverwood Village. His best friend, *Joe happens to be in his first class. Over the course of their first year at the school, they meet a girl named *Cathy, who becomes their friend eventually. Finally, at the end of the year, they take the Final Exam together, and pass. Not long after being informed of their achievement, the wooden training dummies, brought to life by magic, get out of control, and attempt to burn the school down. They all make it out alright, and the teachers use water spells to douse the flames. When they reach the village, they find that their entire home town is on fire! They find a way to escape the flames by jumping over a broken part of a fence. While escaping the flames, they get separated, and Bob falls unconscious. Bob wakes up in a house south of Silverwood Village, and meets an old man, who only says to call him Brian, and that he found Bob unconscious, but not the others. He directs Bob toward the village, and hands him a sword and shield as he sets off to find his friends.
       
      after finding his friends, Bob, with the help of his friends, must save the world from an ancient, corrupted power formerly sleeping under the earth's crust.
       
      *Player can name this character


       
      contents
      places
      features
      characters
      screenshots
      videos
      credits
      download
       
      [/anchor]
       
      Places
       
       

       
      Features
       
       
       

       
      Characters
       
       
       


       
      Screenshots
       
      here's an album of them http://imgur.com/a/6TGnQ








       

      First 19 minutes of the demo
      [media]http://www.youtube.com/watch?v=TSO1x_sagtQ[/media]

       

      Credits
       
       
       
       

       
      Here's a banner made by Kevin.ds

       
      [anchor=download]
       
      UPDATE: Added difficulty levels and made it so the player is forced to chose one of each class.
      this prevents the player from getting stuck on certain parts and forced to restart the game.
      Expert mode is how the game was before i added the difficulty levels.
      Hopefully the game is easier now :D
       
      DOWNLOAD 
      (About 120mb)

      If the above link doesn't work, I'm probably fixing something.
       
       
      Known Bugs
      (That I can't fix, or not without making parts of the game too easy.)
       
       
       
      Tips for stuck people:
       
       
       
      If something seems weird and isn't explained in game,
      (e.g. Caeli Temple being really high in the air when you're inside, but on a mountain when outside, or the Mana Temple seeming less old, and some rooms being different from the rest of the temple)
      it can usually be explained by saying "It's magic"
       
      sorry if the game is broken. Alternatively, you can watch this:
      http://www.youtube.com/playlist?list=PLmZjr8BajltKjHOZWMbmTdl7mpNDzMDyI&feature=mh_lolz
       
      The Hidden City of Arcatis is more of a prequel then an actual beginning...if that makes sense. I've written out what happens in the game as another alternative to playing it. http://pastebin.com/07Ns42cG
    • By BiddyAuthor
      I've been trying for months for RMXP to work on my laptop. I have Windows 7 64-bit and I always come across mixed reactions whenever I search it online. I have heard that RMXP DOES in fact work with 64- bit, so I was wondering if there was something I need to do for it to work. The problem is whenever I try to activate, it does not go through the system and is left saying "connecting to server" for hours on end. (I left it for two days straight one time). So...help?
    • By Heretic86
      If you have spent any decent amount of time in the Editor, you have probably encountered this bug. Game just STOPS, reason is not apparently obvious. It doesnt CRASH, but just STOPS.
       
      What I found was that if you "Force" an Event to have a Repeating Move Route, then later call in ANY EVENT to "Wait for Move's Completion", the game goes into an Infinite Loop of Waiting, due
      to the Repeated "Forced" Event. So the game basically waits Forever.
       
      A "Forced Move Route" is when you change an Events Move Route by using the "Set Move Route" button. The Custom Move Routes were not affected. An easy work around would be to use different Pages, each Page having a different Move Route. This prevents that bug from occuring PERIOD. Its only a One Line Fix, but probably a NIGHTMARE for anyone new to RMXP to understand.
       
       
       
       
      DO NOT USE IN VX OR VX ACE - RMXP (RPG Maker XP) Only!
       
      It didnt look like there was an easy way to Alias the Def, so I just did a total Redefinition of the original with the fix.
       
      Comments?
×
×
  • Create New...