Hey all!
Here's my latest script ;D
Instructions are inside the script
[spoiler=Script and Instructions]=begin
=================================
Character biography script
By Rune
=================================
Introduction
=================================
This is a script that calls a window that displays different
aspects about a character... like their age, height, weight,
gender etc. These can be changed though. This script is
free to use and edit as long as credit is given to me.
=================================
Instructions
=================================
Insert this script above main, and call it Scene_Biography.
Then, ctrl + f to search for the different aspects of
characters you wish to change, so for a character's age,
you would search biog_age, and for gender you would
search, biog_gender. Each aspect is listed in the
character's order in the database, and the different stats
of each character are set at default to (what I think of)
the default 8 characters.
Once the script is in your game, you may wish to add it
to your menu. To do so... in Scene_Menu make a new
option, and add it into the comand_window list. Then go
down to the first time it says "when 0", 'when 1" etc and
copy and paste the status, equip or skill responses. Then
go all the way down to where it says "when 1", "when 2"
etc, and type this.
$game_system.se_play($data_system.decision_se)
$scene = Scene_Biography.new(@status_window.index)
If you don't know how to do that then just tell me, and
i'll help you out, and if you need any more help,
PM me ;)
=================================
Any last words?
=================================
Again PM me if you need any help in changing the text or
anything like that, though even non-scripters should be
able to do that. And enjoy ;)
=end
class Window_Base
def biog_color
return Color.new(0, 255, 160)
end
def draw_actor_name(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x, y, 120, 32, actor.name)
end
end
class Window_Biography < Window_Base
def initialize(actor)
super(0, 0, 640, 480)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
@actor = actor
refresh
end
def refresh
self.contents.font.color = biog_color
self.contents.draw_text(0, 0, 80, 32, "Name:")
self.contents.draw_text(0, 32, 80, 32, "Age:")
self.contents.draw_text(0, 64, 80, 32, "Gender:")
self.contents.draw_text(0, 96, 80, 32, "Race:")
self.contents.draw_text(0, 128, 80, 32, "Height:")
self.contents.draw_text(0, 160, 80, 32, "Weight:")
self.contents.draw_text(0, 192, 80, 32, "Weapon:")
self.contents.draw_text(0, 224, 80, 32, "From:")
self.contents.draw_text(0, 256, 80, 32, "Specialty:")
self.contents.draw_text(240, 0, 80, 32, "History:")
self.contents.draw_text(240, 192, 80, 32, "Biography:")
self.contents.font.color = normal_color
draw_actor_name(@actor, 96, 0)
biog_age
biog_gender
biog_race
biog_height
biog_weight
biog_weapon
biog_from
biog_specialty
biog_history
biog_biog
end
def biog_age
case(@actor.id)
when 1
self.contents.draw_text(96, 32, 64, 32, "19")
when 2
self.contents.draw_text(96, 32, 64, 32, "21")
when 3
self.contents.draw_text(96, 32, 64, 32, "30")
when 4
self.contents.draw_text(96, 32, 64, 32, "20")
when 5
self.contents.draw_text(96, 32, 64, 32, "17")
when 6
self.contents.draw_text(96, 32, 64, 32, "25")
when 7
self.contents.draw_text(96, 32, 64, 32, "19")
when 8
self.contents.draw_text(96, 32, 64, 32, "22")
end
end
def biog_gender
case(@actor.id)
when 1
self.contents.draw_text(96, 64, 64, 32, "Male")
when 2
self.contents.draw_text(96, 64, 64, 32, "Male")
when 3
self.contents.draw_text(96, 64, 64, 32, "Male")
when 4
self.contents.draw_text(96, 64, 96, 32, "Female")
when 5
self.contents.draw_text(96, 64, 96, 32, "Female")
when 6
self.contents.draw_text(96, 64, 96, 32, "Male")
when 7
self.contents.draw_text(96, 64, 96, 32, "Female")
when 8
self.contents.draw_text(96, 64, 96, 32, "Female")
end
end
def biog_race
case(@actor.id)
when 1
self.contents.draw_text(96, 96, 96, 32, "Human")
when 2
self.contents.draw_text(96, 96, 96, 32, "Human")
when 3
self.contents.draw_text(96, 96, 96, 32, "Dwarf")
when 4
self.contents.draw_text(96, 96, 96, 32, "Human")
when 5
self.contents.draw_text(96, 96, 96, 32, "Elf")
when 6
self.contents.draw_text(96, 96, 96, 32, "Human")
when 7
self.contents.draw_text(96, 96, 96, 32, "Human")
when 8
self.contents.draw_text(96, 96, 96, 32, "Human")
end
end
def biog_height
case(@actor.id)
when 1
self.contents.draw_text(96, 128, 64, 32, "5' 11''")
when 2
self.contents.draw_text(96, 128, 64, 32, "6' 1''")
when 3
self.contents.draw_text(96, 128, 64, 32, "3' 4''")
when 4
self.contents.draw_text(96, 128, 64, 32, "5' 7''")
when 5
self.contents.draw_text(96, 128, 64, 32, "2' 9''")
when 6
self.contents.draw_text(96, 128, 64, 32, "6' 0''")
when 7
self.contents.draw_text(96, 128, 64, 32, "5' 8''")
when 8
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
end
end
def biog_weight
case(@actor.id)
when 1
self.contents.draw_text(96, 160, 128, 32, "11 st 4 lbs")
when 2
self.contents.draw_text(96, 160, 128, 32, "11 st 7 lbs")
when 3
self.contents.draw_text(96, 160, 128, 32, "6 st 7 lbs")
when 4
self.contents.draw_text(96, 160, 128, 32, "10 st 12 lbs")
when 5
self.contents.draw_text(96, 160, 128, 32, "6 st 0 lbs")
when 6
self.contents.draw_text(96, 160, 128, 32, "11 st 6 lbs")
when 7
self.contents.draw_text(96, 160, 128, 32, "11 st 1 lbs")
when 8
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
end
end
def biog_weapon
case(@actor.id)
when 1
self.contents.draw_text(96, 192, 128, 32, "Sword")
when 2
self.contents.draw_text(96, 192, 128, 32, "Spear")
when 3
self.contents.draw_text(96, 192, 96, 32, "Axe")
when 4
self.contents.draw_text(96, 192, 160, 32, "Knives/Daggers")
when 5
self.contents.draw_text(96, 192, 160, 32, "Bow/Arrows")
when 6
self.contents.draw_text(96, 192, 96, 32, "Guns")
when 7
self.contents.draw_text(96, 192, 96, 32, "Mace")
when 8
self.contents.draw_text(96, 192, 96, 32, "Rod")
end
end
def biog_from
case(@actor.id)
when 1
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 2
self.contents.draw_text(96, 224, 160, 32, "Random Castle")
when 3
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 4
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 5
self.contents.draw_text(96, 224, 160, 32, "Random Elf Village")
when 6
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 7
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 8
self.contents.draw_text(96, 224, 160, 32, "Random Town")
end
end
def biog_specialty
case(@actor.id)
when 1
self.contents.draw_text(96, 256, 160, 32, "Swordplay")
when 2
self.contents.draw_text(96, 256, 160, 32, "Lanceplay")
when 3
self.contents.draw_text(96, 256, 160, 32, "Axeplay")
when 4
self.contents.draw_text(96, 256, 160, 32, "Robbery")
when 5
self.contents.draw_text(96, 256, 160, 32, "Archery")
when 6
self.contents.draw_text(96, 256, 160, 32, "Gunnery")
when 7
self.contents.draw_text(96, 256, 160, 32, "White magic")
when 8
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
end
end
def biog_history
case(@actor.id)
when 1
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 2
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 3
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 4
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 5
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 6
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 7
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
when 8
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
end
end
def biog_biog
case(@actor.id)
when 1
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 2
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 3
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 4
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 5
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 6
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 7
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 8
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
end
end
end
class Scene_Biography
def initialize(actor_index = 0)
@actor_index = actor_index
end
def main
@actor = $game_party.actors[@actor_index]
@biog_window = Window_Biography.new(@actor)
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@biog_window.dispose
end
def update
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Map.new
return
end
if Input.trigger?(Input::R)
$game_system.se_play($data_system.cursor_se)
@actor_index += 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
if Input.trigger?(Input::L)
$game_system.se_play($data_system.cursor_se)
@actor_index += $game_party.actors.size - 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
end
end
[/spoiler]
As mentioned in the script... PM me with any queries and help you need ;)
That's nice, I think it'd be better if you integrated it with say, the status screen or sosmething, but I guess that's personal preference. I can see reasons why it's better separated. Anyway, good job.
Finally :P A reply :P
Thanks for the tip, but i'm sure, with any simple scripting knowledge that people can make it so, for example, when you press a certain button on the status screen, it calls the biography screen :)
To be honest, I saw that on another char biog script, I didn't want to copy :-\
Thanks for the reply though ;)
This isn't too bad. I'm enjoying what I see of it. ^_^
Thanks :D
I'm thinking of adding battlers into it, but where to put them :-\
Maybe I copuld enlarge the battlers somehow... and decrease the opacity so I can pu them behind the text :-\
That'd be pretty cool :D
You should put sreenies up.
EDIT:
It helps to remember if you use this:
http://rmrk.net/index.php/topic,9045.0.html
Makes you feel like a professional :lol:
I am not sure exactly how to add the biographies script to my game. So far, I have your CMS (the one that works with your save point script [which I also have]) and this. I want to implement this into your CMS, but I dont understand how. I do not understand scripting very well, so try to explain it to a n00b. Thanks in advance. Let me be more specific. I have your savepoint script, your CMS and Records/Achievement system. I want to add the record system and character biographies system under the status option in the menu. I do not understand Scripting very well, but I do know a little. Where should I put the calls? How do I add options to the CMS without getting nothing but errors? Anyone who can help, please do.
I made a scripting tutorial in the tutorials database, you can access it from one of the stickied topics here in the scripts forum... sorry, i'm too busy to explainit all again here, but if you need further help after reading my tut, just say ;)
Quote from: Xuroth on July 27, 2007, 11:17:16 PM
Let me be more specific. I have your savepoint script, your CMS and Records/Achievement system. I want to add the record system and character biographies system under the status option in the menu. I do not understand Scripting very well, but I do know a little. Where should I put the calls? How do I add options to the CMS without getting nothing but errors? Anyone who can help, please do.
How would I implement these into the CMS? I also have a Beastiary Script that I want to call, how do I make more options in your CMS?
(i want to make them fit, due to the general cleanliness of your CMS)
If you look into the CMS, you will probably see something that looks like this:
s1 = $data_system.words.item
etc...
s6 = "End"
You can add new options by defining new variables with the words you want
so s7 = "Biography", etc...
Then where there is @command_window = Window_Command.new (160, [s1,s2,...,s6]) change that to include your additions (s7, etc...). Then you go down to update_command, and you will see something like this:
when 0
when 1
when 2
...
when 5
add a
when 6
$data_system.se_play ($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
end
and then go to update_status and you should see something like this:
when 1 # skill
# If this actor's action limit is 2 or more
if $game_party.actors[@status_window.index].restriction >= 2
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
return
end
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to skill screen
$scene = Scene_Skill.new(@status_window.index)
when 2 # equipment
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to equipment screen
$scene = Scene_Equip.new(@status_window.index)
when 3 # status
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to status screen
$scene = Scene_Status.new(@status_window.index)
end
add a
when 6
$game_system.se_play($data_system.decision_se)
# Switch to status screen
$scene = Scene_Biography.new(@status_window.index)
end
or something along those lines. I am going through this quick. You should be able to figure it out though.
Oh, hey, how do you make it so that on a CMS, you add arrows that point down and when you press down, it scrolls down?
In your Scene_Menu, under @command_window.x and .y, add
@command_window.height = x * 32 + 32
Change x to the max number of options you want to display at a time ;)
@Xuroth - Um... move the command window 32(*) pixels up (my tut explains that, I think...)
Then add the biography to the menu ;)
(*) - If that doesn't work enough, try 48, then 64 ;) I haven't touched scripting in a while so i'm afraid I might be a bit rusty ::)
ok, I will try that in a moment. I need to finish backing up my game onto my new 320GB hard drive (finally). I understand scripting a little better now, I have been reading tut after tut on it. I wish there was a good book on it to help me, but meh. lots of people become scripters based off the tuts and some experience. I cant wait until I can actually make my own scripts.
Heh, your time will come my young frog ;)
I'm really sorry for necroposting...but.. I did EXACTLY what you said..I mean EXACTLY.
See for yourself.
When I click the spacebar, nothing happens. Not even a noise
I'm using one of your CMS's. but It really looks right, and I get no errors....I'm completely stumped, and this script will help loooads.
Please help T~T
#==============#
#=> CMS #3 <=#
#=> Rune <=#
#=> Feb 2008 <=#
#==============#
$LOGO = RPG::Cache.picture("Logo")
$data_mapinfos = load_data('Data/MapInfos.rxdata')
class Window_Steps
def initialize
super(0, 0, 410, 96)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
contents.clear
contents.font.color = system_color
contents.draw_text(0, 0, 378, 32, 'Location', 1)
contents.font.color = normal_color
name = $data_mapinfos[$game_map.map_id].name
contents.draw_text(0, 32, 378, 32, name, 1)
end
end
class Window_GName < Window_Base
def initialize
super(0, 0, 250, 64)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
self.contents.font.color = system_color
self.contents.draw_text(0, 0, 218, 32, "Insert Game Name Here", 1)
end
end
class Window_GLogo < Window_Base
def initialize
super(0, 0, 250, 320)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
self.contents.blt(0, 0, $LOGO, Rect.new(0, 0, 220, 288))
end
end
class Window_MenuStatus < Window_Selectable
def initialize
super(0, 0, 230, 480)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
self.active = false
self.index = -1
end
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 64
y = i * 116
actor = $game_party.actors[i]
draw_actor_graphic(actor, x - 40, y + 75)
draw_actor_name(actor, x - 60, y - 5)
draw_actor_class(actor, x - 20, y + 19)
draw_actor_level(actor, x + 30, y - 5)
draw_actor_state(actor, x + 54, y + 19)
draw_actor_hp(actor, x - 16, y + 43)
draw_actor_sp(actor, x - 16, y + 67)
end
end
def update_cursor_rect
if @index < 0
self.cursor_rect.empty
else
self.cursor_rect.set(0, @index * 116, self.width - 32, 96)
end
end
end
class Scene_Menu
def initialize(menu_index = 0)
@menu_index = menu_index
end
def main
s1 = "Inventory"
s2 = "Techniques"
s3 = "Equipment"
s4 = "Status"
s5 = "Save Game"
s6 = "Quit Game"
s7 = "Profiles"
@command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])
@command_window.index = @menu_index
@command_window.x = 480
@command_window.height = 32 * 7 + 1
if $game_party.actors.size == 0
@command_window.disable_item(0)
@command_window.disable_item(1)
@command_window.disable_item(2)
@command_window.disable_item(3)
end
if $game_system.save_disabled
@command_window.disable_item(4)
end
@playtime_window = Window_PlayTime.new
@playtime_window.x = 480
@playtime_window.y = 288
@steps_window = Window_Steps.new
@steps_window.x = 230
@steps_window.y = 384
@gold_window = Window_Gold.new
@gold_window.x = 480
@gold_window.y = 224
@status_window = Window_MenuStatus.new
@status_window.x = 0
@status_window.y = 0
@gnam_window = Window_GName.new
@gnam_window.x = 230
@gnam_window.y = 0
@glog_window = Window_GLogo.new
@glog_window.x = 230
@glog_window.y = 64
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@command_window.dispose
@playtime_window.dispose
@steps_window.dispose
@gold_window.dispose
@status_window.dispose
@gnam_window.dispose
@glog_window.dispose
end
def update
@command_window.update
@playtime_window.update
@steps_window.update
@gold_window.update
@status_window.update
@gnam_window.update
@glog_window.update
if @command_window.active
update_command
return
end
if @status_window.active
update_status
return
end
end
def update_command
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Map.new
return
end
if Input.trigger?(Input::C)
if $game_party.actors.size == 0 and @command_window.index < 4
$game_system.se_play($data_system.buzzer_se)
return
end
case @command_window.index
when 0
$game_system.se_play($data_system.decision_se)
$scene = Scene_Item.new
when 1
$game_system.se_play($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 2
$game_system.se_play($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 3
$game_system.se_play($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 4
if $game_system.save_disabled
$game_system.se_play($data_system.buzzer_se)
return
end
$game_system.se_play($data_system.decision_se)
$scene = Scene_Save.new
when 5
$game_system.se_play($data_system.decision_se)
$scene = Scene_End.new
when 7
$game_system.se_play($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
end
return
end
end
def update_status
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
@command_window.active = true
@status_window.active = false
@status_window.index = -1
return
end
if Input.trigger?(Input::C)
case @command_window.index
when 1
if $game_party.actors[@status_window.index].restriction >= 2
$game_system.se_play($data_system.buzzer_se)
return
end
$game_system.se_play($data_system.decision_se)
$scene = Scene_Skill.new(@status_window.index)
when 2
$game_system.se_play($data_system.decision_se)
$scene = Scene_Equip.new(@status_window.index)
when 3
$game_system.se_play($data_system.decision_se)
$scene = Scene_Status.new(@status_window.index)
when 6
$game_system.se_play($data_system.decision_se)
# Switch to status screen
$scene = Scene_Biography.new(@status_window.index)
end
return
end
end
end
Who are you talking to?
I didn't look at it in-depth or anything, but the thing I noticed immediately is that under update_command, where you have:
when 5
$game_system.se_play($data_system.decision_se)
$scene = Scene_End.new
when 7
$game_system.se_play($data_system.decision_se)
@command_window.active = false
@status_window.active = true
@status_window.index = 0
end
It should be when 6, not when 7.
I'm talking to anyone who can help me.
And really? I have the "Profile" set as selection 7.
But, I'll try that.
EDIT: alright, it worked, but the description lines are way too short.
Is there any way to make more lines and making it scroll-able?
Okay okay, now I'm getting an error. And I'm guessing there's something wrong with the "end" thingies....could you please help me?
=begin
=================================
Character biography script
By Rune
=================================
Introduction
=================================
This is a script that calls a window that displays different
aspects about a character... like their age, height, weight,
gender etc. These can be changed though. This script is
free to use and edit as long as credit is given to me.
=================================
Instructions
=================================
Insert this script above main, and call it Scene_Biography.
Then, ctrl + f to search for the different aspects of
characters you wish to change, so for a character's age,
you would search biog_age, and for gender you would
search, biog_gender. Each aspect is listed in the
character's order in the database, and the different stats
of each character are set at default to (what I think of)
the default 8 characters.
Once the script is in your game, you may wish to add it
to your menu. To do so... in Scene_Menu make a new
option, and add it into the comand_window list. Then go
down to the first time it says "when 0", 'when 1" etc and
copy and paste the status, equip or skill responses. Then
go all the way down to where it says "when 1", "when 2"
etc, and type this.
$game_system.se_play($data_system.decision_se)
$scene = Scene_Biography.new(@status_window.index)
If you don't know how to do that then just tell me, and
i'll help you out, and if you need any more help,
PM me ;)
=================================
Any last words?
=================================
Again PM me if you need any help in changing the text or
anything like that, though even non-scripters should be
able to do that. And enjoy ;)
=end
class Window_Base
def biog_color
return Color.new(0, 255, 160)
end
def draw_actor_name(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x, y, 120, 32, actor.name)
end
end
class Window_Biography < Window_Base
def initialize(actor)
super(0, 0, 640, 480)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = 'Adorable'
self.contents.font.size = 18
@actor = actor
refresh
end
def refresh
self.contents.font.color = biog_color
self.contents.draw_text(0, 0, 80, 32, "Name:")
self.contents.draw_text(0, 32, 80, 32, "Age:")
self.contents.draw_text(0, 64, 80, 32, "Gender:")
self.contents.draw_text(0, 96, 80, 32, "Race:")
self.contents.draw_text(0, 128, 80, 32, "Height:")
self.contents.draw_text(0, 160, 80, 32, "Weight:")
self.contents.draw_text(0, 192, 80, 32, "Weapon:")
self.contents.draw_text(0, 224, 80, 32, "From:")
self.contents.draw_text(0, 256, 80, 32, "Specialty:")
self.contents.draw_text(240, 0, 80, 32, "History:")
self.contents.draw_text(240, 192, 80, 32, "Biography:")
self.contents.font.color = normal_color
draw_actor_name(@actor, 96, 0)
biog_age
biog_gender
biog_race
biog_height
biog_weight
biog_weapon
biog_from
biog_specialty
biog_history
biog_biog
end
def biog_age
case(@actor.id)
when 1
self.contents.draw_text(96, 32, 64, 32, "19")
when 2
self.contents.draw_text(96, 32, 64, 32, "20")
when 3
self.contents.draw_text(96, 32, 64, 32, "30")
when 4
self.contents.draw_text(96, 32, 64, 32, "20")
when 5
self.contents.draw_text(96, 32, 64, 32, "17")
when 6
self.contents.draw_text(96, 32, 64, 32, "25")
when 7
self.contents.draw_text(96, 32, 64, 32, "19")
when 8
self.contents.draw_text(96, 32, 64, 32, "22")
when 9
self.contents.draw_text(96, 32, 64, 32, "22")
when 10
self.contents.draw_text(96, 32, 64, 32, "22")
when 11
self.contents.draw_text(96, 32, 64, 32, "22")
when 12
self.contents.draw_text(96, 32, 64, 32, "22")
when 13
self.contents.draw_text(96, 32, 64, 32, "22")
when 14
self.contents.draw_text(96, 32, 64, 32, "22")
when 15
self.contents.draw_text(96, 32, 64, 32, "22")
when 16
self.contents.draw_text(96, 32, 64, 32, "22")
when 17
self.contents.draw_text(96, 32, 64, 32, "22")
when 18
self.contents.draw_text(96, 32, 64, 32, "22")
when 19
self.contents.draw_text(96, 32, 64, 32, "22")
when 20
self.contents.draw_text(96, 32, 64, 32, "Over 1000 Years")
end
end
def biog_gender
case(@actor.id)
when 1
self.contents.draw_text(96, 64, 64, 32, "Male")
when 2
self.contents.draw_text(96, 64, 64, 32, "Female")
when 3
self.contents.draw_text(96, 64, 64, 32, "Male")
when 4
self.contents.draw_text(96, 64, 96, 32, "Female")
when 5
self.contents.draw_text(96, 64, 96, 32, "Female")
when 6
self.contents.draw_text(96, 64, 96, 32, "Male")
when 7
self.contents.draw_text(96, 64, 96, 32, "Female")
when 8
self.contents.draw_text(96, 64, 96, 32, "Female")
when 9
self.contents.draw_text(96, 64, 96, 32, "Female")
when 10
self.contents.draw_text(96, 64, 96, 32, "Female")
when 11
self.contents.draw_text(96, 64, 96, 32, "Female")
when 12
self.contents.draw_text(96, 64, 96, 32, "Female")
when 13
self.contents.draw_text(96, 64, 96, 32, "Female")
when 14
self.contents.draw_text(96, 64, 96, 32, "Female")
when 15
self.contents.draw_text(96, 64, 96, 32, "Female")
when 16
self.contents.draw_text(96, 64, 96, 32, "Female")
when 17
self.contents.draw_text(96, 64, 96, 32, "Female")
when 18
self.contents.draw_text(96, 64, 96, 32, "Female")
when 19
self.contents.draw_text(96, 64, 96, 32, "Female")
when 20
self.contents.draw_text(96, 64, 96, 32, "Female")
end
end
def biog_race
case(@actor.id)
when 1
self.contents.draw_text(96, 96, 96, 32, "Human")
when 2
self.contents.draw_text(96, 96, 96, 32, "Human")
when 3
self.contents.draw_text(96, 96, 96, 32, "Dwarf")
when 4
self.contents.draw_text(96, 96, 96, 32, "Human")
when 5
self.contents.draw_text(96, 96, 96, 32, "Elf")
when 6
self.contents.draw_text(96, 96, 96, 32, "Human")
when 7
self.contents.draw_text(96, 96, 96, 32, "Human")
when 8
self.contents.draw_text(96, 96, 96, 32, "Human")
when 9
self.contents.draw_text(96, 96, 96, 32, "Human")
when 10
self.contents.draw_text(96, 96, 96, 32, "Human")
when 11
self.contents.draw_text(96, 96, 96, 32, "Human")
when 12
self.contents.draw_text(96, 96, 96, 32, "Human")
when 13
self.contents.draw_text(96, 96, 96, 32, "Human")
when 14
self.contents.draw_text(96, 96, 96, 32, "Human")
when 15
self.contents.draw_text(96, 96, 96, 32, "Human")
when 16
self.contents.draw_text(96, 96, 96, 32, "Human")
when 17
self.contents.draw_text(96, 96, 96, 32, "Human")
when 18
self.contents.draw_text(96, 96, 96, 32, "Human")
when 19
self.contents.draw_text(96, 96, 96, 32, "Human")
when 20
self.contents.draw_text(96, 96, 96, 32, "Magician")
end
end
def biog_height
case(@actor.id)
when 1
self.contents.draw_text(96, 128, 64, 32, "5' 10''")
when 2
self.contents.draw_text(96, 128, 64, 32, "5' 5''")
when 3
self.contents.draw_text(96, 128, 64, 32, "3' 4''")
when 4
self.contents.draw_text(96, 128, 64, 32, "5' 7''")
when 5
self.contents.draw_text(96, 128, 64, 32, "2' 9''")
when 6
self.contents.draw_text(96, 128, 64, 32, "6' 0''")
when 7
self.contents.draw_text(96, 128, 64, 32, "5' 8''")
when 8
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 9
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 10
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 11
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 12
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 13
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 14
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 15
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 16
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 17
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 18
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 19
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 20
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
end
end
def biog_weight
case(@actor.id)
when 1
self.contents.draw_text(96, 160, 128, 32, "10 st 2 lbs")
when 2
self.contents.draw_text(96, 160, 128, 32, "11 st 4 lbs")
when 3
self.contents.draw_text(96, 160, 128, 32, "6 st 7 lbs")
when 4
self.contents.draw_text(96, 160, 128, 32, "10 st 12 lbs")
when 5
self.contents.draw_text(96, 160, 128, 32, "6 st 0 lbs")
when 6
self.contents.draw_text(96, 160, 128, 32, "11 st 6 lbs")
when 7
self.contents.draw_text(96, 160, 128, 32, "11 st 1 lbs")
when 8
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 9
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 10
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 11
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 12
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 13
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 14
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 15
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 16
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 17
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 18
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 19
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 20
self.contents.draw_text(96, 160, 128, 32, "10 st 2 lbs")
end
end
def biog_weapon
case(@actor.id)
when 1
self.contents.draw_text(96, 192, 128, 32, "Two Swords")
when 2
self.contents.draw_text(96, 192, 128, 32, "Two Swords")
when 3
self.contents.draw_text(96, 192, 96, 32, "Axe")
when 4
self.contents.draw_text(96, 192, 160, 32, "Knives/Daggers")
when 5
self.contents.draw_text(96, 192, 160, 32, "Bow/Arrows")
when 6
self.contents.draw_text(96, 192, 96, 32, "Guns")
when 7
self.contents.draw_text(96, 192, 96, 32, "Mace")
when 8
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 9
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 10
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 11
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 12
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 13
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 14
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 15
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 16
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 17
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 18
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 19
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 20
self.contents.draw_text(96, 192, 96, 32, "No Weapons")
end
end
def biog_from
case(@actor.id)
when 1
self.contents.draw_text(96, 224, 160, 32, "Nowhere")
when 2
self.contents.draw_text(96, 224, 160, 32, "Blah")
when 3
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 4
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 5
self.contents.draw_text(96, 224, 160, 32, "Random Elf Village")
when 6
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 7
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 8
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 9
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 10
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 11
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 12
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 13
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 14
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 15
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 16
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 17
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 18
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 19
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 20
self.contents.draw_text(96, 224, 160, 32, "Unknown")
end
end
def biog_specialty
case(@actor.id)
when 1
self.contents.draw_text(96, 256, 160, 32, "Swordplay")
when 2
self.contents.draw_text(96, 256, 160, 32, "Swordplay")
when 3
self.contents.draw_text(96, 256, 160, 32, "Axeplay")
when 4
self.contents.draw_text(96, 256, 160, 32, "Robbery")
when 5
self.contents.draw_text(96, 256, 160, 32, "Archery")
when 6
self.contents.draw_text(96, 256, 160, 32, "Gunnery")
when 7
self.contents.draw_text(96, 256, 160, 32, "White magic")
when 9
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 10
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 11
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 12
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 13
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 14
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 15
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 16
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 17
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 18
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 19
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 20
self.contents.draw_text(96, 256, 160, 32, "Various Magics")
end
end
def biog_history
case(@actor.id)
when 1
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 2
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 3
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 4
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 5
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 6
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 7
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 8
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 9
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 10
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 11
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 12
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 13
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 14
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert Second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here")
when 15
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert Second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here")
when 16
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 17
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 18
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 19
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
when 20
self.contents.draw_text(304, 0, 320, 32, "As a now-retired magician, she was ????'s teacher.")
self.contents.draw_text(304, 32, 320, 32, "She used her magic properly and devoted her life to")
self.contents.draw_text(304, 64, 320, 32, "smiles and happiness of many people. She taught ????")
self.contents.draw_text(304, 96, 320, 32, "Magic, then retired And believed ???? would devote ")
self.contents.draw_text(304, 128, 320, 32, "herself to the people. She also served as the magician of the ")
self.contents.draw_text(304, 160, 320, 32, "household ???? grew up in. She was also the servant.")
end
end
end
end
def biog_biog
case(@actor.id)
when 1
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 2
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 3
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 4
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 5
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 6
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 7
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 8
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 9
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 10
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 11
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 12
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 13
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 14
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 15
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 16
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 17
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 18
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 19
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
when 20
self.contents.draw_text(320, 192, 304, 32, "Insert first line here")
self.contents.draw_text(320, 224, 304, 32, "Insert second line here")
self.contents.draw_text(320, 256, 304, 32, "Insert third line here")
self.contents.draw_text(320, 288, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert sixth line here")
end
end
end
class Scene_Biography
def initialize(actor_index = 0)
@actor_index = actor_index
end
def main
@actor = $game_party.actors[@actor_index]
@biog_window = Window_Biography.new(@actor)
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@biog_window.dispose
end
def update
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Map.new
return
end
if Input.trigger?(Input::R)
$game_system.se_play($data_system.cursor_se)
@actor_index += 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
if Input.trigger?(Input::L)
$game_system.se_play($data_system.cursor_se)
@actor_index += $game_party.actors.size - 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
end
end
Sorry for the slow reply, I haven't been on here for ages. I'll have to get back to you with that, since I'm running out of time at the moment, and I don't have RMXP on this computer, and I also haven't touched a script in months.
Apologies.
[spoiler]=begin
=================================
Character biography script
By Rune
=================================
Introduction
=================================
This is a script that calls a window that displays different
aspects about a character... like their age, height, weight,
gender etc. These can be changed though. This script is
free to use and edit as long as credit is given to me.
=================================
Instructions
=================================
Insert this script above main, and call it Scene_Biography.
Then, ctrl + f to search for the different aspects of
characters you wish to change, so for a character's age,
you would search biog_age, and for gender you would
search, biog_gender. Each aspect is listed in the
character's order in the database, and the different stats
of each character are set at default to (what I think of)
the default 8 characters.
Once the script is in your game, you may wish to add it
to your menu. To do so... in Scene_Menu make a new
option, and add it into the comand_window list. Then go
down to the first time it says "when 0", 'when 1" etc and
copy and paste the status, equip or skill responses. Then
go all the way down to where it says "when 1", "when 2"
etc, and type this.
$game_system.se_play($data_system.decision_se)
$scene = Scene_Biography.new(@status_window.index)
If you don't know how to do that then just tell me, and
i'll help you out, and if you need any more help,
PM me ;)
=================================
Any last words?
=================================
Again PM me if you need any help in changing the text or
anything like that, though even non-scripters should be
able to do that. And enjoy ;)
=end
class Window_Base
def biog_color
return Color.new(0, 255, 160)
end
def draw_actor_name(actor, x, y)
self.contents.font.color = normal_color
self.contents.draw_text(x, y, 120, 32, actor.name)
end
end
class Window_Biography < Window_Base
def initialize(actor)
super(0, 0, 640, 480)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = 'Arial'
self.contents.font.size = 18
@actor = actor
refresh
end
def refresh
self.contents.font.color = biog_color
self.contents.draw_text(0, 0, 80, 32, "Name:")
self.contents.draw_text(0, 32, 80, 32, "Age:")
self.contents.draw_text(0, 64, 80, 32, "Gender:")
self.contents.draw_text(0, 96, 80, 32, "Race:")
self.contents.draw_text(0, 128, 80, 32, "Height:")
self.contents.draw_text(0, 160, 80, 32, "Weight:")
self.contents.draw_text(0, 192, 80, 32, "Weapon:")
self.contents.draw_text(0, 224, 80, 32, "From:")
self.contents.draw_text(0, 256, 80, 32, "Specialty:")
self.contents.draw_text(240, 0, 80, 32, "History:")
self.contents.draw_text(240, 224, 80, 32, "Biography:")
self.contents.font.color = normal_color
draw_actor_name(@actor, 96, 0)
biog_age
biog_gender
biog_race
biog_height
biog_weight
biog_weapon
biog_from
biog_specialty
biog_history
biog_biog
end
def biog_age
case(@actor.id)
when 1
self.contents.draw_text(96, 32, 64, 32, "19")
when 2
self.contents.draw_text(96, 32, 64, 32, "20")
when 3
self.contents.draw_text(96, 32, 64, 32, "30")
when 4
self.contents.draw_text(96, 32, 64, 32, "20")
when 5
self.contents.draw_text(96, 32, 64, 32, "17")
when 6
self.contents.draw_text(96, 32, 64, 32, "25")
when 7
self.contents.draw_text(96, 32, 64, 32, "19")
when 8
self.contents.draw_text(96, 32, 64, 32, "22")
when 9
self.contents.draw_text(96, 32, 64, 32, "22")
when 10
self.contents.draw_text(96, 32, 64, 32, "22")
when 11
self.contents.draw_text(96, 32, 64, 32, "22")
when 12
self.contents.draw_text(96, 32, 64, 32, "22")
when 13
self.contents.draw_text(96, 32, 64, 32, "22")
when 14
self.contents.draw_text(96, 32, 64, 32, "22")
when 15
self.contents.draw_text(96, 32, 64, 32, "22")
when 16
self.contents.draw_text(96, 32, 64, 32, "22")
when 17
self.contents.draw_text(96, 32, 64, 32, "22")
when 18
self.contents.draw_text(96, 32, 64, 32, "22")
when 19
self.contents.draw_text(96, 32, 64, 32, "22")
when 20
self.contents.draw_text(96, 32, 64, 32, "Over 1000 Years")
end
end
def biog_gender
case(@actor.id)
when 1
self.contents.draw_text(96, 64, 64, 32, "Male")
when 2
self.contents.draw_text(96, 64, 64, 32, "Female")
when 3
self.contents.draw_text(96, 64, 64, 32, "Male")
when 4
self.contents.draw_text(96, 64, 96, 32, "Female")
when 5
self.contents.draw_text(96, 64, 96, 32, "Female")
when 6
self.contents.draw_text(96, 64, 96, 32, "Male")
when 7
self.contents.draw_text(96, 64, 96, 32, "Female")
when 8
self.contents.draw_text(96, 64, 96, 32, "Female")
when 9
self.contents.draw_text(96, 64, 96, 32, "Female")
when 10
self.contents.draw_text(96, 64, 96, 32, "Female")
when 11
self.contents.draw_text(96, 64, 96, 32, "Female")
when 12
self.contents.draw_text(96, 64, 96, 32, "Female")
when 13
self.contents.draw_text(96, 64, 96, 32, "Female")
when 14
self.contents.draw_text(96, 64, 96, 32, "Female")
when 15
self.contents.draw_text(96, 64, 96, 32, "Female")
when 16
self.contents.draw_text(96, 64, 96, 32, "Female")
when 17
self.contents.draw_text(96, 64, 96, 32, "Female")
when 18
self.contents.draw_text(96, 64, 96, 32, "Female")
when 19
self.contents.draw_text(96, 64, 96, 32, "Female")
when 20
self.contents.draw_text(96, 64, 96, 32, "Female")
end
end
def biog_race
case(@actor.id)
when 1
self.contents.draw_text(96, 96, 96, 32, "Human")
when 2
self.contents.draw_text(96, 96, 96, 32, "Human")
when 3
self.contents.draw_text(96, 96, 96, 32, "Dwarf")
when 4
self.contents.draw_text(96, 96, 96, 32, "Human")
when 5
self.contents.draw_text(96, 96, 96, 32, "Elf")
when 6
self.contents.draw_text(96, 96, 96, 32, "Human")
when 7
self.contents.draw_text(96, 96, 96, 32, "Human")
when 8
self.contents.draw_text(96, 96, 96, 32, "Human")
when 9
self.contents.draw_text(96, 96, 96, 32, "Human")
when 10
self.contents.draw_text(96, 96, 96, 32, "Human")
when 11
self.contents.draw_text(96, 96, 96, 32, "Human")
when 12
self.contents.draw_text(96, 96, 96, 32, "Human")
when 13
self.contents.draw_text(96, 96, 96, 32, "Human")
when 14
self.contents.draw_text(96, 96, 96, 32, "Human")
when 15
self.contents.draw_text(96, 96, 96, 32, "Human")
when 16
self.contents.draw_text(96, 96, 96, 32, "Human")
when 17
self.contents.draw_text(96, 96, 96, 32, "Human")
when 18
self.contents.draw_text(96, 96, 96, 32, "Human")
when 19
self.contents.draw_text(96, 96, 96, 32, "Human")
when 20
self.contents.draw_text(96, 96, 96, 32, "Magician")
end
end
def biog_height
case(@actor.id)
when 1
self.contents.draw_text(96, 128, 64, 32, "5' 10''")
when 2
self.contents.draw_text(96, 128, 64, 32, "5' 5''")
when 3
self.contents.draw_text(96, 128, 64, 32, "3' 4''")
when 4
self.contents.draw_text(96, 128, 64, 32, "5' 7''")
when 5
self.contents.draw_text(96, 128, 64, 32, "2' 9''")
when 6
self.contents.draw_text(96, 128, 64, 32, "6' 0''")
when 7
self.contents.draw_text(96, 128, 64, 32, "5' 8''")
when 8
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 9
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 10
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 11
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 12
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 13
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 14
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 15
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 16
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 17
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 18
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 19
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
when 20
self.contents.draw_text(96, 128, 64, 32, "5' 9''")
end
end
def biog_weight
case(@actor.id)
when 1
self.contents.draw_text(96, 160, 128, 32, "10 st 2 lbs")
when 2
self.contents.draw_text(96, 160, 128, 32, "11 st 4 lbs")
when 3
self.contents.draw_text(96, 160, 128, 32, "6 st 7 lbs")
when 4
self.contents.draw_text(96, 160, 128, 32, "10 st 12 lbs")
when 5
self.contents.draw_text(96, 160, 128, 32, "6 st 0 lbs")
when 6
self.contents.draw_text(96, 160, 128, 32, "11 st 6 lbs")
when 7
self.contents.draw_text(96, 160, 128, 32, "11 st 1 lbs")
when 8
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 9
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 10
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 11
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 12
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 13
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 14
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 15
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 16
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 17
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 18
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 19
self.contents.draw_text(96, 160, 128, 32, "11 st 2 lbs")
when 20
self.contents.draw_text(96, 160, 128, 32, "10 st 2 lbs")
end
end
def biog_weapon
case(@actor.id)
when 1
self.contents.draw_text(96, 192, 128, 32, "Two Swords")
when 2
self.contents.draw_text(96, 192, 128, 32, "Two Swords")
when 3
self.contents.draw_text(96, 192, 96, 32, "Axe")
when 4
self.contents.draw_text(96, 192, 160, 32, "Knives/Daggers")
when 5
self.contents.draw_text(96, 192, 160, 32, "Bow/Arrows")
when 6
self.contents.draw_text(96, 192, 96, 32, "Guns")
when 7
self.contents.draw_text(96, 192, 96, 32, "Mace")
when 8
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 9
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 10
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 11
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 12
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 13
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 14
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 15
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 16
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 17
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 18
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 19
self.contents.draw_text(96, 192, 96, 32, "Rod")
when 20
self.contents.draw_text(96, 192, 96, 32, "No Weapons")
end
end
def biog_from
case(@actor.id)
when 1
self.contents.draw_text(96, 224, 160, 32, "Nowhere")
when 2
self.contents.draw_text(96, 224, 160, 32, "Blah")
when 3
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 4
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 5
self.contents.draw_text(96, 224, 160, 32, "Random Elf Village")
when 6
self.contents.draw_text(96, 224, 160, 32, "Random City")
when 7
self.contents.draw_text(96, 224, 160, 32, "Random Village")
when 8
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 9
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 10
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 11
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 12
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 13
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 14
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 15
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 16
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 17
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 18
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 19
self.contents.draw_text(96, 224, 160, 32, "Random Town")
when 20
self.contents.draw_text(96, 224, 160, 32, "Unknown")
end
end
def biog_specialty
case(@actor.id)
when 1
self.contents.draw_text(96, 256, 160, 32, "Swordplay")
when 2
self.contents.draw_text(96, 256, 160, 32, "Swordplay")
when 3
self.contents.draw_text(96, 256, 160, 32, "Axeplay")
when 4
self.contents.draw_text(96, 256, 160, 32, "Robbery")
when 5
self.contents.draw_text(96, 256, 160, 32, "Archery")
when 6
self.contents.draw_text(96, 256, 160, 32, "Gunnery")
when 7
self.contents.draw_text(96, 256, 160, 32, "White magic")
when 9
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 10
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 11
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 12
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 13
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 14
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 15
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 16
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 17
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 18
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 19
self.contents.draw_text(96, 256, 160, 32, "Black Magic")
when 20
self.contents.draw_text(96, 256, 160, 32, "Various Magics")
end
end
def biog_history
case(@actor.id)
when 1
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 2
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 3
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 4
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 5
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 6
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 7
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 8
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 9
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 10
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 11
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 12
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 13
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 14
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert Second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 15
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert Second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 16
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 17
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 18
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 19
self.contents.draw_text(304, 0, 320, 32, "Insert first line of history here")
self.contents.draw_text(304, 32, 320, 32, "Insert second line of history here")
self.contents.draw_text(304, 64, 320, 32, "Insert third line of history here")
self.contents.draw_text(304, 96, 320, 32, "Insert fourth line of history here")
self.contents.draw_text(304, 128, 320, 32, "Insert fifth line of history here")
self.contents.draw_text(304, 160, 320, 32, "Insert sixth line of history here.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
when 20
self.contents.draw_text(304, 0, 320, 32, "As a now-retired magician, she was ????'s teacher.")
self.contents.draw_text(304, 32, 320, 32, "She used her magic properly and devoted her life to")
self.contents.draw_text(304, 64, 320, 32, "smiles and happiness of many people. She taught ????")
self.contents.draw_text(304, 96, 320, 32, "Magic, then retired And believed ???? would devote ")
self.contents.draw_text(304, 128, 320, 32, "herself to the people. She also served as the magician of the ")
self.contents.draw_text(304, 160, 320, 32, "household ???? grew up in. She was also the servant.")
self.contents.draw_text(304, 192, 320, 32, "Insert seventh line of history here.")
end
end
def biog_biog
case(@actor.id)
when 1
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 2
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 3
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 4
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 5
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 6
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 7
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 8
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 9
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 10
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 11
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 12
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 13
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 14
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 15
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 16
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 17
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 18
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 19
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
when 20
self.contents.draw_text(320, 224, 304, 32, "Insert first line here")
self.contents.draw_text(320, 256, 304, 32, "Insert second line here")
self.contents.draw_text(320, 288, 304, 32, "Insert third line here")
self.contents.draw_text(320, 320, 304, 32, "Insert fourth line here")
self.contents.draw_text(320, 352, 304, 32, "Insert fifth line here")
self.contents.draw_text(320, 384, 304, 32, "Insert sixth line here")
end
end
end
class Scene_Biography
def initialize(actor_index = 0)
@actor_index = actor_index
end
def main
@actor = $game_party.actors[@actor_index]
@biog_window = Window_Biography.new(@actor)
Graphics.transition
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@biog_window.dispose
end
def update
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Map.new
return
end
if Input.trigger?(Input::R)
$game_system.se_play($data_system.cursor_se)
@actor_index += 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
if Input.trigger?(Input::L)
$game_system.se_play($data_system.cursor_se)
@actor_index += $game_party.actors.size - 1
@actor_index %= $game_party.actors.size
$scene = Scene_Biography.new(@actor_index)
return
end
end
end[/spoiler]
There you go, that gives you an extra line on the history, if you're in need of another line, let me know and I'll squeeze another one in there, but only one more, otherwise I'd have to cut down the 'Biography' part.
Hi there everyone.
I'm new to the scripting thing, and I was kind of hoping it would be easy... Yeah I know Newbie mistake.
Anyway I followed what most of your Tutorial, but I couldn't seem to make it work, I don't get any Errors or Random Shutdowns It just doesn't appear on the Main menu. I'm not sure what it might be.
Over Main (Ins... took me 30 Minutes to figure that out) I have your Script named Scene_Biography.
in Scene_menu I have it as my Number #4 of :
[spoiler]when 3 # status
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Make status window active
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 4 # biography
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Make status window active
@command_window.active = false
@status_window.active = true
@status_window.index = 0
when 5 # save
# If saving is forbidden
if $game_system.save_disabled
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
return[/spoiler]
under that I have another part that says:
[spoiler] when 3 # status
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to status screen
$scene = Scene_Status.new(@status_window.index)
when 4 # biography
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Switch to bio screen
$scene = Scene_Biography.new(@status_window.index)[/spoiler]
Gave you the Status #3 so you have a better idea of where I put it. Thanks in advance for your help hope I can get your script (my first try) to work! ;D
i was woundering if you could call this from the game map, like
$scene = Scene_Biography.new or somthing, see i wanted to use this to show players
the characters they can play as and then they choose after words.
ps. ive tried that $scene sadly it doesnt work
nvm i found out how oh, i made an edit where a picture of the character shows up and was woundering if youd like to add that to your script idk if some one else might find that handy as well. i just added it under bio age.
def biog_age
case(@actor.id)
when 1
self.contents.draw_text(96, 32, 64, 32, "19")
bitmap = RPG::Cache.picture("Character Pic name here")
self.contents.blt(110, 300, bitmap, Rect.new(0, 0, 140, 130))
end
end
idk if i even did that right im slowly trying to learn scripting but haveing diffculties
still what ever ive been doing latly seems to be working with all the scripts ive slightly edited "about in the same way as yours"