Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stupid rmxp problems
#4
OK, does the Window_EquipLeft script look exactly the same as the one I've posted below?

Code:
#==============================================================================
# ** Window_EquipLeft
#------------------------------------------------------------------------------
#  This window displays actor parameter changes on the equipment screen.
#==============================================================================

class Window_EquipLeft < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     actor : actor
  #--------------------------------------------------------------------------
  def initialize(actor)
    super(0, 64, 272, 192)
    self.contents = Bitmap.new(width - 32, height - 32)
    @actor = actor
    refresh
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    draw_actor_name(@actor, 4, 0)
    draw_actor_level(@actor, 4, 32)
    draw_actor_parameter(@actor, 4, 64, 0)
    draw_actor_parameter(@actor, 4, 96, 1)
    draw_actor_parameter(@actor, 4, 128, 2)
    if @new_atk != nil
      self.contents.font.color = system_color
      self.contents.draw_text(160, 64, 40, 32, "->", 1)
      self.contents.font.color = normal_color
      self.contents.draw_text(200, 64, 36, 32, @new_atk.to_s, 2)
    end
    if @new_pdef != nil
      self.contents.font.color = system_color
      self.contents.draw_text(160, 96, 40, 32, "->", 1)
      self.contents.font.color = normal_color
      self.contents.draw_text(200, 96, 36, 32, @new_pdef.to_s, 2)
    end
    if @new_mdef != nil
      self.contents.font.color = system_color
      self.contents.draw_text(160, 128, 40, 32, "->", 1)
      self.contents.font.color = normal_color
      self.contents.draw_text(200, 128, 36, 32, @new_mdef.to_s, 2)
    end
  end
  #--------------------------------------------------------------------------
  # * Set parameters after changing equipment
  #     new_atk  : attack power after changing equipment
  #     new_pdef : physical defense after changing equipment
  #     new_mdef : magic defense after changing equipment
  #--------------------------------------------------------------------------
  def set_new_parameters(new_atk, new_pdef, new_mdef)
    if @new_atk != new_atk or @new_pdef != new_pdef or @new_mdef != new_mdef
      @new_atk = new_atk
      @new_pdef = new_pdef
      @new_mdef = new_mdef
      refresh
    end
  end
end
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
stupid rmxp problems - by KasperKalamity - 10-27-2012, 09:54 PM
RE: stupid rmxp problems - by kyonides - 10-27-2012, 10:54 PM
RE: stupid rmxp problems - by KasperKalamity - 10-27-2012, 11:29 PM
RE: stupid rmxp problems - by kyonides - 10-28-2012, 01:40 AM
RE: stupid rmxp problems - by KasperKalamity - 10-28-2012, 04:22 AM
RE: stupid rmxp problems - by kyonides - 10-28-2012, 06:04 AM
RE: stupid rmxp problems - by KasperKalamity - 10-31-2012, 01:03 AM
RE: stupid rmxp problems - by yamina-chan - 10-31-2012, 02:10 AM
RE: stupid rmxp problems - by DerVVulfman - 11-02-2012, 04:14 AM
RE: stupid rmxp problems - by KasperKalamity - 11-02-2012, 02:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RMXP Crashing when playing MP3s Zackwell 13 16,435 05-13-2016, 04:56 PM
Last Post: Bounty Hunter Lani
  New Methods to Extend RMXP's RTP selections? Kain Nobel 1 5,737 09-02-2014, 10:28 AM
Last Post: Kain Nobel
  Occasional RMXP Input Problem Kain Nobel 2 7,765 12-30-2013, 02:22 AM
Last Post: Kain Nobel
  RMXP isn't playing *certain* MP3s Kain Nobel 4 9,332 07-14-2012, 08:16 AM
Last Post: Kirito
  [RMXP] Loading Time Ace 7 11,494 03-20-2011, 11:43 AM
Last Post: Taylor
  RMXP NOT WORKIN AHHHH!!!!!!! blackspets 3 5,862 04-06-2010, 04:33 PM
Last Post: fgsfds
  Using RMXP with Wine. spazfire 2 5,528 03-10-2010, 08:14 AM
Last Post: spazfire



Users browsing this thread: