Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Just a modification of Abyssos' facs script
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


This mod of Abyssos' script makes a new pic appear in the status window when you click it... Well I'd guess its barely logical but can be used. Well, I do at least... All of the credit here goes to Abyssos...


Code:
######################
#Second Face script v.1
#Original script made by: Abyssos
#Mod by: lumina...
#-Instructions: Put this script above main and below the 1st face script (yes,
#---you'll need the script Abyssos made...)
#---take note that you'll need to make a folder named
#---Faces2 in the same directory as the 1st faces folder...
#---In addition, the 2nd face filenames must be the same with the filename
#---of the character's sprite. (refer to screenie)
#######################

def draw_actor_face2(actor, x, y)
  face = RPG::Cache.character("Faces2/" + actor.character_name, actor.character_hue)
  fw = face.width
  fh = face.height
  src_rect = Rect.new(0, 0, fw, fh)
  self.contents.blt(x - fw / 23, y - fh, face, src_rect)
end


Now, replace this part of Abyssos' code in class Window_Status:

Code:
draw_actor_face(@actor, 10, 112)


with:

Code:
draw_actor_face2(@actor, 10, 112)



Basically, what i did was place the "2" in the "face" 's in the code,
but don't hate me!! Besides, I don't take any credit by placing some 2's int he code...
it's all him :alright:

I'd like some comments about this one... any errors maybe?

SCREENSHOTS:
[Image: sc1.jpg]
[Image: sc2.jpg]
[Image: sc3.jpg]
[Image: sc4.jpg]

oh, and here's thie link for Abyssos' script...
Yeah, it's here
^===================== fix this link when found
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change character script jaigai 0 2,737 11-19-2006, 01:00 PM
Last Post: jaigai
  Credit Script 1.1 acoole 0 2,417 10-24-2006, 01:00 PM
Last Post: acoole
  Script Dev Kit Nick 0 2,794 10-15-2006, 01:00 PM
Last Post: Nick
  Opening Image script sasuke89 0 2,020 07-24-2006, 01:00 PM
Last Post: sasuke89
  Change Color of The diferent Status Script MASTERLOKI 0 2,269 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Event Name and ID Search Script Hadriel 0 2,026 06-21-2006, 01:00 PM
Last Post: Hadriel
  Currency Script Split 0 2,273 05-18-2006, 01:00 PM
Last Post: Split
  Book Script and Utility Bruth 0 2,218 05-07-2006, 01:00 PM
Last Post: Bruth
  Individuality Script DrakoShade 0 2,175 03-12-2006, 01:00 PM
Last Post: DrakoShade
  Metroid Text Sound Script Constance 0 2,153 12-21-2005, 01:00 PM
Last Post: Constance



Users browsing this thread: