Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed
Custom Title Screen Menu Version 1.0 by Woratana Release Date: 04/04/2008
Introduction This script will help you add, arrange, and edit menu in title screen easier.
You can easily move, change its size, change skin, and change opacity.
Features Version 1.0 - Easy to Edit window's appearance (size, position, skin, opacity) - Easy to Add/Arrange commands - Included built-in method to help you make new command easier
#-------------------------------------------------------------------------- # ** Command Window Appearance Setup #---------------------------------------------------------------------- # * Type the integer number to use that value, # e.g. COMMAND_WINDOW_X = 200 # * or type script in '...' to use number calculate by script. # e.g. COMMAND_WINDOW_X = '(544 - @command_window.width) / 2' # Note: You can use script in COMMAND_WINDOW_X and COMMAND_WINDOW_Y #--------------------------------------------------------------------------
# ** Description ** # Command Index # << Command Index start from 0. The lower index will show above higher index # 'Text' # << Text you want to show for that command, type text in '...' # 'Script' # << Script to run when player choose that command, type script in '...'
CODE
#------------------------------------------------------------------------- # ** Built-in Method # * List of built-in method, you can put this in 'Script' in Template #------------------------------------------------------------------------- # 'command_new_game' : New Game # 'command_continue' : Continue Game # 'command_shutdown' : Shut down Game
# 'scene("Scene_Name.new")' : Change Scene to 'Scene_Name.new' # e.g. 'scene("Scene_End.new")' # e.g.2 'scene("Scene_Menu.new(2)")'
# 'new(Map ID, X, Y, Members)' : New Game in specific location and members # e.g. 'new(1, 10, 8, [1,2,3])' # << New Game in Map ID 1 at coordinate (10,8) with Actor ID 1,2,3 in party # Note: You may use this method for Game Tutorial
Compatibility This script rewrite methods update and create_command_window
so it may not work with scripts that need to edit those methods.
Author's Notes Free for use in your non-commercial work if credit included. If your project is commercial, please contact me.
Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.
For every action, there is an equal and opposite reaction. Thus if humanity is born humanity shall die and be reborn anew. If the universe is born, the universe shall die and be reborn anew thus we live in a never ending cycle of despair and happiness.
QUOTE
"Rely on your on strength of body & soul. Take for your star self-reliance, faith, honesty, & industry. Don't take too much advice- keep at the helm and stear your own ship, and remember that the great art of commanding is to take a fair share of the work. Fire above the mark you intend to hit. Energy, invincible determination with the right motive, are the levers that move the world." -Noah Porter
QUOTE
It's not the INTENT that matters but the IMPACT that does.
Cna yuo raed tihs? Olny 55% of plepoe can. I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt! fi yuo cna raed tihs, palce it in yuor siantugre.
For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.
Thanks in advance.
Hey there,
Well I don't make battle neither though I can still teach you some things :)... The way I've learned to script is by reading other scripts for the most part. I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!! The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script. You also need to feel the competition that's around in the scripting-community. Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P So that's an other thing... You also don't need to be afraid to learn from others or helpfiles. When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember. Then, you must be calm, cause you need to try the script a lot of times. When I write a script, I test it after almost every changes. First I set up the major structure. Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base def initialize(x,y,width,height) super(x,y,width,height) refresh end
def refresh self.contents.clear draw_contents end
def draw_contents draw_something(with, some, parameters) end
def update refresh if @something != @what_it_should_be end end
So that's also very important. Then, the biggest thing I learned scripting from is TRIAL AND ERROR. That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.
So that's it how I did it. Now it's up to you. Do some requests (if I didn't do it allready :P) and learn from them.
Hope that helped you out a little. If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials. Perhaps they're going to be usefull for you one day ;)
I guess i need to find a way to save to evil files when ya're evil and to good when ya're good Perhaps ill try to make 2 menu's so ya can have a good and evil titlescreen and ya can switch between them...
but do you think i/you can make something that changes savefiles and have the two seperate load screens? or perhaps i do something that when ya pull of a new game, you'll get an other screen (so it pops a new window) where ya can choose between good and evil, between male/female...and class?
mmm when i want to do this its going to cost me a lot of time cause i cant realy script but perhaps im lucky and can get it working ...well see...
For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.
Thanks in advance.
Hey there,
Well I don't make battle neither though I can still teach you some things :)... The way I've learned to script is by reading other scripts for the most part. I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!! The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script. You also need to feel the competition that's around in the scripting-community. Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P So that's an other thing... You also don't need to be afraid to learn from others or helpfiles. When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember. Then, you must be calm, cause you need to try the script a lot of times. When I write a script, I test it after almost every changes. First I set up the major structure. Like when I make a window-script or part of a script I start with something like this:
CODE
class Window_Name < Window_Base def initialize(x,y,width,height) super(x,y,width,height) refresh end
def refresh self.contents.clear draw_contents end
def draw_contents draw_something(with, some, parameters) end
def update refresh if @something != @what_it_should_be end end
So that's also very important. Then, the biggest thing I learned scripting from is TRIAL AND ERROR. That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.
So that's it how I did it. Now it's up to you. Do some requests (if I didn't do it allready :P) and learn from them.
Hope that helped you out a little. If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials. Perhaps they're going to be usefull for you one day ;)
Group: Member
Posts: 47
Type: Artist
RM Skill: Skilled
for some reason the script doesnt like to work if I keep the @command_window.index = LOAD_COMMAND_INDEX in it lol thats line 101 without the script being edited from what you posted. Works fine without though.
I have changed it so that only one option is viewable at any one time, however, it only shows New Game, and nothing else. Also, only the top arrow shows when scrolling through the menu.
Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed
QUOTE (Quin @ Aug 28 2008, 09:25 AM)
I have a small problem with this script...
I have changed it so that only one option is viewable at any one time, however, it only shows New Game, and nothing else. Also, only the top arrow shows when scrolling through the menu.
Try press Down or Up. If that still not work, post your setup part of the script in here.
P.s. If you want to show 1 command at a time, the height of command box should be WLH (usually 24) + 32.
Group: Member
Posts: 34
Type: None
RM Skill: Skilled
Woratana how do you link the things together say if I wanted a bestairy and i had the script and everything else i've made th option 'beastairy' available from the menu screen how do I get the option to go into the bestairy and then when you close it back to the start menu?
__________________________
Team Needed for Game Map maker Skills maker Animation maker Movie maker Script maker
Please email me at Vorpal-darkness@hotmail.com If you want to aid in making Final Realm
COMMAND_WINDOW_X = 11 COMMAND_WINDOW_Y = 172 COMMAND_WINDOW_WIDTH = 378 COMMAND_WINDOW_HEIGHT = nil # Type integer, or 'nil' for autosize.
COMMAND_WINDOW_COLUMN_MAX = 1 # Type integer, minimum is 1 COMMAND_WINDOW_ROW_MAX = 1 # Type integer, or 0 for auto row count. COMMAND_WINDOW_SPACING = 32
# ** Description ** # Command Index # << Command Index start from 0. The lower index will show above higher index # 'Text' # << Text you want to show for that command, type text in '...' # 'Script' # << Script to run when player choose that command, type script in '...'
#------------------------------------------------------------------------- # ** Built-in Method # * List of built-in method, you can put this in 'Script' in Template #------------------------------------------------------------------------- # 'command_new_game' : New Game # 'command_continue' : Continue Game # 'command_shutdown' : Shut down Game
# 'scene("Scene_Name.new")' : Change Scene to 'Scene_Name.new' # e.g. 'scene("Scene_End.new")' # e.g.2 'scene("Scene_Menu.new(2)")'
# 'new(Map ID, X, Y, Members)' : New Game in specific location and members # e.g. 'new(1, 10, 8, [1,2,3])' # << New Game in Map ID 1 at coordinate (10,8) with Actor ID 1,2,3 in party # Note: You may use this method for Game Tutorial #-------------------------------------------------------------------------- COMMAND = Array.new #-------------------------------------------------------------------------- COMMAND[0] = ['New Game', 'command_new_game'] COMMAND[1] = ['Load Game', 'command_continue'] COMMAND[2] = ['End Game', 'command_shutdown']
LOAD_GAME_COMMAND_INDEX = 1 # COMMAND index that use to Load Game.
there we go... the command text does not show up, and the top arrow remains, even when scrolling
Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed
Use this, it will work ^^
CODE
COMMAND_WINDOW_X = 11 COMMAND_WINDOW_Y = 172 COMMAND_WINDOW_WIDTH = 378 COMMAND_WINDOW_HEIGHT = 56 # Type integer, or 'nil' for autosize.
COMMAND_WINDOW_COLUMN_MAX = 1 # Type integer, minimum is 1 COMMAND_WINDOW_ROW_MAX = 3 # Type integer, or 0 for auto row count. COMMAND_WINDOW_SPACING = 32
# ** Description ** # Command Index # << Command Index start from 0. The lower index will show above higher index # 'Text' # << Text you want to show for that command, type text in '...' # 'Script' # << Script to run when player choose that command, type script in '...'
#------------------------------------------------------------------------- # ** Built-in Method # * List of built-in method, you can put this in 'Script' in Template #------------------------------------------------------------------------- # 'command_new_game' : New Game # 'command_continue' : Continue Game # 'command_shutdown' : Shut down Game
# 'scene("Scene_Name.new")' : Change Scene to 'Scene_Name.new' # e.g. 'scene("Scene_End.new")' # e.g.2 'scene("Scene_Menu.new(2)")'
# 'new(Map ID, X, Y, Members)' : New Game in specific location and members # e.g. 'new(1, 10, 8, [1,2,3])' # << New Game in Map ID 1 at coordinate (10,8) with Actor ID 1,2,3 in party # Note: You may use this method for Game Tutorial #-------------------------------------------------------------------------- COMMAND = Array.new #-------------------------------------------------------------------------- COMMAND[0] = ['New Game', 'command_new_game'] COMMAND[1] = ['Load Game', 'command_continue'] COMMAND[2] = ['End Game', 'command_shutdown']
LOAD_GAME_COMMAND_INDEX = 1 # COMMAND index that use to Load Game.