[Release] Teleport and Escape System - RPGMaker 2003 Style, I missed these in RPGMaker VX |
|
|
|
|
Mar 24 2008, 08:00 AM
|
Level 7

Group: Member
Posts: 91
Type: Developer
RM Skill: Skilled

|
Title: Teleport and Escape System - RPGMaker 2003 Style Current Version: 1.01 Author: StorymasterQ Released Date: March 26, 2008 Information: Reintroduces Teleport and Escape from RPGMaker2003, where you can set one coordinate for escape and several for teleport. When invoked, Escape will teleport the player to the Escape coordinate. Invoking Teleport will open a window with set teleport targets, to where players can choose to where they will be teleported. Features: - Can set/unset 1 Escape Point - Can set/unset multiple Teleport Targets - Can enable/disable/toggle/get enabled status, separate for Escape and Teleport - Can get enabled status to be used from Conditional Branch, separate for Escape and Teleport Version HistoryVersion 1.01- Added Teleport Window customization - Added code to include the escape and teleport targets in save files Version 1.00- Initial release Instructions: Put each of the scripts on their own pages above Main. Detailed instructions are in the scripts, added here for convenience. CODE #=============================================================== =============== # StorymasterQ's Teleport System v1.0 #------------------------------------------------------------------------------ # Trying to copy RPGMaker2003's Teleport System as faithfully as possible #------------------------------------------------------------------------------ # USAGE #------------------------------------------------------------------------------ # To add a teleport target, from event call # $skew_tele.add(map_id, x_coord, y_coord, facing, target_name, sw_id) # where: # map_id = ID of the target map # x_coord = X coordinate on the target map # y_coord = Y coordinate on the target map # facing = (Optional) Character facing after teleport, omit to retain # target_name = (Optional) Target text. If omitted, will use map name # sw_id = (Optional) Switch ID to turn ON after teleport #------------------------------------------------------------------------------ # To remove a teleport target, from event call # $skew_tele.remove(map_id, x_coord, y_coord) # where: # map_id = ID of the target map # x_coord = X coordinate on the target map # y_coord = Y coordinate on the target map #------------------------------------------------------------------------------ # To show the teleport target windows, from event call $skew_tele.show # Upon selection of a teleport target, the Player will be teleported to the # target immediately. # If no teleport targets have been added, $skew_tele.show does nothing #------------------------------------------------------------------------------ # To enable teleportation, call the $skew_tele.enable # To disable, call $skew_tele.disable # To switch between enabled and disabled, call $skew_tele.toggle # Default is enabled. When disabled, $skew_tele.show does nothing #------------------------------------------------------------------------------ # To set a switch on the current teleport ability, from event call # $skew_tele.isenabled(switch_id) # where: # switch_id = Switch ID to be set TRUE if teleportation is enabled, # FALSE otherwise # To check the current teleport ability in a Conditional Branch, call # $skew_tele.isenabled() # from the Conditional Branch Script field #============================================================================== CODE #=============================================================== =============== # StorymasterQ's Escape System v1.0 #------------------------------------------------------------------------------ # Trying to copy RPGMaker2003's Escape System as faithfully as possible #------------------------------------------------------------------------------ # USAGE #------------------------------------------------------------------------------ # To set the escape target, from event, call # $skew_escape.set(map_id, x_coord, y_coord, facing, switch) where: # map_id = ID of the target map or area # x_coord = X coordinate on the target map or area # y_coord = Y coordinate on the target map or area # facing = (Optional) Character facing after escape, omit to retain # sw_id = (Optional) Switch ID to turn ON after escape #------------------------------------------------------------------------------ # To unset the escape target, from event, call # $skew_escape.unset # If the escape target is not set, $skew_escape.unset does nothing #------------------------------------------------------------------------------ # To go to the set escape target, from event, call # $skew_escape.go # If the escape target is not set or escaping is disabled, $skew_escape.go # does nothing #------------------------------------------------------------------------------ # To enable escaping, call $skew_escape.enable # To disable escaping, call $skew_escape.disable # To toggle escaping, call $skew_escape.toggle # If escaping is disabled, $skew_escape.go does nothing. Default is enabled #------------------------------------------------------------------------------ # To set a switch on the current escape ability, from event call # $skew_escape.isenabled(switch_id) # where: # switch_id = (Optional) Switch ID to be set TRUE if escape is enabled, # FALSE otherwise. # To check the current escape ability in a Conditional Branch, call # $skew_escape.isenabled() # from the Conditional Branch Script field #============================================================================== Also, the teleport system has a few customizable settings CODE #-------------------------------------------------------------------------- # START SCRIPT CUSTOMIZATION #-------------------------------------------------------------------------- # The width of the teleport window TELEPORT_WINDOW_WIDTH = 272 # Number of targets shown on the teleport window TELEPORT_WINDOW_SHOWN_TARGETS = 3 # Title of the teleport window TELEPORT_WINDOW_TITLE = "Teleport" # Teleport window horizontal offset TELEPORT_WINDOW_X_OFFSET = 0 # Teleport window vertical offset TELEPORT_WINDOW_Y_OFFSET = 0 # Dim map window when teleport window is showing TELEPORT_WINDOW_DIM_MAP = false #-------------------------------------------------------------------------- # END SCRIPT CUSTOMIZATION #-------------------------------------------------------------------------- Script Link: Teleport SystemScript Link: Escape SystemDemo Link: Escape and Teleport DemoAuthor's Notes: Made a beginner scripter error when I forgot to put the code to include set targets in save files  Won't happen again. Also, I decided to redo this post to make it more professional looking.
This post has been edited by storymasterq: Mar 26 2008, 09:20 AM
__________________________
Current Skills: Writing(Str) Lv. 4, Writing(Evt) Lv. 4, Scripting Lv. 3, Mapping Lv. 1, Spriting Lv. 0, Composing Lv. 0 Currently expanding: Scripting QUOTE (Arthur C. Clarke) We have to abandon the idea that schooling is something restricted to youth. How can it be, in a world where half the things a man knows at 20 are no longer true at 40 - and half the things he knows at 40 hadn't been discovered when he was 20? (link)
|
|
|
|
|
|
|
|
|
Mar 25 2008, 07:04 AM
|
Level 7

