Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Character Biography Revision

I had this posted before the hack...thought it was about time to repost it ;)
Thought I'd revision it from my last edit, so now it

Has SEVEN lines to describe your character, instead of three
Added Blood Type, Gender, Specialty, and Race. Also displays character's class.
Cleaned up some code, made it look nicer, took out foreign comments
And a bunch of small edits...
I have also added a FAQ at the end of the script.

What it does
"This will display character properties in a new status screen.
To access it, go into your existing status screen in the usual way,
then press the decision key. You will then be greeted with a short
biography of your selected character."


Script
put it above main, below everything else...blah blah blah
Code:
#==============================================================
# Character biography screens    Ver. 1.2    by Claimh
# Translated by TruthfulTiger
# Revision by ItalianStal1ion (shows more features; lines)
#------------------------------------------------------------------------------
#   This will display character properties in a new status screen.
#   To access it, go into your existing status screen in the usual way,
#   then press the decision key. You will then be greeted with a short
#   biography of your selected character.
#   The default stats (were)are: Name, Age, From, Height and Weight, but you can change
#   them to anything you want. You can also change the colour of the heading text.
#
#   ItalianStal1ion's Revision:
#   You can now have SEVEN lines to describe your character, instead of three
#   Added Blood Type, Gender, Specialty, and Race. Also displays character's class.
#   Cleaned up some code, made it look nicer, took out foreign comments
#   And a bunch of small edits...(moved battler for more room...)
#   Added FAQ
# 
#   Extra
#   To call without going to status window:
#    Go to about line 335, and read the comment there. 
#    call by $scene = Scene_Charactor.new
#==============================================================

#----------------------------------------------------------------------------
#   START
#----------------------------------------------------------------------------
 # This sets the decision key as the key to access the bios.
 CHENGE_KEY = Input::C
 #--------------------------------------------------------------------------
 # This is where you determine the characters' ages. There's spaces for eight,
 # although you can add more. Each "??" is where you set the age, in order of
 # where your characters are in the database. I.e, the first "??" is for character one,
 # the "??" after that is for character two, etc.
 #--------------------------------------------------------------------------
 CHARA_AGE = ["??","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is where you set where each of your characters comes from. Same applies
 # as for age, i.e in order of characters in the database.
 #--------------------------------------------------------------------------
 CHARA_FROM = ["Run Time Package","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is character height by default. I changed this to "Lives in".
 #--------------------------------------------------------------------------
 CHARA_H = ["6'","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is character's weight by default.
 #--------------------------------------------------------------------------
 CHARA_W = ["Heavy","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is the character's race by default
 #--------------------------------------------------------------------------
 CHARA_R = ["Human","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is the character's blood type by default
 #--------------------------------------------------------------------------
 CHARA_B = ["O","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is the character's specialty by default
 #--------------------------------------------------------------------------
 CHARA_S =  ["Axes","??","??","??","??","??","??","??"]
 #--------------------------------------------------------------------------
 # This is the character's gender by default
 #--------------------------------------------------------------------------
 CHARA_G = ["Male","??","??","??","??","??","??","??"]
 
 #--------------------------------------------------------------------------
 # This is where you add a few lines to briefly describe your character.
 # Again, it follows character position in database.
 # L1, L2, L3, L4, L5, L6, and L7 display text on lines 1, 2, 3, 4, 5, 6 and 7 respectively.
 # To add another, copy and paste the L1-L7 lines and L_SET# = ....
 # then change L_SET# to the hero u want. ex: L_SET9 (for hero 9)
 #--------------------------------------------------------------------------
 # Hero 1 description
 L1 = "Insert first line of description here"               # Line 1 of description
 L2 = "Insert second line of description here"               # Line 2 of description
 L3 = "Insert third line of description here"               # Line 3 of description
 L4 = "Insert fourth line of description here"             #4th added line of description
 L5 = "Insert fifth line of description here"                #5th added line of description
 L6 = "Insert sixth line of description here"                #6th added line of description
 L7 = "Insert SEVENTH line of description here"         #7th added line of description
 L_SET1 = [L1, L2, L3, L4, L5, L6, L7]  # This groups together the lines and displays them
# Hero 2 description
 L1 = "Insert the first line of your description here"               # Line 1 of description
 L2 = ""               # Line 2 of description
 L3 = ""               # Line 3 of description
 L4 = ""
 L5 = ""
 L6 = "Insert sixth line of description here"
 L7 = "Insert SEVENTH line of description here"
 L_SET2 = [L1, L2, L3, L4, L5, L6, L7]  # This groups together the lines and displays them
 # Hero 3 description
 L1 = "Insert the first line of your description here"               # Line 1 of description
 L2 = ""               # Line 2 of description
 L3 = ""               # Line 3 of description
 L4 = ""
 L5 = ""
 L6 = "Insert sixth line of description here"
 L7 = "Insert SEVENTH line of description here"
 L_SET3 = [L1, L2, L3, L4, L5, L6, L7]  # This groups together the lines and displays them
 # Hero 4 description
 L1 = "Insert the first line of your description here"               # Line 1 of description
 L2 = ""               # Line 2 of description
 L3 = ""               # Line 3 of description
 L4 = ""
 L5 = ""
 L6 = "Insert sixth line of description here"
 L7 = "Insert SEVENTH line of description here"
 L_SET4 = [L1, L2, L3, L4, L5, L6, L7]  # This groups together the lines and displays them
 # Hero 5 description
 L1 = "Insert the first line of your description here"               # Line 1 of description
 L2 = ""               # Line 2 of description
 L3 = ""               # Line 3 of description
 L4 = ""
 L5 = ""
 L6 = "Insert sixth line of description here"
 L7 = "Insert SEVENTH line of description here"
 L_SET5 = [L1, L2, L3, L4, L5, L6, L7]  # This groups together the lines and displays them
 # Hero 6 description
 L1 = "Insert the first line of your description here"               # Line 1 of description
 L2 = ""               # Line 2 of description
 L3 = ""               # Line 3 of description
 L4 = ""
 L5 = ""
 L6 = "Insert sixth line of description here"
 L7 = "Insert SEVENTH line of description here"
 L_SET6 = [L1, L2, L3, L4, L5, L6, L7]  # ÂÂ
 
I was wondering, because I don't put my characters in order, is there anyway to run the script using only certain characters?
 
I'm having a problem with the script. When I go to the status screen and try to access the biography screen it says: "Script 'Biographies' line 165: TypeError occurred. no implicit conversion from nil to integer". The only other script I'm using is the one that changes the size of events. Any help is appreciated.
 
Delete those lines, or put this under Begin in your "main" script

$fontface = $fonttype = $defaultfontface = $defaultfonttype = "Tahoma"
$fontsize = $defaultfontsize = 22

*edit* check the FAQ at the bottom of the script for these instructions also
 
I have 4 characters in my party. When I go to this, it always shows the first character position. How do I see the others?

I figured it out. In the script, it says to use R, but only Q and W work for me.
 
jbart321;152375 said:
I have 4 characters in my party. When I go to this, it always shows the first character position. How do I see the others?

I figured it out. In the script, it says to use R, but only Q and W work for me.

R and L = Q and W defaultly
 
minotaurus;161663 said:
Hey Italianstal1ion its a good script but could you edit it into the normal status screen to show verything at once?

kaze950(last post), didnt you make this using my old edit?

Anyway, I'll try to do it if kaze hasnt, but dont expect anything real soon.
 
Nice script, but do you know how to change to font? and I was just thinking, could it possible to hide a description line, then show it after a scene to one's character, that has relevance to the description..... example: a character became an enemy...then after a time...he rejoins, again...then the biography will show that he was once become an enemy...thanks...I will wait for a reply.
 
um. I get an error when i hit this script in my game.
Script 'Character Bios' line 165: TypeError occured
no implicit conversion from nil to integer

What's with this error? Any way i can fix it easily.... I'm sort of new to script writing.
 
Sorry I fixed that by changing the font size to a manual number which was 32, but now i get no display for the character data when i try to look it over, just the character's battle image...

By the way, can you customize your script to work with some of the newer battle systems that have animated side-battlers?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top