Author Topic: [VX] Teleportation  (Read 17894 times)

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
[VX] Teleportation
« on: January 31, 2009, 05:01:24 PM »
Teleportation
Authors: shdwlink1993
Version: 1.1
Type: Game Addon
Key Term: Movement Add-on

Introduction

You guys remember RPG Maker 2003, right? I didn't think so. :^_^': There was an event command in RM2k3 called "Manage Teleport Locations" (or something to that effect). Using this allowed you to add and remove locations from a list. A skill called Teleport allowed you to go to any of these locations. This script is my variation of this functionality.


Features

  • Easy control of teleportable locations.
  • Automatic duplicate control.
  • Backup and restore the list of locations.
  • Scene made that allows for easy player selection.
  • Temporarily disable and enable different locations.

Screenshots

None, really. The Teleport Menu isn't really shiny enough to need it's own screen.

Demo

See here.

Script

(click to show/hide)

Instructions

Read the script for this.

Compatibility

Should be compatible with just about everything.

Credits and Thanks

  • Shdwlink1993 for making the script.

Author's Notes

One little thing that might be new to some of you is that you need to change the scene to view the Teleport Menu. To do this, use the script( call) '$scene = Scene_Teleport.new'.
« Last Edit: February 21, 2009, 12:42:01 PM by shdwlink1993 »
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [VX] Teleportation
« Reply #1 on: January 31, 2009, 05:29:23 PM »
demo please

and isn't teleport like transfer?

Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [VX] Teleportation
« Reply #2 on: January 31, 2009, 06:06:12 PM »
Yea I was going to say the same thing... teleport and transfer are the same, choose the map and location on that map then when the event is active the player transfers/teleports to that map... So what's the point of this script again? Also you say this function was removed from rmxp and you made it for vx :O.o:

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #3 on: January 31, 2009, 06:46:53 PM »
For clarification purposes:

Transfer Player is an event command that automatically moves the player to a predesignated or varying location.

Using this script, you can Add a Location, which saves a location in a list. Using said list, the player can automatically transfer themselves to that place whenever they want to. It makes moving around much easier in most games (an example being to move between two different towns via the menu, as opposed to moving their by leaving one city, walking through the map, and entering the other).

Demo coming momentarily.
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [VX] Teleportation
« Reply #4 on: January 31, 2009, 07:06:16 PM »
Oh I get it :) It's a nice script now tha I know WTF it is :haha:

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [VX] Teleportation
« Reply #5 on: January 31, 2009, 10:39:32 PM »
I think Blizzard uses something like this in his game...

I "think" (I don't remember) it's only available from the world map, but it lets you return to any place you have previously been simply by selecting it from a pop up menu...

If this is similar to that, then this is a cool script =)

I will wait for the DEMO.

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #6 on: February 01, 2009, 04:52:13 AM »
I think Blizzard uses something like this in his game...

I "think" (I don't remember) it's only available from the world map, but it lets you return to any place you have previously been simply by selecting it from a pop up menu...

If this is similar to that, then this is a cool script =)

I will wait for the DEMO.

Indeed. Chaos Project does use a similar feature. The only major difference is that teleporting costs some HP and SP. Also, the demo is up.
and was a few hours before your post.
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [VX] Teleportation
« Reply #7 on: February 01, 2009, 04:55:21 AM »
Ahh!!
Kudos...

This is a nice script.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [VX] Teleportation
« Reply #8 on: February 01, 2009, 11:07:32 AM »
Mind if I try to convert it to xp? Add ons are giving me  a maor headache right now. This would be really neat for my Star Wars game when selecting levels/planets

Offline Reno-s--Joker

  • Astral Trancist
  • *****
  • Posts: 674
  • LV: 34
  • Gender: Female
  • Zombie account.
    • View Profile
    • My DeviantART
Re: [VX] Teleportation
« Reply #9 on: February 01, 2009, 01:05:24 PM »
Oh looovvvve.... <3333 I do remember this feature. :haha:
I would like this for XP. :D Although I never knew why XP and VX were different. :|

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20015
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [VX] Teleportation
« Reply #10 on: February 01, 2009, 09:11:15 PM »
Indeed. Chaos Project does use a similar feature. The only major difference is that teleporting costs some HP and SP.

33% of the current HP and 50% of the max SP/MP. Also, it doesn't cost anything after you get the Teleporter device... <_<;
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [VX] Teleportation
« Reply #11 on: February 01, 2009, 09:13:22 PM »
I like the way that Blizz's only lets you return to places you have already been. Is that how this teleport script is handled??

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #12 on: February 01, 2009, 10:01:14 PM »
@game_guy: I was about to do the same thing... :^_^':

@reno: The reason XP and VX are so different is because they use resources much differently. Scripts especially, because all the scripts have been changed, so most of them have to be altered to work for the other one. That's why there isn't a Blizz-ABS VX version yet.

@Calintz: It depends on when you add the location. If you felt generous, you could add all the locations at the beginning of the game, but that would be pretty useless and make your game much easier. :<_<: Usually you don't want to add a location until you've gotten there.
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [VX] Teleportation
« Reply #13 on: February 01, 2009, 10:26:21 PM »
Very nice, so what syntax is used to add locations?

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #14 on: February 01, 2009, 10:30:34 PM »
Quote
$game_player.add_location(name, map, x, y, face, description)
  Adds a location to the list of teleportable locations. You cannot add a location if it's name is already in use (limit duplicates). Face refers to the direction the player will be facing. If you don't know, look at a number pad. 2 is down, 4 left, etc.
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [VX] Teleportation
« Reply #15 on: February 01, 2009, 10:46:55 PM »
So can I convert it to XP?

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [VX] Teleportation
« Reply #16 on: February 01, 2009, 11:05:37 PM »
Very nice =)

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #17 on: February 01, 2009, 11:16:03 PM »
@game_guy: Sorry... I just did :^_^':
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [VX] Teleportation
« Reply #18 on: February 06, 2009, 08:43:46 AM »
Updated to version 1.1 (Correctly, I might add. I renumbered the last version to the correct number of 1.01b. This is the REAL 1.1.)! :D

Now you can disable and enable individual teleports.
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."