Group: Member
Posts: 91
Type: Developer
RM Skill: Skilled

|
Oh, definitely! Free to use for any project, free or otherwise. A credit in the project is all I need. Any form of credit.
Even Republic Credits will do fine!
Cheers, SQ
__________________________
Current Skills: Writing(Str) Lv. 4, Writing(Evt) Lv. 4, Scripting Lv. 3, Mapping Lv. 1, Spriting Lv. 0, Composing Lv. 0 Currently expanding: Scripting QUOTE (Arthur C. Clarke) We have to abandon the idea that schooling is something restricted to youth. How can it be, in a world where half the things a man knows at 20 are no longer true at 40 - and half the things he knows at 40 hadn't been discovered when he was 20? (link)
|
|
|
|
|
|
|
|
|
Jun 7 2008, 07:01 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
Sorry for bumping such an old topic but I have a problem.
When trying to use $skew_escape.disable ingame, I get an error message saying "NoMethodError occurred while running script. undefined method 'disable' for nil:NilClass"
How do I fix this?
|
|
|
|
|
|
|
|
|
Jun 8 2008, 11:28 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
QUOTE (Dann Woolf @ Jun 7 2008, 04:15 PM)  Sorry for bumping such an old topic but I have a problem.
When trying to use $skew_escape.disable ingame, I get an error message saying "NoMethodError occurred while running script. undefined method 'disable' for nil:NilClass"
How do I fix this? So, how DO I fix this?
This post has been edited by Dann Woolf: Jun 8 2008, 12:09 PM
|
|
|
|
|
|
|
|
Guest_From_Ariel_*
|
Jun 9 2008, 01:38 AM
|
Guests

|
So basically this lets you escape from a dungeon using escape.....
Also I can teleport from city to city that you've been to previously?
if lockhearts right this script would be perfect so long as it can be modified like upon entering a city for the first time can you make an event call to add that city to the list?
if so how?
|
|
|
|
|
|
|
|
|
Jun 9 2008, 02:56 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
Y'know, I still have a problem...
|
|
|
|
|
|
|
|
|
Jun 9 2008, 08:22 AM
|
Level 7

Group: Member
Posts: 91
Type: Developer
RM Skill: Skilled

