Author Topic: How can I make a terminal teleporter?  (Read 1045 times)

VeeC7

  • Captain
  • *****
  • Posts: 206
  • VVVVVVCrewmate7 -> VeeC7
    • View Profile
    • My YouTube Account (Domino videos)
How can I make a terminal teleporter?
« on: August 25, 2015, 02:00:19 pm »
I want to know how to make a terminal teleporter! I have seen them in Back to VVVVVV and Dimension Open!
 :viridian:

shape worrior t

  • Professor
  • ****
  • Posts: 141
  • Fan of Nintendo, VVVVVV, and other things.
    • View Profile
Re: How can I make a terminal teleporter?
« Reply #1 on: August 25, 2015, 06:51:16 pm »

Quote
say(-1)
text(1,0,0,4)
say(5)
flash(5)
playef(9)
shake(20)
delay(30)
text(1,0,0,4)
say(5)
flash(5)
playef(9)
shake(20)
delay(30)
text(1,0,0,4)
say(5)
flash(5)
playef(10)
hideplayer()
delay(30)
text(1,0,0,4)
say(3)
gotoroom(x,y)
gotoposition(x,y)
text(1,0,0,4)
say(4)
delay(30)
flash(5)
playef(9)
text(1,0,0,4)
say(5)
shake(20)
delay(30)
flash(5)
playef(9)
text(1,0,0,4)
say(5)
shake(20)
delay(30)
flash(5)
playef(10)
text(1,0,0,4)
say(4)
showplayer()
endcutscene()
untilbars()
loadscript(stop)
Copied from the Internal Scripting thread, and modified to include a gotoposition.
The coordinates for gotoroom are the coordinates of your desired room, minus one for both the x axis and the y axis. For example, gotoroom(0,0) sends you to room (1,1).
If you don't want the terminal sound, then add a squeak(off) before the say(-1) and change all instances of text(1,0,0,4) to text(1,0,0,3). Also, adding a squeak(on) is probably a good idea if you turned squeaking off. Do that by changing the first say(5) into say(6), creating an extra line, then adding squeak(on) to that line. However, that breaks 2.0 compatibility. Not that I've seen anyone use 2.0 ever since 2015. In fact, I haven't seen any 2.0 users since I joined.
If you want to not have cutscene bars, then do this:
script_one:
flag(x,on)
ifflag(x,scipt_two)

Or alternatively:
iftrinkets(0,script_two)
script_two is like this:
say(5)
flash(5)
playef(9)
shake(20)
delay(30)
text(1,0,0,4)
say(5)
flash(5)
playef(9)
shake(20)
delay(30)
text(1,0,0,4)
say(5)
flash(5)
playef(10)
hideplayer()
delay(30)
text(1,0,0,4)
say(3)
gotoroom(x,y)
gotoposition(x,y)
text(1,0,0,4)
say(4)
delay(30)
flash(5)
playef(9)
text(1,0,0,4)
say(5)
shake(20)
delay(30)
flash(5)
playef(9)
text(1,0,0,4)
say(5)
shake(20)
delay(30)
flash(5)
playef(10)
text(1,0,0,4)
say(2)
showplayer
loadscript(stop)
text(1,0,0,4)
(empty line)

I hope that helped, and didn't confuse you too much. :P