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.
[VX] RESOLVED - Monster Battler Size Script

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 69
RESIDENT ADONKADONK
Monster Battler Size
August 29, 2011



Summary
Change the size of your monster battlers, using notetags.

Features Desired
  • Change Monster Battler Size
  • Note-tags
  • Compatibility with Takentai SBS.

Mockups
None really, besides in BEM.

What other scripts are you using?
  • Takentai SBS
  • KGC_EquipLearnSkill
  • Rockleedude's Battler SE.



Did you search?
Yes!

Where did you search?
  • RPGMakerVX.net
  • RMRK
  • RPGRPG Revolution

What did you search for?
  • rpgmaker vx battler size script/ rpgmaker vx monster size script
  • rgss2 battler size script/ rgss2 monster size script.
« Last Edit: August 29, 2011, 10:49:13 PM by Adon »

I'm back.

****
Rep:
Level 71
That's pointless ???. Just go into GIMP or Paint and change the size.

***
Rep:
Level 69
RESIDENT ADONKADONK
Well, I kinda would have liked it for the convenience. Also, it would help keep down the size of the game.
Sorry Doctor.

I'm back.

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Code: [Select]
#==============================================================================
# ** RPG::Enemy
#==============================================================================

class RPG::Enemy
 
  def zoom_x; return (self.note[/\\zoom_x\[(\d+)\]/i].nil? ? 1 : $1.to_f); end
  def zoom_y; return (self.note[/\\zoom_y\[(\d+)\]/i].nil? ? 1 : $1.to_f); end
 
end
 
#==============================================================================
# ** Game_Enemy
#==============================================================================

class Game_Enemy
 
  def zoom_x; return enemy.zoom_x; end
  def zoom_y; return enemy.zoom_y; end
 
end

#==============================================================================
# ** Sprite_Battler
#==============================================================================

class Sprite_Battler < Sprite_Base
 
  alias coz_adon_monster_zoom_sb_update update
  def update
    coz_adon_monster_zoom_sb_update
    if @use_sprite and @battler.is_a?(Game_Enemy)
      self.zoom_x = @battler.zoom_x
      self.zoom_y = @battler.zoom_y
    end
  end
end

Use \zoom_x[zoom] and \zoom_y[zoom] tags. I don't for see any compatability problems for such a small script, but you never know.

***
Rep:
Level 69
RESIDENT ADONKADONK
You are the best Cozziekuns! :3 Thanks~
EDIT:
Wait, when you input your value, how do  you do that? Do you use percentages? Or whole numbers?
Nevermind.
« Last Edit: August 29, 2011, 10:55:09 PM by Adon »

I'm back.