|
Oh, geez, sorry guys, I haven't looked at it yet. Um, I promised I'll get right into it as soon as I have time. Work's been piling up lately and with another (yes, that's another one) team member resigning, stuff will fall on me more than it used to.
If anyone would like to cut in and investigate the problems, I'll be glad to share credit for the script. But for the moment, I'm booked.
Cheers, SQ
__________________________
Current Skills: Writing(Str) Lv. 4, Writing(Evt) Lv. 4, Scripting Lv. 3, Mapping Lv. 1, Spriting Lv. 0, Composing Lv. 0 Currently expanding: Scripting QUOTE (Arthur C. Clarke) We have to abandon the idea that schooling is something restricted to youth. How can it be, in a world where half the things a man knows at 20 are no longer true at 40 - and half the things he knows at 40 hadn't been discovered when he was 20? (link)
|
|
|
|
|
|
|
|
|
Jun 12 2008, 11:25 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
Bumped.
|
|
|
|
|
|
|
|
|
Jun 17 2008, 03:30 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
Bumped.
|
|
|
|
|
|
|
|
|
Jun 22 2008, 08:47 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
QUOTE (Dann Woolf @ Jun 7 2008, 04:15 PM)  Sorry for bumping such an old topic but I have a problem.
When trying to use $skew_escape.disable ingame, I get an error message saying "NoMethodError occurred while running script. undefined method 'disable' for nil:NilClass"
How do I fix this?
|
|
|
|
|
|
|
|
|
Jun 23 2008, 07:36 AM
|
Level 2

Group: Member
Posts: 25
Type: None
RM Skill: Undisclosed

|
ERROR! " Scrip 'Skew's Teleport System' line 318: EOFError occurred. End of file reached. " Line 318: $skew_tele = Marshal.load(file)
What's the problem?
|
|
|
|
|
|
|
|
|
Jun 24 2008, 11:19 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
Me and Mech-Ah need help, y'know.
|
|
|
|
|
|
|
|
|
Jun 26 2008, 02:48 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
I think it's time to Beat Up Mary Poppins again.
|
|
|
|
|
|
|
|
|
Jun 26 2008, 03:03 AM
|

Because Tomorrow Will Surely Come...

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled

|
@ Dann Woolf : read : QUOTE Oh, geez, sorry guys, I haven't looked at it yet. Um, I promised I'll get right into it as soon as I have time. Work's been piling up lately and with another (yes, that's another one) team member resigning, stuff will fall on me more than it used to.
If anyone would like to cut in and investigate the problems, I'll be glad to share credit for the script. But for the moment, I'm booked.
Cheers, SQ If he got time,he'll answer, if you continue bumping this thread, I'm gonna close this topic & you will be warned. Right now you're just being selfish.
__________________________
|
|
|
|
|
|
|
|
|
Jun 26 2008, 06:00 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
QUOTE (puppeto4 @ Jun 26 2008, 12:17 PM)  @ Dann Woolf : read : QUOTE Oh, geez, sorry guys, I haven't looked at it yet. Um, I promised I'll get right into it as soon as I have time. Work's been piling up lately and with another (yes, that's another one) team member resigning, stuff will fall on me more than it used to.
If anyone would like to cut in and investigate the problems, I'll be glad to share credit for the script. But for the moment, I'm booked.
Cheers, SQ If he got time,he'll answer, if you continue bumping this thread, I'm gonna close this topic & you will be warned. Right now you're just being selfish. First of all: storymasterq may not have much time, but neither do I. I'd like to get the help I need ASAP, whether it's from storymasterq or someone else. Until I GET that help I'll be making sure this stays on the front page. Second: I'm selfish because I need help? What the fuck, man?
|
|
|
|
|
|
|
|
|
Jun 26 2008, 06:46 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
I thought I was allowed to bump it every couple of days.
And if I didn't bump it it would fall off the front page, severely hurting my chances of actually getting the help I've been waiting for.
|
|
|
|
|
|
|
|
|
Jun 29 2008, 03:26 AM
|
Level 9

Group: Revolutionary
Posts: 140
Type: None
RM Skill: Beginner

|
QUOTE (Dann Woolf @ Jun 7 2008, 04:15 PM)  Sorry for bumping such an old topic but I have a problem.
When trying to use $skew_escape.disable ingame, I get an error message saying "NoMethodError occurred while running script. undefined method 'disable' for nil:NilClass"
How do I fix this? I will keep bumping until this problem has been solved, either by storymasterq himself or someone else.
|
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|