ZLSL's Battle Portraits
#4
(11-10-2019, 04:13 AM)DerVVulfman Wrote:
ZLSL's Battle Portraits
Version: 1.1



Introduction
This script allows you  to display an 'extra' shot  of your hero-in-action within your default battlesystem when it is his or her turn to choose what action to take.  That is, you can display a large portrait of the hero or heroine when the [ Actor Command Window ] ( Attack|Skill|Item|Defend )  is visible and active.



Demo
None.  This one's pretty simple in implementation.



Script
Here you go!



Instructions
Place this script below Scene_Debug and above Main.  If it is in use with with a custom battle system, it must be placed below such a system.

Configure the position where the portaits will be shown.  This is done in the ZLSL_Portraits module.



Compatibility
Thanks to zlsl who requested the system.  I figured... I had about ten minutes to kill.



Credits and Thanks
˂If you're using graphics made or scripts written by others, or have someone to thank, do it here. This section is optional if you have no one to mention.˃



Terms and Conditions
Free for use, even in commercial games.  Only due credit is required.  That includes credit for zlsl as well as my own.



Hi guys! Laughing Laughing Laughing
This script is great as an original, but if you want to add a little taste, see my post! Please understand that English is not my native language, so explanation is poor. I used a translator:->


The original script loads the same image as Battler.
I wanted to support battler and command battle portraits differently. 
The bitmap folder supported BPortrait, but the script did not recognize the BPortrait folder.  (ᵕ̣̣̣̣̣̣﹏ᵕ̣̣̣̣̣̣) 
I was troubled all night and modified this. It was actually a very simple way.





[Image: gw265iD.png]
Just modify the pink box in the picture.


first
if @battler.battler_name != @character_name or
▲ Please search and find. And,

self.oy       = @height 
Replace with the code below !!


#-------------------------------------------------------------------------------------------------  

    if @battler.battler_name != @character_name or
       @battler.battler_hue != @character_hue
      # Get and set bitmap
      @character_name = @battler.battler_name
      @character_hue  = @battler.battler_hue
 self.bitmap   = RPG::Cache.bportrait(@character_name, @character_hue)
      @width        = bitmap.width
      @height       = bitmap.height
      self.ox       = @width / 2
      self.oy       = @height

#-------------------------------------------------------------------------------------------------  

Battle and Command Battle Portraits now support different images! Put your command portrait in the BPortrait folder!
※ Battler and Battle Portrait must have the same name !!
※ Only Atoa ATB is not supported. I will be more concerned about this problem.



Thanks to DerVVulfman and kyonides for their help! Blushing + Cheery Blushing + Cheery Blushing + Cheery 
Everyone gave me help and advice until late. This made it possible to build the system I wanted.
Reply }


Messages In This Thread
ZLSL's Battle Portraits - by DerVVulfman - 11-10-2019, 04:13 AM
RE: ZLSL's Battle Portraits - by kyonides - 11-10-2019, 01:49 PM
RE: ZLSL's Battle Portraits - by DerVVulfman - 11-11-2019, 04:17 AM
RE: ZLSL's Battle Portraits - by DerVVulfman - 11-12-2019, 04:10 AM
RE: ZLSL's Battle Portraits - by zlsl - 11-12-2019, 03:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Item Count kyonides 4 2,169 02-04-2024, 05:49 AM
Last Post: kyonides
   Dalissa's Battle Cry DerVVulfman 2 7,438 05-09-2023, 03:07 AM
Last Post: DerVVulfman
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,851 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Actor Battle Items DerVVulfman 4 6,099 11-08-2020, 12:36 PM
Last Post: Mel
   Battle Report Raziel 1 6,988 05-29-2020, 02:27 AM
Last Post: Whisper
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 255,938 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   Mimi's Battle Music DerVVulfman 2 8,839 11-19-2018, 04:18 AM
Last Post: DerVVulfman
   ATOA Chanting Battle Animations DerVVulfman 9 17,873 01-12-2017, 01:46 PM
Last Post: Noctis
   Automatic Battle Actions Claihm 1 7,419 08-15-2016, 09:15 PM
Last Post: Mel
   Battle : No Battle End ME Kain Nobel 0 5,514 06-04-2016, 02:36 AM
Last Post: Kain Nobel



Users browsing this thread: 1 Guest(s)