Hm, I don't see anything bad about this. Could you show me a screenshot about your event page so I can see how did you setup the choice?
External Text v3.3.4 (Write your game in an organized manner! Translate with ease!)
RGSS3 Scripts (RMVX Ace)My bad, I used text instead of show_choices in the script call. Now everything is fine. Thank you for your help @J_C
Hi!
Very nice script indeed!
Btw, how would translate stuff from the Terms tab in the Database?
Stuff like: Start, Load, Quit, To the title, etc...
Hope you reply.
The007who
Very nice script indeed!
Btw, how would translate stuff from the Terms tab in the Database?
Stuff like: Start, Load, Quit, To the title, etc...
Hope you reply.
The007who
I could be blind, but I cannot find the script to view it. Is it no longer available?
Keep getting error:
Script 'Game Interpreter' line 1411: NoMethodError occured.
undefined method `< <' for nil:NilClass
Please help!
Script 'Game Interpreter' line 1411: NoMethodError occured.
undefined method `< <' for nil:NilClass
Please help!
@dragon_slayer Did you use an existing save file to test this? That is the most usual reason for getting a NoMethodError. When you install a new script you almost always have to start your play test again from 'New Game'. That is because the script is calling for data which does not exist in your old save file.
"Game interpreter" in that error message means that this error is happening in an event, not in the scripts themselves. And the Rest of the message looks as if this is either inside a script command or inside a script line of a conditional branch or control variable.
Both indicate that the error might not even come from this script, unless you were trying to access one of its few script functions.
Can you give us a Screenshot of the event that is supposed to run when the message pops up?
Both indicate that the error might not even come from this script, unless you were trying to access one of its few script functions.
Can you give us a Screenshot of the event that is supposed to run when the message pops up?
The main event:
I noticed that the error occurs in the common event Language Select
Thanks for the help
I noticed that the error occurs in the common event Language Select
Thanks for the help
You're using the multilanguage addon for this.
Unfortunately I can't even find that add-on on the ses page anymore, can you give a link to it as well?
Unfortunately I can't even find that add-on on the ses page anymore, can you give a link to it as well?
Here:
#--
# External Text: MultiLang v2.1.0 by Enelvon
# =============================================================================
#
# Summary
# -----------------------------------------------------------------------------
# This script allows you to have multiple languages in your game. The user
# can swap between them, and the game will remember which language was last
# selected in between gaming sessions.
#
# Compatibility Information
# -----------------------------------------------------------------------------
# **Required Scripts:**
# SES - External Text v3.1.0 or higher
#
# **Known Incompatibilities:**
# None.
#
# Usage
# -----------------------------------------------------------------------------
# Create a directory named Text in the Data folder for your project. Inside of
# this directory, create a new directory with the name of each language that you
# intend to include in your project -- make sure to add the names of these
# directories to the Languages array in SES::ExternalText. Any text files that
# you place in these language directories will be read into the project, so feel
# free to organize them however you'd like! You can even add subfolders to the
# language folders. The only thing that you *need* to do is use the same keys
# in each language -- if you don't, the game won't know where to look for text
# in alternate languages!
#
# Note that each language can (and probably should) have different text for
# the language select screen. The default is in English, obviously. To change
# it, create a key in the language's file called
#
# `Language Select`
#
# Make sure it's spelled exactly the same way, space and capitalization
# included. The text you use for this key will be displayed when selecting
# languages with that language as the current game language.
#
# Script Calls
# -----------------------------------------------------------------------------
# To call the language selection scene, use this:
#
# `SceneManager.call(Scene_LanguageSelect)`
#
# You can use it on the map, or add it to a menu of some kind. Your choice.
#
# New Methods
# -----------------------------------------------------------------------------
# * `module DataManager`
# - `self.check_language`
# - `self.set_language`
#
#
# DataManager.set_language("English")
#
#
#
#DataManager.check_language == "English" # Returns true if the current language is set to English
#DataManager.check_language != "Italian" # Returns true if the current language is not set to Italian.
#
#
#
# License
# -----------------------------------------------------------------------------
# This script is made available under the terms of the MIT Expat license.
# View [this page](http://sesvxace.wordpress.com/license/) for more detailed
# information.
#
# Installation
# -----------------------------------------------------------------------------
# Put this script below Materials and above Main. It must also be below
# SES - External Text v3.1.0 or higher.
#
#++
module SES
# ExternalText
# ===========================================================================
# Module containing configuration information for the External Text script.
module ExternalText
# Array of languages present in the game.
Languages = ["English", "French", "German", "Spanish", "Italian", "Polish", "Russian", "Japanese"]
end
end
$imported ||= {}
if !$imported["SES - External Text"] ||
$imported["SES - External Text"] < '3.1.0'
raise("You need SES - External Text v3.1.0 or higher to use SES - MultiLang.")
end
$imported["SES - MultiLang"] = '2.1.0'
# DataManager
# =============================================================================
# The singleton class of the default RPG Maker module for handling data.
class << DataManager
# Checks what language the game should launch with.
#
# @return [String] the name of the default language
def check_language
language = SES::ExternalText::Languages[0]
File.open("Game.ini", "r:BOM|UTF-8") do |f|
f.readlines.each do |line|
begin
if line =~ /Language=(\w+)/
language = $1 if SES::ExternalText::Languages.include?($1)
end
rescue
end
end
end
language
end
# Serializes all languages txt files to rvdata2 files, allowing them to be
# read from inside an encrypted archive.
#
# @return [void]
def create_text
$game_text = {}
text = {}
key = ""
SES::ExternalText::Languages.each do |l|
$game_text.clear
SES::ExternalText.each_file("Data/Text/#{l}") do |f|
File.open(f, "r:BOM|UTF-8") do |file|
file.readlines.each_with_index do |v,i|
next if v =~ /(^\s*(#|\/\/).*|^\s*$)/
SES::ExternalText::Tags.each_pair do |k,p|
if v =~ k
p.call(*$~[1..-1])
v.clear
end
end
if SES::ExternalText.key && !v.empty?
v = "\n#{v}" unless $game_text[SES::ExternalText.key][1].empty?
$game_text[SES::ExternalText.key][1] << v
end
end
end
end
File.open("Data/#{l}.rvdata2", "w") do |file|
Marshal.dump($game_text, file)
end
end
end
# Loads the game's databases.
#
# @return [void]
def load_normal_database
en_et_dm_lnd
if FileTest.directory?("Data/Text/#{SES::ExternalText::Languages[0]}")
create_text
end
$game_text = load_data("Data/#{check_language}.rvdata2")
end
# Loads the game's databases for a battle test.
#
# @return [void]
def load_battle_test_database
en_et_dm_lbd
if FileTest.directory?("Data/Text/#{SES::ExternalText::Languages[0]}")
create_text
end
$game_text = load_data("Data/#{check_language}.rvdata2")
end
# Changes the default language.
#
# @return [void]
def set_language(language)
lines = File.read("Game.ini")
lines.gsub!(/Language=(\w+)/) { "Language=#{language}" }
lines << "Language=#{language}\n" if !lines.include?("Language=#{language}")
File.open("Game.ini", "w") { |f| f.write(lines) }
$game_text = load_data("Data/#{language}.rvdata2")
end
end
# Window_LanguageSelect
# =============================================================================
# The main window for the bare-bones language selection scene.
class Window_LanguageSelect < Window_Command
# Creates a new instance of Window_LanguageSelect.
#
# @return [Window_LanguageSelect] a new instance of Window_LanguageSelect
def initialize
super((Graphics.width - window_width) / 2,
(Graphics.height - window_height) / 2)
end
# The number of lines to display at once in the window.
#
# @return [Integer] the number of lines to display ato nce
def visible_line_number
[SES::ExternalText::Languages.size, 8].min
end
# The name of the language at the given index
#
# @return [String] the name of the language at the given index
def command_name(index)
@list[index]
end
# Whether or not the currently selected language is enabled.
#
# @return [TrueClass] always true
def current_item_enabled?
true
end
# Whether or not the currently selected language is enabled.
#
# @return [TrueClass] always true
def command_enabled?(index)
true
end
# Whether or not the user can select a language.
#
# @return [TrueClass] always true
def ok_enabled?
true
end
# Processing for when the user selects a language.
#
# @return [void]
def call_ok_handler
DataManager.set_language(command_name(@index))
activate
end
# Gets the list of languages to display.
#
# @return [void]
def make_command_list
@list = SES::ExternalText::Languages
end
end
# Scene_LanguageSelect
# =============================================================================
# A bare-bones language selection scene.
class Scene_LanguageSelect < Scene_Base
# Initial processing for the scene.
#
# @return [void]
def start
super
create_background
@text_window = Window_Help.new(1)
set_help_text
@select_window = Window_LanguageSelect.new
end
# Creates the background for the scene.
#
# @return [void]
def create_background
@background = Sprite.new
@background.bitmap = SceneManager.background_bitmap
end
# Sets the help text for the current language.
#
# @return [void]
def set_help_text
@text_window.set_text(SES::ExternalText.get_text("Language Select") ||
"Select a language from the list.")
end
# Updates the scene.
#
# @return [void]
def update
super
set_help_text
SceneManager.return if Input.trigger?🙂😎
end
# Clears the scene.
#
# @return [void]
def terminate
Graphics.freeze
dispose_all_windows
end
end
# External Text: MultiLang v2.1.0 by Enelvon
# =============================================================================
#
# Summary
# -----------------------------------------------------------------------------
# This script allows you to have multiple languages in your game. The user
# can swap between them, and the game will remember which language was last
# selected in between gaming sessions.
#
# Compatibility Information
# -----------------------------------------------------------------------------
# **Required Scripts:**
# SES - External Text v3.1.0 or higher
#
# **Known Incompatibilities:**
# None.
#
# Usage
# -----------------------------------------------------------------------------
# Create a directory named Text in the Data folder for your project. Inside of
# this directory, create a new directory with the name of each language that you
# intend to include in your project -- make sure to add the names of these
# directories to the Languages array in SES::ExternalText. Any text files that
# you place in these language directories will be read into the project, so feel
# free to organize them however you'd like! You can even add subfolders to the
# language folders. The only thing that you *need* to do is use the same keys
# in each language -- if you don't, the game won't know where to look for text
# in alternate languages!
#
# Note that each language can (and probably should) have different text for
# the language select screen. The default is in English, obviously. To change
# it, create a key in the language's file called
#
# `Language Select`
#
# Make sure it's spelled exactly the same way, space and capitalization
# included. The text you use for this key will be displayed when selecting
# languages with that language as the current game language.
#
# Script Calls
# -----------------------------------------------------------------------------
# To call the language selection scene, use this:
#
# `SceneManager.call(Scene_LanguageSelect)`
#
# You can use it on the map, or add it to a menu of some kind. Your choice.
#
# New Methods
# -----------------------------------------------------------------------------
# * `module DataManager`
# - `self.check_language`
# - `self.set_language`
#
#
# DataManager.set_language("English")
#
#
#
#DataManager.check_language == "English" # Returns true if the current language is set to English
#DataManager.check_language != "Italian" # Returns true if the current language is not set to Italian.
#
#
#
# License
# -----------------------------------------------------------------------------
# This script is made available under the terms of the MIT Expat license.
# View [this page](http://sesvxace.wordpress.com/license/) for more detailed
# information.
#
# Installation
# -----------------------------------------------------------------------------
# Put this script below Materials and above Main. It must also be below
# SES - External Text v3.1.0 or higher.
#
#++
module SES
# ExternalText
# ===========================================================================
# Module containing configuration information for the External Text script.
module ExternalText
# Array of languages present in the game.
Languages = ["English", "French", "German", "Spanish", "Italian", "Polish", "Russian", "Japanese"]
end
end
$imported ||= {}
if !$imported["SES - External Text"] ||
$imported["SES - External Text"] < '3.1.0'
raise("You need SES - External Text v3.1.0 or higher to use SES - MultiLang.")
end
$imported["SES - MultiLang"] = '2.1.0'
# DataManager
# =============================================================================
# The singleton class of the default RPG Maker module for handling data.
class << DataManager
# Checks what language the game should launch with.
#
# @return [String] the name of the default language
def check_language
language = SES::ExternalText::Languages[0]
File.open("Game.ini", "r:BOM|UTF-8") do |f|
f.readlines.each do |line|
begin
if line =~ /Language=(\w+)/
language = $1 if SES::ExternalText::Languages.include?($1)
end
rescue
end
end
end
language
end
# Serializes all languages txt files to rvdata2 files, allowing them to be
# read from inside an encrypted archive.
#
# @return [void]
def create_text
$game_text = {}
text = {}
key = ""
SES::ExternalText::Languages.each do |l|
$game_text.clear
SES::ExternalText.each_file("Data/Text/#{l}") do |f|
File.open(f, "r:BOM|UTF-8") do |file|
file.readlines.each_with_index do |v,i|
next if v =~ /(^\s*(#|\/\/).*|^\s*$)/
SES::ExternalText::Tags.each_pair do |k,p|
if v =~ k
p.call(*$~[1..-1])
v.clear
end
end
if SES::ExternalText.key && !v.empty?
v = "\n#{v}" unless $game_text[SES::ExternalText.key][1].empty?
$game_text[SES::ExternalText.key][1] << v
end
end
end
end
File.open("Data/#{l}.rvdata2", "w") do |file|
Marshal.dump($game_text, file)
end
end
end
# Loads the game's databases.
#
# @return [void]
def load_normal_database
en_et_dm_lnd
if FileTest.directory?("Data/Text/#{SES::ExternalText::Languages[0]}")
create_text
end
$game_text = load_data("Data/#{check_language}.rvdata2")
end
# Loads the game's databases for a battle test.
#
# @return [void]
def load_battle_test_database
en_et_dm_lbd
if FileTest.directory?("Data/Text/#{SES::ExternalText::Languages[0]}")
create_text
end
$game_text = load_data("Data/#{check_language}.rvdata2")
end
# Changes the default language.
#
# @return [void]
def set_language(language)
lines = File.read("Game.ini")
lines.gsub!(/Language=(\w+)/) { "Language=#{language}" }
lines << "Language=#{language}\n" if !lines.include?("Language=#{language}")
File.open("Game.ini", "w") { |f| f.write(lines) }
$game_text = load_data("Data/#{language}.rvdata2")
end
end
# Window_LanguageSelect
# =============================================================================
# The main window for the bare-bones language selection scene.
class Window_LanguageSelect < Window_Command
# Creates a new instance of Window_LanguageSelect.
#
# @return [Window_LanguageSelect] a new instance of Window_LanguageSelect
def initialize
super((Graphics.width - window_width) / 2,
(Graphics.height - window_height) / 2)
end
# The number of lines to display at once in the window.
#
# @return [Integer] the number of lines to display ato nce
def visible_line_number
[SES::ExternalText::Languages.size, 8].min
end
# The name of the language at the given index
#
# @return [String] the name of the language at the given index
def command_name(index)
@list[index]
end
# Whether or not the currently selected language is enabled.
#
# @return [TrueClass] always true
def current_item_enabled?
true
end
# Whether or not the currently selected language is enabled.
#
# @return [TrueClass] always true
def command_enabled?(index)
true
end
# Whether or not the user can select a language.
#
# @return [TrueClass] always true
def ok_enabled?
true
end
# Processing for when the user selects a language.
#
# @return [void]
def call_ok_handler
DataManager.set_language(command_name(@index))
activate
end
# Gets the list of languages to display.
#
# @return [void]
def make_command_list
@list = SES::ExternalText::Languages
end
end
# Scene_LanguageSelect
# =============================================================================
# A bare-bones language selection scene.
class Scene_LanguageSelect < Scene_Base
# Initial processing for the scene.
#
# @return [void]
def start
super
create_background
@text_window = Window_Help.new(1)
set_help_text
@select_window = Window_LanguageSelect.new
end
# Creates the background for the scene.
#
# @return [void]
def create_background
@background = Sprite.new
@background.bitmap = SceneManager.background_bitmap
end
# Sets the help text for the current language.
#
# @return [void]
def set_help_text
@text_window.set_text(SES::ExternalText.get_text("Language Select") ||
"Select a language from the list.")
end
# Updates the scene.
#
# @return [void]
def update
super
set_help_text
SceneManager.return if Input.trigger?🙂😎
end
# Clears the scene.
#
# @return [void]
def terminate
Graphics.freeze
dispose_all_windows
end
end
Sorry for necroposting, but I'm having some trouble with this.
When using the External Database, the long texts like the Actor or Item descriptions appear on a single line.
I've done line breaks on the .txt file, but that won´t work either.
With the regular text, both auto-wrapping and manual line breaks work.
In case it was a problem with another script, I created a New Project with only SES, Core, External Text and External Database scripts and the problem is still there.
Has anyone else this problem or knows a way to fix it?
When using the External Database, the long texts like the Actor or Item descriptions appear on a single line.
I've done line breaks on the .txt file, but that won´t work either.
With the regular text, both auto-wrapping and manual line breaks work.
In case it was a problem with another script, I created a New Project with only SES, Core, External Text and External Database scripts and the problem is still there.
Has anyone else this problem or knows a way to fix it?
there is no necroposting here, that rule only counts for support topics and not forpresentation topics like this one.
Which way did you use for creating linebreaks? And please give a link to the external database script as well as the order you placed all scripts in your script editor.
The behaviour depends on how the external database script handles the lines...
The External Database is that.
I've placed the Scripts from top to bottom in this order: Core, External Text and External Database.
And for line break I just hit Enter.
I've placed the Scripts from top to bottom in this order: Core, External Text and External Database.
And for line break I just hit Enter.
I'm just guessing here, but have you tried to use the line code for the new line? It is from an older version but should still work, and that might be all it needs for this case
Yep, already tried that and it doesn't work.
Set a variable at the start of the game to equal a script:
"\n", then refer to the variable in your text keys.example:
Code:
[Key] Item_73_description
A magnificent elixir. \v[99]Revives an ally!
This topic is very old but i had a similar problem.
I was using the scripts in this exact order:
Core v2.4 by Solistra and Enelvon
External Text v3.3.4 by Enelvon
External Text: MultiLang v2.1.0 by Enelvon
External Text: Database v1.1.1 by Enelvon
I followed this instruction that came in the script:
Create a directory named Text in the Data folder for your project. Inside of this directory, create a text file.
But i was getting an error.
The error showed was:
Script 'Game Interpreter' line 1411: NoMethodError occured.
undefined method `[]' for nil:NilClass
After some trials and errors i found an solution:
I created a folder named English in the Data folder and put the text file inside the English folder, after that the script worked.
Maybe because of the MultiLang script, the original script was searching for the language folder that was supposed to accessed since MultiLang needs folders with the language names, and English is the standard language for the script.
After that i wanted to show the step by step that i used to intall and use this script to help others with the same problem.
1_First_Download the scripts
1.1_Go to https://github.com/SyncGM
1.2_Search the Core and External Text Repositories(Inside you will find the scripts and the licenses for their use, make sure to read the licenses and give credit to the authors of this scripts in your project)
1.3_In this repositories you want this links(this are the link to the scripts):
github.com
github.com
github.com
github.com
1.4_Create text files in your computer where you like and with the name you like, one for each script
1.5_Acces the links above, in the pages you will see numbers on the left collun starting from 1 and increasing and in the right you will find the text code. Make sure to copy the whole text code in text files you created
2_Second_Installing the scrips in RPG Maker VX Ace:
2.1_Go to Tools, Script Editor(or click F11 shortcut button)
2.2_In the left side scroll thil finding the Materials topic, below materials you se written ( Insert here )
2.3_In the blanck space below ( Insert here ) and above Main, click with the right mouse button and choose Insert(or click Ins shortcut button) to create a space for a script
2.4_Click on the new blanck space to select it
2.5_Copy all the text code of the script, from the text file that you created, in the white area on the right
2.6_Put a name in the script by writing the name in the Name box in the lower left(Im not sure about that, but seens that the plugin name dont affect how it works, so put in the best way for you to remember and recognize it in the list)
2.7_Insert the plugins in this exact order:
Core v2.4 by Solistra and Enelvon
External Text v3.3.4 by Enelvon
External Text: MultiLang v2.1.0 by Enelvon
External Text: Database v1.1.1 by Enelvon
2.8_Now the scrips are installed
3_Third_Create the needed folders and text files
3.1_Go to where your game project was created, you will find in a RPG Maker VX Ace folder with the name of your project inside.(If you dont remember where your game project was saved click in Archive, New Project or click Ctrl+N, if you created the game project in the sugested folder then your actual project will likly be in the same folder)
3.2_Go in the folder with the name of your game
3.3_Go in the Data folder
3.4_Inside the Data folder create an folder called Text
3.5_Go in the Text folder
3.6_Inside the Text folder create an folder called English
3.7_Go in the English Folder
3.8_Create a text file with the name that you like(this text file is where the script will search for the texts)
4_Fourth_Testing if everything worked
using an adaptation of the example of J_C(Example created by J_C)
link to the example:
forums.rpgmakerweb.com
4.1_You write this into the text file created in the English Folder:
[Key] Ryan_dialogue1
Hello, my name is Ryan.
4.2_Save the text file
4.3_Then, in the RPG Maker VX Ace, call a script in an event (it's on the 3rd page of the events window), and write this into the script windows:
text("Ryan_dialogue1")
4.4_If everything worked then the text Hello, my name is Ryan. will show in the screen.
5_Fifth_If everything worked, how to use the commands
5.1_In the 4_Fourth Step you see what needs to be put in the text file and how to use the command text.
5.2_When you write the text file inside the english folder you need to write:
[key]thenameofyourkey
the text you want to show
5.3_You need an key to every diferent part of text you use in your game(Every key needs to be unique, you can have multiple text files with keys and texts but make sure that every key is unique)
5.4_In the RPG Maker VX Ace you show your texts in the game using the command to call a script in an event(it's on the 3rd page of the events window), and write this into the script windows:
text("thenameofyourkey")
5.5_The command text will show in the screen what is writen below the [key] line in the text file
Not sure if will work for everyone but this worked for me.
Obs:If anyone wants to transform this step by step guide into a video please feel free to do.
That would help others.
Im not into creating videos so i will let the instructions here in this text.
Make sure to read the licenses and give credit to the authors of this scripts in your project.
I was using the scripts in this exact order:
Core v2.4 by Solistra and Enelvon
External Text v3.3.4 by Enelvon
External Text: MultiLang v2.1.0 by Enelvon
External Text: Database v1.1.1 by Enelvon
I followed this instruction that came in the script:
Create a directory named Text in the Data folder for your project. Inside of this directory, create a text file.
But i was getting an error.
The error showed was:
Script 'Game Interpreter' line 1411: NoMethodError occured.
undefined method `[]' for nil:NilClass
After some trials and errors i found an solution:
I created a folder named English in the Data folder and put the text file inside the English folder, after that the script worked.
Maybe because of the MultiLang script, the original script was searching for the language folder that was supposed to accessed since MultiLang needs folders with the language names, and English is the standard language for the script.
After that i wanted to show the step by step that i used to intall and use this script to help others with the same problem.
1_First_Download the scripts
1.1_Go to https://github.com/SyncGM
1.2_Search the Core and External Text Repositories(Inside you will find the scripts and the licenses for their use, make sure to read the licenses and give credit to the authors of this scripts in your project)
1.3_In this repositories you want this links(this are the link to the scripts):
core/lib/core.rb at master · SyncGM/core
Provides the basic foundation for all SES scripts written by Enelvon and Solistra. - SyncGM/core
external-text/lib/external-text.rb at master · SyncGM/external-text
This script allows you to create text files and use their contents in the in-game database and message windows. - SyncGM/external-text
external-text/lib/addons/multi-lang/multi-lang.rb at master · SyncGM/external-text
This script allows you to create text files and use their contents in the in-game database and message windows. - SyncGM/external-text
external-text/lib/addons/external-text-database/external-text-database.rb at master · SyncGM/external-text
This script allows you to create text files and use their contents in the in-game database and message windows. - SyncGM/external-text
1.5_Acces the links above, in the pages you will see numbers on the left collun starting from 1 and increasing and in the right you will find the text code. Make sure to copy the whole text code in text files you created
2_Second_Installing the scrips in RPG Maker VX Ace:
2.1_Go to Tools, Script Editor(or click F11 shortcut button)
2.2_In the left side scroll thil finding the Materials topic, below materials you se written ( Insert here )
2.3_In the blanck space below ( Insert here ) and above Main, click with the right mouse button and choose Insert(or click Ins shortcut button) to create a space for a script
2.4_Click on the new blanck space to select it
2.5_Copy all the text code of the script, from the text file that you created, in the white area on the right
2.6_Put a name in the script by writing the name in the Name box in the lower left(Im not sure about that, but seens that the plugin name dont affect how it works, so put in the best way for you to remember and recognize it in the list)
2.7_Insert the plugins in this exact order:
Core v2.4 by Solistra and Enelvon
External Text v3.3.4 by Enelvon
External Text: MultiLang v2.1.0 by Enelvon
External Text: Database v1.1.1 by Enelvon
2.8_Now the scrips are installed
3_Third_Create the needed folders and text files
3.1_Go to where your game project was created, you will find in a RPG Maker VX Ace folder with the name of your project inside.(If you dont remember where your game project was saved click in Archive, New Project or click Ctrl+N, if you created the game project in the sugested folder then your actual project will likly be in the same folder)
3.2_Go in the folder with the name of your game
3.3_Go in the Data folder
3.4_Inside the Data folder create an folder called Text
3.5_Go in the Text folder
3.6_Inside the Text folder create an folder called English
3.7_Go in the English Folder
3.8_Create a text file with the name that you like(this text file is where the script will search for the texts)
4_Fourth_Testing if everything worked
using an adaptation of the example of J_C(Example created by J_C)
link to the example:
External Text v3.3.4 (Write your game in an organized manner! Translate with ease!)
Hi! I get a strange error message, when I change the ChoiceReplaceMessageBox option to "never" or "always". When a choice window should be displayed, i get a crash like this: And another one. Here is my text code for a choices screen: [Key] 5_RasinAsking [Default Choice] 0 Remind...
forums.rpgmakerweb.com
[Key] Ryan_dialogue1
Hello, my name is Ryan.
4.2_Save the text file
4.3_Then, in the RPG Maker VX Ace, call a script in an event (it's on the 3rd page of the events window), and write this into the script windows:
text("Ryan_dialogue1")
4.4_If everything worked then the text Hello, my name is Ryan. will show in the screen.
5_Fifth_If everything worked, how to use the commands
5.1_In the 4_Fourth Step you see what needs to be put in the text file and how to use the command text.
5.2_When you write the text file inside the english folder you need to write:
[key]thenameofyourkey
the text you want to show
5.3_You need an key to every diferent part of text you use in your game(Every key needs to be unique, you can have multiple text files with keys and texts but make sure that every key is unique)
5.4_In the RPG Maker VX Ace you show your texts in the game using the command to call a script in an event(it's on the 3rd page of the events window), and write this into the script windows:
text("thenameofyourkey")
5.5_The command text will show in the screen what is writen below the [key] line in the text file
Not sure if will work for everyone but this worked for me.
Obs:If anyone wants to transform this step by step guide into a video please feel free to do.
That would help others.
Im not into creating videos so i will let the instructions here in this text.
Make sure to read the licenses and give credit to the authors of this scripts in your project.
Original thread: https://forums.rpgmakerweb.com/threads/external-text-v3-3-4-write-your-game-in-an-organized-manner-translate-with-ease.6608/