Is there something like Yenfly External Links plugin for VX Ace? I only found an MV version.
VX Ace External Links
RGSS3 Script RequestsPlugin can only be used in RMMV/MZ.
In RPG Maker VX Ace, you use script.
Here is the link for some Yanfly script for VXACE in Yanfly Wordpress: https://yanflychannel.wordpress.com/rmvxa/
In RPG Maker VX Ace, you use script.
Here is the link for some Yanfly script for VXACE in Yanfly Wordpress: https://yanflychannel.wordpress.com/rmvxa/
VX Ace script of Yanfly's External Links hasn't been before. Not sure if there's an alternative
Works for me in windows 10
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Title Links ║ Version: 1.00 ║
# ║ Author: Roninator2 ║ ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function: ║ Date Created ║
# ║ Show Web Page Links ╠════════════════════╣
# ║ on title screen ║ 28 Apr 2022 ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Add links to title screen ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Terms of use: ║
# ║ Free for all RPG Maker uses ║
# ╚══════════════════════════════════════════════════════════╝
module R2_Web_Link_Title_Screen
Link_Text = "Web Page"
Link = "https://www.google.ca"
end
class Scene_Title < Scene_Base
def create_command_window
@command_window = Window_TitleCommand.new
@command_window.set_handler(:new_game, method(:command_new_game))
@command_window.set_handler(:continue, method(:command_continue))
@command_window.set_handler(:web_link, method(:command_weblink))
@command_window.set_handler(:shutdown, method(:command_shutdown))
end
def command_weblink
system('start', R2_Web_Link_Title_Screen::Link)
@command_window.activate
end
end
class Window_TitleCommand < Window_Command
def make_command_list
add_command(Vocab::new_game, :new_game)
add_command(Vocab::continue, :continue, continue_enabled)
add_command(R2_Web_Link_Title_Screen::Link_Text, :web_link)
add_command(Vocab::shutdown, :shutdown)
end
end
Here is another code, it's work fine, just change the link
credit: Modern Algebra
credit: Modern Algebra
Ruby:
#==============================================================================
# Website Launch from Title [VXA]
# Version: 1.0
# Author: modern algebra (rmrk.net)
# Date: December 11, 2011
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Description:
#
# This simple script adds the option to launch website from a command on
# the title screen. Only works in Windows, but RMVXA only runs in Windows
# anyway, so that shouldn't be a problem. With this script, you can add
# multiple commands that open different websites.
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Instructions:
#
# Paste this script into its own slot above Main and below Materials.
#
# Just go down to the configurable constants area at line 27 and read the
# instructions there to see how to set up a new website launch command.
#==============================================================================
$imported = {} unless $imported
$imported[:MAWebsiteLaunchTitle] = true
MAWLT_TITLE_WEBSITE_COMMANDS = [
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# EDITABLE REGION
#``````````````````````````````````````````````````````````````````````````````
# For each website launching command you want to include, simply add an
# array at line 45 with the following data, in the following order:
#
# ["Command Name", index, "url address"]
#
# "Command Name" is what will show up in the command window itself.
# index is an integer and it determines in what order the command appears
# "url address" is the URL opened when the command is pressed.
#
# If you wish to add more than one website command, you may, but remember to
# add a comma after all but the last array. It would look like this:
#
# ["Command Name 1", index, "url address 1"],
# ["Command Name 2", index, "url address 2"],
# ["Command Name 3", index, "url address 3"]
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
["COMMUNITY", 2, "https://www.facebook.com/groups/nobihazavietnam"]
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# END EDITABLE REGION
#//////////////////////////////////////////////////////////////////////////////
]
#==============================================================================
# ** Window_TitleCommand
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - make_command_list; update_placement
#==============================================================================
class Window_TitleCommand
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Make Command List
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_mkcommands_7yh8 make_command_list
def make_command_list(*args, &block)
ma_wlft_mkcommands_7yh8(*args, &block) # Run Original Method
MAWLT_TITLE_WEBSITE_COMMANDS.each_index { |i|
website = MAWLT_TITLE_WEBSITE_COMMANDS[i]
add_command(website[0], "website_launch_#{i}".to_sym)
@list.insert(website[1], @list.pop)
}
end
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Update Placement
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_updplace_5fh2 update_placement
def update_placement(*args, &block)
ma_wlft_updplace_5fh2(*args, &block) # Run Original Method
# Make sure title window doesn't go off screen
self.y = Graphics.height - height if self.y + height > Graphics.height
end
end
#==============================================================================
# ** Scene_Title
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - create_command_window
#==============================================================================
class Scene_Title
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Create Command Window
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_crtcmmndwin_3kj9 create_command_window
def create_command_window(*args, &block)
ma_wlft_crtcmmndwin_3kj9(*args, &block) # Run Original Method
MAWLT_TITLE_WEBSITE_COMMANDS.each_index { |i|
website = MAWLT_TITLE_WEBSITE_COMMANDS[i]
@command_window.set_handler("website_launch_#{i}".to_sym,
lambda {
Thread.new { system("start #{website[2]}") }
@command_window.activate
})
}
end
end
Code:
#==============================================================================
# Website Launch from Title [VXA]
# Version: 1.0
# Author: modern algebra (rmrk.net)
# Date: December 11, 2011
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Description:
#
# This simple script adds the option to launch website from a command on
# the title screen. Only works in Windows, but RMVXA only runs in Windows
# anyway, so that shouldn't be a problem. With this script, you can add
# multiple commands that open different websites.
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Instructions:
#
# Paste this script into its own slot above Main and below Materials.
#
# Just go down to the configurable constants area at line 27 and read the
# instructions there to see how to set up a new website launch command.
#==============================================================================
$imported = {} unless $imported
$imported[:MAWebsiteLaunchTitle] = true
MAWLT_TITLE_WEBSITE_COMMANDS = [
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
# EDITABLE REGION
#``````````````````````````````````````````````````````````````````````````````
# For each website launching command you want to include, simply add an
# array at line 45 with the following data, in the following order:
#
# ["Command Name", index, "url address"]
#
# "Command Name" is what will show up in the command window itself.
# index is an integer and it determines in what order the command appears
# "url address" is the URL opened when the command is pressed.
#
# If you wish to add more than one website command, you may, but remember to
# add a comma after all but the last array. It would look like this:
#
# ["Command Name 1", index, "url address 1"],
# ["Command Name 2", index, "url address 2"],
# ["Command Name 3", index, "url address 3"]
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
["COMMUNITY", 2, "https://www.facebook.com/groups/nobihazavietnam"]
#||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# END EDITABLE REGION
#//////////////////////////////////////////////////////////////////////////////
]
#==============================================================================
# ** Window_TitleCommand
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - make_command_list; update_placement
#==============================================================================
class Window_TitleCommand
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Make Command List
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_mkcommands_7yh8 make_command_list
def make_command_list(*args, &block)
ma_wlft_mkcommands_7yh8(*args, &block) # Run Original Method
MAWLT_TITLE_WEBSITE_COMMANDS.each_index { |i|
website = MAWLT_TITLE_WEBSITE_COMMANDS[i]
add_command(website[0], "website_launch_#{i}".to_sym)
@list.insert(website[1], @list.pop)
}
end
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Update Placement
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_updplace_5fh2 update_placement
def update_placement(*args, &block)
ma_wlft_updplace_5fh2(*args, &block) # Run Original Method
# Make sure title window doesn't go off screen
self.y = Graphics.height - height if self.y + height > Graphics.height
end
end
#==============================================================================
# ** Scene_Title
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - create_command_window
#==============================================================================
class Scene_Title
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Create Command Window
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_wlft_crtcmmndwin_3kj9 create_command_window
def create_command_window(*args, &block)
ma_wlft_crtcmmndwin_3kj9(*args, &block) # Run Original Method
MAWLT_TITLE_WEBSITE_COMMANDS.each_index { |i|
website = MAWLT_TITLE_WEBSITE_COMMANDS[i]
@command_window.set_handler("website_launch_#{i}".to_sym,
lambda {
Thread.new { system("start #{website[2]}") }
@command_window.activate
})
}
end
end
Here
You also just need to edit your post, not make a new one. But thanks.
This prevents any issues with the forum turning some of the code into smiley faces.
Also when posting the code you can select the specific type of code. In my example it's set to ruby.
In the code box it's called language.
Ok. Thanks really much.
I've moved this thread to RGSS3 Script Requests. Thank you.
Thanks everybody. DateMajima and Roninator2 would you mind if I use your script in my project? Giving you the credits of corse. If it is ok, I will just use the one I thinks works best.
The terms of use is in the script.
That's not our script, my script is from modern algebra, so you have to credit him/her(if your game is non-commerical. If it's commerical... I'm not sure)
Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-external-links.147118/