07-18-2009, 09:28 PM
(This post was last modified: 09-02-2024, 05:57 PM by DerVVulfman.)
Game Strings
Version: 1.1
Version: 1.1
Introduction
This script pretty much attempts to help the developer streamline dialogue by allowing the developer to set up strings.
Features
- Set the value of each string.
- Change strings in-game using $game_strings[id] = value with call script.
- Use strings in messages with the \st[id] command.
- Use strings in item/skills/equipment descriptions with the \st[id] command. (A last minute feature)
Screenshots
Really early screenshot
Screenshot 2
Set of screenshots of the messages
Strings getting parsed in equipment descriptions.
Demo
Game Strings.zip (Size: 257.1 KB / Downloads: 7)
Script
The script cannot fit into this post. Download the demo.
Instructions
Setting up the strings:
To set up the strings, jump to line #261 or wherever "def customize" may be and start setting them up.
Changing strings in-game:
Call Script: $game_strings[id] = value
Using strings in your messages:
Type \st[id]
Note that you may also use the \st[id] command for descriptions of items, skills and equipment.
The string ids that need to fetch data/variables:
Please include the id of a string that does this so it can constantly update. It's in the Game_Strings_Update array located in the PK8 class.
FAQ
I don't want to use the preset strings!
Then don't use them?
Compatibility
This script aliases...
- set - Game_Strings (my own custom class)
- set_text - Window_Help < Window_Base
- convert_special_characters - Window_Message < Window_Selectable
- update - Scene_Base
- create_game_objects - Scene_Title < Scene_Base
- write_save_data - Scene_File < Scene_Base
- read_save_data - Scene_File < Scene_Base
Credits and Thanks
I don't know who to thank, I've forgotten who to thank since I've worked on this for pretty much a week now.
Thanks Lowell/Wulfspade for talking about adding the ability to parse the string command into descriptions of items/equipment/skills.
Author's Notes
I'm not exactly sure what made me want to go ahead and script this. I guess it all started when I was checking to see if I could create strings via Game Variables which I was able to. But then I wanted to make it it's own thing. Just a separate place to hold game strings. I would really like to make a RMXP version of this someday but I can't. :(
Terms and Conditions
This is exclusive to RMVXP.